✨ From vibe coding to vibe deployment. UBOS MCP turns ideas into infra with one message.

Learn more

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

Featured Templates

View More
AI Image Generation
Image Generation with Stable Diffusion
117 1204
AI Characters
Sarcastic AI Chat Bot
129 2037
Customer service
Service ERP
127 1487
AI Assistants
AI Chatbot Starter Kit v0.1
141 1202

Start your free trial

Build your solution today. No credit card required.

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.