Skip to main content
Glama
ashishpatel26

Model Context Protocol Server

🚀 MCP サーバーを使用した Agentic RAG Agentic-RAG-MCPServer - AgenticRag


✨ 概要

Agentic RAG with MCP Server は、 Agentic RAG (Retrieval-Augmented Generation) アプリケーションを構築するために MCP (Model Context Protocol) サーバーとクライアントを統合する強力なプロジェクトです。

このセットアップにより、次のような高度なツールが RAG システムに導入されます。

  • 🕵️‍♂️エンティティ抽出

  • 🔍クエリの絞り込み

  • 関連性チェック

サーバーはこれらのインテリジェント ツールをホストし、クライアントはそれらをシームレスに接続して活用する方法を示します。


Related MCP server: MCP-RAGNAR

🖥️ サーバー — server.py

mcpライブラリのFastMCPクラスを活用したこのサーバーは、次のような便利なツールを公開します。

ツール名

説明

アイコン

get_time_with_prefix

現在の日付と時刻を返します

extract_entities_tool

OpenAIを使用してクエリからエンティティを抽出し、ドキュメント検索の関連性を高めます。

🧠

refine_query_tool

OpenAIを活用した改良によりユーザークエリの品質を向上

check_relevance

LLMでチャンクの関連性をチェックして無関係なコンテンツを除外します


🤝 クライアント — mcp-client.py

クライアントは、MCP サーバーに接続して対話する方法を示します。

  • mcpライブラリからClientSessionとの接続を確立する

  • 利用可能なすべてのサーバーツールを一覧表示する

  • カスタム引数で任意のツールを呼び出す

  • OpenAI または Geminiと MCP ツールを連携して活用してクエリを処理する


⚙️ 要件

  • Python 3.9以上

  • openai Pythonパッケージ

  • 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

🔐 構成

  1. .envファイルを作成する ( .env.sampleをテンプレートとして使用)

  2. .envで OpenAI モデルを設定します。

OPENAI_MODEL_NAME="your-model-name-here"
GEMINI_API_KEY="your-model-name-here"

🚀 使い方

  1. MCP サーバーを起動します。

python server.py
  1. MCP クライアントを実行します。

python mcp-client.py

📜 ライセンス

このプロジェクトはMIT ライセンスに基づいてライセンスされています。


読んでくれてありがとう🙏

F
license - not found
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    Not graded
    quality
    D
    maintenance
    An intelligent codebase processing server that provides agentic RAG capabilities for code repositories, enabling semantic search and contextual understanding through self-evaluating retrieval loops.
    2
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A 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
  • A
    license
    Not graded
    quality
    C
    maintenance
    RAGX MCP Server enables retrieval-augmented generation with document ingestion, hybrid search, and agentic answering using Claude, exposing tools for querying, searching, and managing documents.
    2
    MIT

View all related MCP servers

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

View all MCP Connectors

Latest Blog Posts

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