About Project Rag MCP
Project Rag MCP is an MCP server in the RAG category.
Install
git clone https://github.com/sandippaul2018/Project_Rag_McpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Project Rag MCP
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
RAG + MCP Demo Project
A demonstration project combining RAG (Retrieval-Augmented Generation) with MCP (Model Context Protocol) for building AI agents with local synthetic data.
Project Structure
Project_Rag_Mcp/
├── venv/ # Virtual environment (created below)
├── data_generator.py # Synthetic data generation script
├── requirements.txt # Python dependencies
└── synthetic_data.json # Generated data (created after running generator)
Setup Instructions
1. Create and Activate Virtual Environment
PowerShell:
# Create virtual environment
python -m venv venv
# Activate virtual environment
.\.venv\Scripts\Activate.ps1
If you get an execution policy error, run:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process
.\.venv\Scripts\Activate.ps1
2. Install Dependencies
After activating the venv:
pip install --upgrade pip
pip install faker mcp
Or install from requirements file:
pip install -r requirements.txt
3. Generate Synthetic Data
Run the data generator:
python data_generator.py
Output:
- Creates
synthetic_data.jsonwith:- 20 documents (for RAG retrieval)
- 10 user profiles
- 10 search queries
Quick Command Reference
| Task | Command |
|---|---|
| Create venv | python -m venv venv |
| Activate venv (PS) | .\.venv\Scripts\Activate.ps1 |
| Activate venv (CMD) | venv\Scripts\activate.bat |
| Install packages | pip install faker mcp |
| Generate data | python data_generator.py |
| Deactivate venv | deactivate |
Next Steps
- Expand
data_generator.pyto include embeddings - Create MCP server for data access
- Build RAG retrieval logic
- Integrate with LLM for generation
Notes
- The
fakerlibrary generates realistic but random data - All generated data is local and can be regenerated anytime
mcplibrary provides the Model Context Protocol server framework
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.