RAG MCP 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., "@RAG MCP ServerWhat is the refund policy?"
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.
RAG MCP Server
A FastMCP server that exposes a Retrieval-Augmented Generation (RAG) pipeline as MCP tools — so any MCP-compatible client (Claude, IDEs, agent frameworks) can index documents and answer questions over them through a standard protocol.
Stack
MCP framework: FastMCP
RAG orchestration: LlamaIndex
Vector store: Qdrant
Embeddings + LLM: NVIDIA NIM (
nv-embedqa-e5-v5,llama-3.1-8b-instruct)
Related MCP server: RAG MCP Server
How it works
Document ──▶ chunk (SentenceSplitter) ──▶ embed (NVIDIA) ──▶ upsert ──▶ Qdrant
│
User question ──▶ embed ──▶ similarity search ─────────────────────────────┘
│
▼
top-k chunks ──▶ LLM synthesis ──▶ answerThe server keeps an in-memory reference to the last-built index so repeated queries don't require re-embedding, while still supporting a fresh load from Qdrant if the process restarts.
Tools
Tool | Description |
| Loads a document, chunks it, embeds it, and upserts it into Qdrant. |
| Retrieves the most relevant chunks and synthesizes an answer via the LLM. |
Setup
Clone the repo and install dependencies:
git clone https://github.com/arbaz-builds/rag-mcp-server.git cd rag-mcp-server pip install -r requirements.txtCopy
.env.exampleto.envand fill in your credentials:cp .env.example .envRun the server:
python main.py
The server starts over HTTP transport on 0.0.0.0:$PORT (default 8000) — ready to deploy on Render, Railway, or any container platform.
Example usage (via an MCP client)
> index_document("./handbook.pdf")
Indexed './handbook.pdf' successfully (42 chunks).
> query_documents("What is the refund policy?")
Refunds are processed within 5–7 business days for requests made within 30 days of purchase.Environment Variables
Variable | Required | Description |
| Yes | API key for NVIDIA embeddings + LLM |
| Yes | Qdrant cluster URL |
| Yes | Qdrant API key |
| Yes | Collection name in Qdrant — must match an existing collection, no default is applied |
| No (default: | HTTP server port |
Deployment
Deployed with HTTP transport (host=0.0.0.0), making it compatible out of the box with Render, Railway, and other container-based hosts that inject a PORT environment variable.
License
MIT
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
- FlicenseCqualityCmaintenanceProvides RAG tools with local vector retrieval and web fallback using Firecrawl, enabling document ingestion and querying through MCP stdio transport.Last updated3
- Flicense-qualityCmaintenanceIndexes PDF documents into Qdrant and exposes semantic search as MCP tools, enabling RAG-based interactions with your documents.Last updated
- Alicense-qualityBmaintenanceExposes RAG and document intelligence pipelines as 8 composable tools for MCP-compatible clients, enabling querying, indexing, classifying, extracting, and assessing documents.Last updated1MIT
- Flicense-qualityBmaintenanceLocal MCP server that provides a search_documents tool to query a RAG pipeline built with Ollama embeddings and ChromaDB, enabling Claude Desktop to retrieve relevant document chunks.Last updated
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.
MCP server exposing the Backtest360 engine API as tools for AI agents.
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/arbaz-builds/rag-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server