Agentic RAG MCP Server

Agentic RAG MCP Server

mcp-agentic-rag•byrukshannet

An MCP server exposing RAG-enhancement tools such as entity extraction, query refinement, and relevance checking, with a demonstration client.

License: MIT•Runtime: Awaiting documentation review•Category: ai agents-models

WHAT IT DOES

  • •Extracts entities from a text query using OpenAI to identify key entities that can improve document retrieval.
  • •Refines a text query using OpenAI to improve query quality and retrieval results.
  • •Checks the relevance of a text chunk to a question using an LLM to filter out irrelevant retrieved documents.
  • •Returns the current date and time with a prefix.

BEST FOR

  • •Developers building agentic RAG pipelines who want query refinement and entity extraction as callable tools.
  • •Filtering retrieval results by judging whether each text chunk is relevant to the user's question.

ABOUT MCP-AGENTIC-RAG

Agentic RAG MCP Server is cataloged as an MCP server attributed to rukshannet. An MCP server exposing RAG-enhancement tools such as entity extraction, query refinement, and relevance checking, with a demonstration client. It is categorized under ai agents-models. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Agentic RAG MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What tools does the server expose?

It exposes get_time_with_prefix, extract_entities_tool, refine_query_tool, and check_relevance.

Does the repository include a client for the server?

Yes, it includes a client that demonstrates connecting to the server, listing tools, calling a tool with arguments, and processing a query using OpenAI and available MCP tools.

上游原版 README

在 GitHub 查看同一版本原文

README.md · a4a4e0926df8 · 采集于 2026-11-13 10:37:31 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

mcp-agentic-rag

Overview

This project implements an MCP (Model Context Protocol) server and client for building agentic RAG (Retrieval-Augmented Generation) applications. The server provides a set of tools that can be used to enhance the performance of RAG systems, such as entity extraction, query refinement, and relevance checking. The client demonstrates how to connect to the server and use its tools.

Server (server.py)

The server is implemented using the FastMCP class from the mcp library. It exposes the following tools:

  • get_time_with_prefix: Returns the current date and time.
  • extract_entities_tool: Extracts entities from a given text query using OpenAI. This tool can be used to identify key entities in a user's query, which can then be used to improve the retrieval of relevant documents.
  • refine_query_tool: Refines a given text query using OpenAI. This tool can be used to improve the quality of a user's query, which can then be used to improve the retrieval of relevant documents.
  • check_relevance: Checks the relevance of a text chunk to a given question using an LLM. This tool can be used to filter out irrelevant documents from the retrieval results.

Client (mcp-client.py)

The client demonstrates how to connect to the MCP server and use its tools. It uses the ClientSession class from the mcp library to establish a connection with the server. The client provides examples of how to:

  • Connect to the server
  • List available tools
  • Call a specific tool with arguments
  • Process a query using OpenAI and available MCP tools

Requirements

  • Python 3.7+
  • openai
  • mcp
  • dotenv

Installation

  1. Clone the repository:

    git clone https://github.com/rukshanet/mcp-agentic-rag.git
    
  2. Install the dependencies:

    pip install -r requirements.txt
    
  3. Configure the environment variables:

    • Create a .env file based on the .env.sample file.
    • Set the OPENAI_MODEL_NAME environment variable to the name of the OpenAI model you want to use.

Usage

  1. Start the MCP server:

    python server.py
    
  2. Run the MCP client:

    python mcp-client.py
    

License

MIT

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Agentic RAG MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-agentic-rag)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related ai agents-models MCP Servers

Alternative and complementary servers in the same category

View all in ai agents-models →
Knowledge Graph Memory
@modelcontextprotocol/server-memory•Model Context Protocol

Store and retrieve entities, relations and observations in a persistent local knowledge graph.

create_entitiescreate_relationsadd_observations+6 more
92K
AI & Multi-Agent
Sequential Thinking
@modelcontextprotocol/server-sequential-thinking•Model Context Protocol

Organize problem solving into revisable, branching thought steps through an MCP tool.

sequential_thinking
92K
AI & Multi-Agent

Query-aware context compression with an MCP plugin for coding agents, plus Python and HTTP interfaces for reducing the context sent to a language model.

146
AI & Multi-Agent