Skip to main content
Glama
RAG Config Generator MCP

RAG Config Generator MCP

by Bisma474

RAG Config Generator MCP

An MCP (Model Context Protocol) server that generates RAG (Retrieval-Augmented Generation) pipeline configurations based on natural language descriptions.

Live Demo

Related MCP server: RAG Factory

Features

  • Generate Full Config: Describe your RAG use case in natural language

  • Chunking Strategy: Get chunking recommendations based on document type

  • Embeddings: Get embedding model recommendations based on use case and budget

  • Vector Store: Get vector store recommendations based on data size and latency

API Endpoints

Endpoint

Description

GET /

Server info

GET /generate-rag-config?description=...

Generate full RAG config

GET /suggest-chunking?doc_type=...&doc_size=...

Chunking recommendations

GET /suggest-embeddings?use_case=...&budget=...

Embedding recommendations

GET /suggest-vector-store?data_size=...&latency=...

Vector store recommendations

Installation

pip install -r requirements.txt

Usage

Run Gradio UI

python app.py

Opens at http://localhost:7860

Run MCP Server

python server.py

The MCP server will be available at http://localhost:8000/mcp

Project Structure

mcp/
├── server.py           # FastAPI + MCP server
├── rag_configs.py      # RAG config templates and logic
├── app.py              # Gradio UI
├── api/
│   └── index.py        # Vercel serverless function
├── requirements.txt    # Python dependencies
├── vercel.json         # Vercel configuration
└── README.md           # Documentation

Tech Stack

  • Backend: Python, FastAPI, FastAPI-MCP

  • Frontend: Gradio, HTML/CSS/JS

  • Deployment: Vercel (API), Hugging Face Spaces (UI)

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Creates deterministic, auditable vector databases from any content source with deployable RAG applications. Supports multiple embedding providers and vector databases with fine-grained pipeline control or project-based workflows.
      8 npm
      6
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Automated RAG pipeline optimization and serving. It interviews users, builds and evaluates candidate configurations on their data, and registers the best ones as a fleet queryable via MCP.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables users to build and manage a complete retrieval-augmented generation pipeline through conversation, including file ingestion, collection management, hybrid search, reranking, citations, and a guided setup wizard.
      33
      Apache 2.0
    • F
      license
      A
      quality
      C
      maintenance
      Enables Claude to inspect, configure, run, and modify individual RAG/agent pipeline stages (retrieve, rerank, generate, eval) as structured typed tool calls, and execute the full pipeline end to end.
      5
      -