本地运行的RAG模型协议服务器
一个在本地运行的“原始”类RAG网页搜索模型上下文协议(MCP)服务器,无需API。
快速入门
- 安装
uv
工具:https://docs.astral.sh/uv/ - 配置 Claude:将以下内容添加到配置文件中(路径参考 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" ] } } }
- 或者克隆仓库并运行: git clone https://github.com/nkapila6/mcp-local-rag 更新配置为: { "mcpServers": { "mcp-local-rag": { "command": "uv", "args": [ "--directory", "<项目路径>/mcp-local-rag/", "run", "src/mcp_local_rag/main.py" ] } } }
- 启动服务后即可使用。