MCP.so
ログイン

PDF Search for Zed MCP Server

@freespirit

基本情報

カテゴリ

ファイルとストレージ

トランスポート

stdio

作者

freespirit

PDF Search for Zed MCP Server について

An MCP server extension for Zed that retrieves relevant pieces from a PDF file

PDF Search for Zed MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "pdfsearch-zed": {
      "command": "uv",
      "args": [
        "venv"
      ]
    }
  }
}

PDF Search for Zed MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is PDF Search for Zed?

PDF Search for Zed is a document search extension for the Zed editor that enables semantic search through PDF documents. It integrates with Zed’s AI Assistant, allowing users to query PDF content and add relevant sections directly to the assistant’s context. The extension is built on a Python-based MCP (Model Context Protocol) server and currently requires an OpenAI API key for generating embeddings and uv for managing the Python environment.

How to use PDF Search for Zed?

Clone the repository, set up the Python virtual environment with uv venv and uv sync, then build the search database by running uv run src/pdf_rag/rag.py build "file1.pdf" "dir1" .... Configure Zed’s context_servers in its settings to point to the extension path. In Zed’s AI Assistant panel, type /pdfsearch <query> to search and add results to the assistant’s context.

Key features of PDF Search for Zed

  • Semantic search across PDF documents
  • Integrates results directly into Zed’s AI Assistant
  • Support for multiple PDFs and directories
  • Optional support for additional file formats beyond PDF
  • Self-contained vector store (already implemented)
  • Manual index building before first use

Use cases of PDF Search for Zed

  • Querying a collection of PDF research papers from within Zed’s AI Assistant
  • Searching through software manuals or technical documentation embedded in PDFs
  • Building a searchable knowledge base from local PDF files for coding assistance
  • Extracting relevant sections from legal or compliance documents during editing

よくある質問

1

What are the prerequisites for using PDF Search for Zed?

You need an OpenAI API key to generate embeddings and `uv` installed on your system. The extension also requires cloning the repository and manually building the search index.

2

How do I build the search index?

Run `uv run src/pdf_rag/rag.py build` with one or more PDF files or directories as arguments. Indexing may take a few minutes depending on document size.

3

Can I search multiple PDFs at once?

Yes. You can provide multiple file paths and directories as arguments when building the index. The extension will search across all indexed documents.

4

Does PDF Search for Zed work offline?

No, it currently requires an internet connection and an OpenAI API key because embeddings are generated via OpenAI’s API. Future versions plan to support self-contained embeddings.

5

Is the vector store self-contained?

Yes, the vector store is self-contained and has already been implemented. However, manual index building is still required before first use.

コメント

「ファイルとストレージ」の他のコンテンツ