{"repo":"ashishpatel26/Agentic-RAG-with-MCP-Server","free":true,"listed":false,"github":"https://github.com/ashishpatel26/Agentic-RAG-with-MCP-Server","clone":"git clone https://github.com/ashishpatel26/Agentic-RAG-with-MCP-Server.git","description":"Agentic RAG with MCP Server","language":"Python","stars":34,"topics":[],"license":null,"category":"mcp-servers","readme_excerpt":"🚀 Agentic RAG with MCP Server --- ✨ Overview Agentic RAG with MCP Server is a powerful project that brings together an MCP (Model Context Protocol) server and client for building Agentic RAG (Retrieval-Augmented Generation) applications. This setup empowers your RAG system with advanced tools such as: 🕵️‍♂️ Entity Extraction 🔍 Query Refinement ✅ Relevance Checking The server hosts these intelligent tools, while the client shows how to seamlessly connect and utilize them. --- 🖥️ Server — server.py Powered by the FastMCP class from the mcp library, the server exposes these handy tools: Tool Name Description Icon ----------------------- ----------------------------------------------------------------------------------------- ---- get time with prefix Returns the current date & time ⏰ extract entities tool Uses OpenAI to extract entities from a query — enhancing document retrieval relevance 🧠 refine query tool Improves the quality of user queries with OpenAI-powered refinement ✨ check relevance Filters out irrelevant content by checking chunk relevance with an LLM ✅ --- 🤝 Client — mcp-client.py The client demonstrates how to connect and interact with the MCP server: Establish a connection with ClientSession from the mcp library List all available server tools Call any tool with custom arguments Process queries leveraging OpenAI or Gemini and MCP tools in tandem --- ⚙️ Requirements Python 3.9 or higher openai Python package mcp library python-dotenv for environment variable ","default_branch":null,"files":null,"tree":[],"storefront":"/r/ashishpatel26","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ashishpatel26/Agentic-RAG-with-MCP-Server/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}