Semantically search PDFs in Zed using AI-powered extensions with future enhancements for self-contained embedding storage
PDF Search for Zed is an advanced document search extension that integrates seamlessly into the Zed editor, allowing users to semantically search through PDF documents and utilize these results within Zed's AI Assistant. As a Model Context Protocol (MCP) server, it bridges the gap between the cutting-edge AI capabilities of applications like Claude Desktop, Continue, Cursor, and other MCP clients by providing them access to rich, searchable document data.
The primary benefit of this integration is the ability for AI assistants to understand and utilize information from PDF documents, enabling more context-aware interactions. This makes it an invaluable tool for professionals who work with a lot of textual data in PDF format.
PDF Search for Zed MCP Server offers several key features that enhance its compatibility and usability within the broader MCP ecosystem:
The server implements Model Context Protocol (MCP), which includes:
The architecture is designed with the following components:
graph TD
A[AI Application] -->|MCP Client| B[MCP Protocol]
B --> C[MCP Server]
C --> D[Data Source/Tool]
style A fill:#e1f5fe
style C fill:#f3e5f5
style D fill:#e8f5e8
graph TD
.style "font-size: 10px"
A[Data Storage] --> B[Indexing Service]
B --> C[Vectors Store]
C --> D[Query API]
style A fill:#e8f5e8
style B fill:#f3e5f5
style C fill:#f3e5f5
style D fill:#e1f5fe
Initiating the installation and setup process for PDF Search for Zed involves several steps:
git clone https://github.com/freespirit/pdfsearch-zed.git
cd pdfsearch-zed/pdf_rag
uv venv
uv sync
cd /path/to/pdfsearch-zed/pdf_rag
echo "OPENAI_API_KEY=sk-..." > src/pdf_rag/.env
uv run src/pdf_rag/rag.py build "file1.pdf" "dir1" "file2.md" ...
context_servers
section in Zed's settings.
{
"context_servers": {
"pdfsearch-context-server": {
"settings": {
"extension_path": "/path/to/pdfsearch-zed"
}
}
}
}
Legal professionals often deal with voluminous text documents that need to be quickly referenced during client consultations or case preparation. By integrating PDF Search for Zed, AI tools can access and retrieve relevant clauses from legal texts automatically, providing instant context-aware assistance.
Engineers working on complex systems often require quick access to specific sections of detailed manuals. This extension allows them to input search terms directly into their AI assistant panel, retrieving relevant sections from a collection of PDF manuals, reducing the time spent manually searching through documents.
The server is compatible with the following MCP clients:
MCP Client | Resources | Tools | Prompts |
---|---|---|---|
Claude Desktop | ✅ | ✅ | ✅ |
Continue | ✅ | ✅ | ✅ |
Cursor | ❌ | ✅ | ❌ |
{
"mcpServers": {
"[server-name]": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-[name]"],
"env": {
"API_KEY": "your-api-key"
}
}
}
}
Q: How does PDF Search for Zed differ from standard search tools?
Q: Is this server compatible with all AI applications?
Q: Can I use multiple PDFs in one document search database?
Q: How secure is the data processing handled by this extension?
Q: Are there limitations on the types of files besides PDFs that can be indexed?
Contributions are welcome! To contribute to this project:
Explore more about Model Context Protocol on the official website or forums, where you can find discussions and additional resources:
By integrating PDF Search for Zed into your AI workflow, you enhance the capabilities of both the extension and the embedded applications. This guide ensures that even developers unfamiliar with MCP will be able to set up, configure, and benefit from its functionalities.
RuinedFooocus is a local AI image generator and chatbot image server for seamless creative control
Simplify MySQL queries with Java-based MysqlMcpServer for easy standard input-output communication
Learn to set up MCP Airflow Database server for efficient database interactions and querying airflow data
Build stunning one-page websites track engagement create QR codes monetize content easily with Acalytica
Access NASA APIs for space data, images, asteroids, weather, and exoplanets via MCP integration
Explore CoRT MCP server for advanced self-arguing AI with multi-LLM inference and enhanced evaluation methods