Model Context Protocol Server
🚀 MCP サーバーを使用した Agentic RAG 
✨ 概要

Agentic RAG with MCP Server は、 Agentic RAG (Retrieval-Augmented Generation) アプリケーションを構築するために MCP (Model Context Protocol) サーバーとクライアントを統合する強力なプロジェクトです。
このセットアップにより、次のような高度なツールが RAG システムに導入されます。
🕵️♂️エンティティ抽出
🔍クエリの絞り込み
✅関連性チェック
サーバーはこれらのインテリジェント ツールをホストし、クライアントはそれらをシームレスに接続して活用する方法を示します。
Related MCP server: MCP-RAGNAR
🖥️ サーバー — server.py
mcpライブラリのFastMCPクラスを活用したこのサーバーは、次のような便利なツールを公開します。
ツール名 | 説明 | アイコン |
| 現在の日付と時刻を返します | ⏰ |
| OpenAIを使用してクエリからエンティティを抽出し、ドキュメント検索の関連性を高めます。 | 🧠 |
| OpenAIを活用した改良によりユーザークエリの品質を向上 | ✨ |
| LLMでチャンクの関連性をチェックして無関係なコンテンツを除外します | ✅ |
🤝 クライアント — mcp-client.py
クライアントは、MCP サーバーに接続して対話する方法を示します。
mcpライブラリからClientSessionとの接続を確立する利用可能なすべてのサーバーツールを一覧表示する
カスタム引数で任意のツールを呼び出す
OpenAI または Geminiと MCP ツールを連携して活用してクエリを処理する
⚙️ 要件
Python 3.9以上
openaiPythonパッケージmcpライブラリ環境変数管理のための
python-dotenv
🛠️ インストールガイド
# Step 1: Clone the repository
git clone https://github.com/ashishpatel26/Agentic-RAG-with-MCP-Server.git
# Step 2: Navigate into the project directory
cd Agentic-RAG-with-MCP-Serve
# Step 3: Install dependencies
pip install -r requirements.txt🔐 構成
.envファイルを作成する (.env.sampleをテンプレートとして使用).envで OpenAI モデルを設定します。
OPENAI_MODEL_NAME="your-model-name-here"
GEMINI_API_KEY="your-model-name-here"🚀 使い方
MCP サーバーを起動します。
python server.pyMCP クライアントを実行します。
python mcp-client.py📜 ライセンス
このプロジェクトはMIT ライセンスに基づいてライセンスされています。
読んでくれてありがとう🙏
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn intelligent codebase processing server that provides agentic RAG capabilities for code repositories, enabling semantic search and contextual understanding through self-evaluating retrieval loops.2MIT
- AlicenseNot gradedqualityDmaintenanceA local RAG server that enables document indexing and sentence window retrieval across multiple file formats like PDF, MD, and DOCX. It supports both local Hugging Face models and OpenAI embeddings for efficient context-aware querying through the Model Context Protocol.GPL 3.0
- FlicenseNot gradedqualityDmaintenanceThe MCP server provides tools for entity extraction, query refinement, and relevance checking to enhance RAG applications by integrating with OpenAI and Gemini.
- AlicenseNot gradedqualityCmaintenanceRAGX MCP Server enables retrieval-augmented generation with document ingestion, hybrid search, and agentic answering using Claude, exposing tools for querying, searching, and managing documents.2MIT
Related MCP Connectors
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
Bounded tools for rendering, extraction, RAG, enrichment, local discovery and review analysis.
Governed, auditable knowledge your team curates for its AI assistants, self-hostable
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ashishpatel26/Agentic-RAG-with-MCP-Server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server