pdfsearch-zed

pdfsearch-zed

2

PDF Search for Zed is a document search extension that allows semantic searches within PDF documents and integrates the results into Zed's AI Assistant. Future improvements aim to reduce dependencies on external services like OpenAI.

PDF Search for Zed

A document search extension for Zed enabling semantic searches through PDF documents, integrating results with Zed's AI Assistant.

Prerequisites

  • An OpenAI API key
  • UV installed on your system

Quick Start

  • Clone the repository
  • Set up the Python environment for the MCP server
  • Install the development extension in Zed
  • Build the search database
  • Configure Zed

Usage

  • Open Zed's AI Assistant panel
  • Use /pdfsearch followed by your query

Future Improvements

  • Self-contained embeddings
  • Automated index building
  • Configurable result size

Project Structure

  • pdf_rag/: Python-based MCP server
  • src/: Zed extension code

Known Limitations

  • Manual index building required
  • Dependency on external services