RAG_MCP
mytechnotalent/RAG_MCPUpdated 25 days ago01

Remote#semantic search#OCR#FAISSLicense: Apache License 2.0Language: Python

RAG_MCP

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.


Step 1: Create virtual env and install requirements

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

Step 2a: Add config to the Claude MCP client

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"
            ]
        }
    }
}

Step 2b: Add config to the Cursor MCP client

code ~/.cursor/mcp.json
...
{
    "mcpServers": {
        "rag": {
            "command": "/Users/XXX/Documents/RAG_MCP/start.sh",
            "args": []
        }
    }
}

Step 5: Make MCP server executable

chmod +x start.sh
chmod +x rag.py

Step 6: Run MCP server (Claude Desktop)

uv run rag.py

Step 7: Run MCP client and query

Parse the pdfs and tell me about 18 Church St. and what significance it has.

License

Apache License, Version 2.0

Installation

Claude
Claude
Cursor
Cursor
Windsurf
Windsurf
Cline
Cline
Witsy
Witsy
Spin AI
Spin AI
Run locally with the following command:
Terminal
Add the following config to your client:
JSON
{
  "mcpServers": {
    "rag": {
      "env": {},
      "args": [
        "--directory",
        "/Users/XXX/Documents/RAG_MCP",
        "run",
        "rag.py"
      ],
      "command": "uv"
    }
  }
}

MCPLink

Seamless access to top MCP servers powering the future of AI integration.

© 2025 MCPLink. All rights reserved.
discordgithubdiscord