MCP RAG Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP RAG ServerWhat is the conclusion of the annual report?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Platform — Retrieval-Augmented Q&A
End-to-end RAG over local PDFs using FAISS, an MCP retrieval server, a FastAPI MCP client, OpenAI, and a small web UI.
Architecture
PDFs in /docs
│
▼
MCP server (:8001/mcp)
- embed + FAISS index (cached under /data/faiss_index)
- tools: ensure_index, search_documents, list_documents, index_status
│ Streamable HTTP (MCP)
▼
FastAPI backend (:8000)
- on boot: ensure_index via MCP
- LangGraph: retrieve → generate (OpenAI)
- HTTP API for the UI
│
▼
Frontend (/)Related MCP server: ragi
Requirements
Python 3.10+ (3.12 recommended; MCP does not support 3.9)
An OpenAI API key
Setup
python -m venv .venv
# Windows
.venv\Scripts\activate
# macOS / Linux
source .venv/bin/activate
pip install -r requirements.txt
copy .env.example .env # or: cp .env.example .envPut your OpenAI key in .env, then generate sample PDFs (optional):
python scripts/make_sample_pdfs.pyDrop any other .pdf files into docs/.
Run
Start the MCP server first:
python -m mcp_server.serverIn a second terminal (venv activated):
python -m backend.mainOpen http://127.0.0.1:8000.
API
Method | Path | Purpose |
|
| Backend + MCP status |
|
| List PDFs |
|
| Rebuild FAISS index |
|
|
|
Notes
Indexing runs automatically on MCP/backend startup when the PDF fingerprint changes; otherwise the on-disk FAISS index is reused.
Answers are grounded in retrieved chunks; the model is instructed to say it does not know when context is insufficient.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceMCP server for document ingestion and semantic search on Qdrant. Enables ingesting local documents, generating embeddings with OpenAI, and performing vector search with metadata filters.Last updatedApache 2.0
- AlicenseAqualityBmaintenanceLocal-first RAG indexing and semantic search MCP server. Enables document retrieval and context-aware queries using local embedding models.Last updated325MIT
- Alicense-qualityDmaintenanceAn MCP server that indexes documents and serves relevant context to LLMs via Retrieval Augmented Generation (RAG).Last updated3736MIT
- FlicenseAqualityCmaintenanceA local RAG MCP server for PDF development experience, enabling document ingestion, semantic search, and Q\&A with source citations using TF-IDF and cosine similarity.Last updated3
Related MCP Connectors
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
Serve a folder of Markdown notes as an MCP server: hybrid search, reading, and sourced answers.
Remote ChromaDB vector database MCP server with streamable HTTP transport
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Sujith29k/MCP-RAG'
If you have feedback or need assistance with the MCP directory API, please join our Discord server