MCP-RAG
by kira1228
This is an AI-powered chat system leveraging multiple MCP servers to enhance Claude's capabilities. It intelligently routes queries to appropriate servers like Filesystem, Slack, or Brave Search based on the question.
Last updated: N/A
What is MCP-RAG?
This system is an AI-powered chat application that utilizes the Model Context Protocol (MCP) to connect to multiple specialized servers. These servers allow the AI (Claude) to access and retrieve information from various sources like local files, Slack workspaces, and the internet via Brave Search, enhancing its ability to provide relevant and comprehensive answers.
How to use MCP-RAG?
To use this system, you need to clone the repository, set up API keys in a .env
file, create a virtual environment, install dependencies using uv
, and then run the client with arguments specifying the path to the directory you want to use. Refer to the 'Getting Started' section in the README for detailed instructions.
Key features of MCP-RAG
Connects to multiple MCP servers
Intelligently routes queries to appropriate servers
Enables Claude to access local files, Slack, and Brave Search
Provides real-time web search capabilities
Enhances AI's ability to provide comprehensive answers
Use cases of MCP-RAG
Answering questions based on local documents and files
Retrieving information from Slack conversations and channels
Providing up-to-date information from the web
Creating a more informed and context-aware AI assistant
FAQ from MCP-RAG
What is MCP?
What is MCP?
MCP stands for Model Context Protocol, a client-server architecture that enables host applications to connect with multiple AI servers seamlessly.
What is the purpose of the .env file?
What is the purpose of the .env file?
The .env file stores your API keys for services like Anthropic (Claude), Slack, and Brave Search, allowing the application to authenticate and access these services.
Why do I need to create a virtual environment?
Why do I need to create a virtual environment?
A virtual environment isolates the project's dependencies, preventing conflicts with other Python projects on your system.
What is the role of the client.py script?
What is the role of the client.py script?
The client.py script is the main application that connects to the MCP servers and interacts with the AI model (Claude).
What license is this project under?
What license is this project under?
This project is licensed under the MIT License, allowing you to use, modify, and distribute the software subject to the terms and conditions of the license.