Skip to main content
Glama
Bisma474

RAG Config Generator MCP

by Bisma474

RAG Config Generator MCP

Ein MCP-Server (Model Context Protocol), der RAG-Pipeline-Konfigurationen (Retrieval-Augmented Generation) basierend auf natürlichsprachlichen Beschreibungen generiert.

Live-Demo

Related MCP server: Pipelex MCP Server

Funktionen

  • Vollständige Konfiguration generieren: Beschreiben Sie Ihren RAG-Anwendungsfall in natürlicher Sprache

  • Chunking-Strategie: Erhalten Sie Chunking-Empfehlungen basierend auf dem Dokumenttyp

  • Embeddings: Erhalten Sie Empfehlungen für Embedding-Modelle basierend auf Anwendungsfall und Budget

  • Vektor-Store: Erhalten Sie Empfehlungen für Vektor-Stores basierend auf Datengröße und Latenz

API-Endpunkte

Endpunkt

Beschreibung

GET /

Serverinformationen

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

Vollständige RAG-Konfiguration generieren

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

Chunking-Empfehlungen

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

Empfehlungen für Embeddings

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

Empfehlungen für Vektor-Stores

Installation

pip install -r requirements.txt

Verwendung

Gradio-Benutzeroberfläche ausführen

python app.py

Öffnet unter http://localhost:7860

MCP-Server ausführen

python server.py

Der MCP-Server ist unter http://localhost:8000/mcp verfügbar

Projektstruktur

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

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

Lizenz

MIT

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    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.
    9 npm
    6
    Academic Free v1.1
  • A
    license
    Not graded
    quality
    C
    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