A RAG-ready MCP server for semantic PDF search with OCR, FAISS, and transformers—plug into any MCP client and retrieve intelligent answers within your MCP client.
curl -LsSf https://astral.sh/uv/install.sh | sh
uv init rag_mcp
cd rag_mcp
uv venv
source .venv/bin/activate
uv pip install -r requirements.txt
brew install tesseract
code ~/Library/Application\ Support/Claude/claude_desktop_config.json
...
{
"mcpServers": {
"rag": {
"command": "/Users/XXX/.local/bin/uv",
"args": [
"--directory",
"/Users/XXX/Documents/RAG_MCP",
"run",
"rag.py"
]
}
}
}
code ~/.cursor/mcp.json
...
{
"mcpServers": {
"rag": {
"command": "/Users/XXX/Documents/RAG_MCP/start.sh",
"args": []
}
}
}
chmod +x start.sh
chmod +x rag.py
uv run rag.py
Parse the pdfs and tell me about 18 Church St. and what significance it has.
{
"mcpServers": {
"rag": {
"env": {},
"args": [
"--directory",
"/Users/XXX/Documents/RAG_MCP",
"run",
"rag.py"
],
"command": "uv"
}
}
}
Seamless access to top MCP servers powering the future of AI integration.