
Store and retrieve entities, relations and observations in a persistent local knowledge graph.

An MCP server that orchestrates GroundX semantic search, PDF ingestion, and OpenAI-based response generation for a retrieval-augmented generation pipeline.
MCP-RAG: a modular RAG pipeline with an MCP server is cataloged as an MCP server attributed to sujithadr. An MCP server that orchestrates GroundX semantic search, PDF ingestion, and OpenAI-based response generation for a retrieval-augmented generation pipeline. It is categorized under ai agents-models. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP-RAG: a modular RAG pipeline with an MCP server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
The MCP server receives the query, routes it to the Search Tool, which queries GroundX; snippets are rendered via a YAML prompt and OpenAI generates the final response.
It uses GroundX for semantic search, ingestion and vector store operations, and OpenAI GPT-4 for response generation.
README.md · 8e4390a73cff · Fetched 2026-11-13 11:03:40 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
A production-ready Retrieval-Augmented Generation setup
MCP-RAG is a modular, production-grade implementation of a Retrieval-Augmented Generation (RAG) system, powered by:
It allows clean separation of responsibilities across ingestion, search, generation, and tool discovery — making it scalable, flexible, and enterprise-ready.
📌 Developed by Sujith Somanunnithan for teams building AI-driven applications with reusable components.
mcp-rag/
├── server.py # MCP Server initialization
├── config.py # Environment and config management
├── ingestion.py # File ingestion tool logic
├── search.py # Search + LLM generation logic
├── prompts.yaml # Prompt template in Jinja2
├── models.py # Pydantic models for configs
├── .env # API keys (excluded from version control)
├── pyproject.toml # Project config for uv / MCP
├── README.md # This file
🔄 All tools are discoverable and invocable via MCP dynamically.
Create .env with your keys:
OPENAI_API_KEY=your-openai-key
GROUNDEX_API_KEY=your-groundx-key
Install using uv:
uv pip install -r pyproject.toml
Start the server:
mcp dev server.py
Ingest a PDF:
mcp call ingest_documents --args '{"file_path": "data/sample.pdf"}'
Search with a query:
mcp call process_search_query --args '{"query": "What is explained in section 3?"}'
| Role | Component |
|---|---|
| Tool discovery/invoke | MCP Server |
| Search execution | GroundX API |
| Response generation | OpenAI API |
| File upload | Ingest Tool (MCP) |
This project is licensed under the MIT License.
Sujith Somanunnithan
Cloud & AI Architect | sujith.de
Feel free to raise issues, pull requests, or connect with the author for improvements or extensions (like multi-file ingestion, RAG fallback chains, etc).
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP-RAG: a modular RAG pipeline with an MCP server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-rag-sujithadr)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

Store and retrieve entities, relations and observations in a persistent local knowledge graph.

Organize problem solving into revisable, branching thought steps through an MCP tool.

Query-aware context compression with an MCP plugin for coding agents, plus Python and HTTP interfaces for reducing the context sent to a language model.