Skip to main content
Glama
Bisma474

RAG Config Generator MCP

by Bisma474

RAG Config Generator MCP

自然言語の説明に基づいてRAG(Retrieval-Augmented Generation)パイプライン構成を生成するMCP(Model Context Protocol)サーバーです。

ライブデモ

Related MCP server: Pipelex MCP Server

機能

  • 完全な構成を生成: RAGのユースケースを自然言語で記述する

  • チャンキング戦略: ドキュメントタイプに基づくチャンキング推奨を取得

  • 埋め込み: ユースケースと予算に基づく埋め込みモデル推奨を取得

  • ベクターストア: データサイズとレイテンシに基づくベクターストア推奨を取得

APIエンドポイント

エンドポイント

説明

GET /

サーバー情報

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

完全なRAG構成を生成

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

チャンキング推奨

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

埋め込み推奨

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

ベクターストア推奨

インストール

pip install -r requirements.txt

使用方法

Gradio UIを実行

python app.py

http://localhost:7860 で開きます

MCPサーバーを実行

python server.py

MCPサーバーは http://localhost:8000/mcp で利用可能です

プロジェクト構造

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

技術スタック

  • バックエンド: Python、FastAPI、FastAPI-MCP

  • フロントエンド: Gradio、HTML/CSS/JS

  • デプロイ: Vercel(API)、Hugging Face Spaces(UI)

ライセンス

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