
mcp-local-rag
“primitive” RAG-like web search model context protocol (MCP) server that runs locally. no APIs

Installation instructions
- You would need to install
uv
: https://docs.astral.sh/uv/
If you do not want to clone in Step 2.
Just paste this directly into Claude config. You can find the configuration paths here: https://modelcontextprotocol.io/quickstart/user
{
"mcpServers": {
"mcp-local-rag":{
"command": "uvx",
"args": [
"--python=3.10",
"--from",
"git+https://github.com/nkapila6/mcp-local-rag",
"mcp-local-rag"
]
}
}
}
Otherwise:
- Clone this GitHub repository (OPTIONAL, can be skipped with above config)
git clone https://github.com/nkapila6/mcp-local-rag
- Add the following to your Claude config. You can find the configuration paths here: https://modelcontextprotocol.io/quickstart/user
{
"mcpServers": {
"mcp-local-rag": {
"command": "uv",
"args": [
"--directory",
"<path where this folder is located>/mcp-local-rag/",
"run",
"src/mcp_local_rag/main.py"
]
}
}
}
Example use
On prompt
When asked to fetch/lookup/search the web, the model prompts you to use MCP server for the chat.
In the example, have asked it about Google’s latest Gemma models released yesterday. This is new info that Claude is not aware about.
Result
The result from the local rag_search
helps the model answer with new info.
mcp-local-rag | local RAG-like web search
Project Details
- nkapila6/mcp-local-rag
- MIT License
- Last Updated: 4/22/2025
Categories
Recomended MCP Servers
Mcp server to connect with zerodha's kite trade apis
Amadeus MCP(Model Context Protocol) Server
An MCP tool that connects Google Ads with Claude AI/Cursor and others, allowing you to analyze your advertising...
The official ElevenLabs MCP server
一个基于MCP协议的搜索服务实现,提供网络搜索和本地搜索功能,Cursor和Claude Desktop能与之无缝集成。
MCP server to provide Figma layout information to AI coding agents like Cursor
A Model Context Protocol server allows to interact with Twitter, enabling posting tweets and searching Twitter.
MCP Server for Ghidra
MCP server for Delve debugger integration
Write notes to Flomo
[Self-hosted] A Model Context Protocol (MCP) server implementation that provides a web search capability over stdio transport. This...