mcp-local-rag

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Enables web search functionality using Google to retrieve up-to-date information that can be incorporated into Claude's responses

mcp-本地-rag

本地运行的“原始” RAG 类 Web 搜索模型上下文协议 (MCP) 服务器。✨ 无 API ✨

安装说明

  1. 您需要安装uvhttps://docs.astral.sh/uv/

如果您不想在步骤 2 中进行克隆。

直接粘贴到 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" ] } } }

否则:

  1. 克隆此 GitHub 存储库(可选,可以使用上述配置跳过)
git clone https://github.com/nkapila6/mcp-local-rag
  1. 将以下内容添加到您的 Claude 配置中。您可以在此处找到配置路径: 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" ] } } }

使用示例

根据提示

当被要求获取/查找/搜索网络时,模型会提示您使用 MCP 服务器进行聊天。

在示例中,我询问了 Google 昨天发布的最新 Gemma 模型。这是 Claude 不知道的新信息。

结果

本地rag_search的结果有助于模型用新信息来回答。

-
security - not tested
F
license - not found
-
quality - not tested

本地运行的“原始” RAG 类 Web 搜索模型上下文协议服务器。✨ 无 API ✨

  1. Installation instructions
    1. If you do not want to clone in Step 2.
    2. Otherwise:
  2. Example use
    1. On prompt
    2. Result
ID: 5hgkdzzzv1