Cover image
Try Now
2025-03-14

"primitive" RAG-like web search model context protocol (MCP) server that runs locally. ✨ no APIs ✨

3 years

Works with Finder

1

Github Watches

2

Github Forks

20

Github Stars

mcp-local-rag

"primitive" RAG-like web search model context protocol (MCP) server that runs locally. ✨ no APIs ✨

Installation instructions

  1. 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:

  1. Clone this GitHub repository (OPTIONAL, can be skipped with above config)
git clone https://github.com/nkapila6/mcp-local-rag
  1. 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.

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Khalid kalib
  • Write professional emails

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • momi
  • Provides initial medical assessments and advice.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Daren White
  • A supportive coach for mastering all Spanish tenses.

  • huahuayu
  • A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.

  • deemkeen
  • control your mbot2 with a power combo: mqtt+mcp+llm

  • zhaoyunxing92
  • 本项目是一个钉钉MCP(Message Connector Protocol)服务,提供了与钉钉企业应用交互的API接口。项目基于Go语言开发,支持员工信息查询和消息发送等功能。

  • justmywyw
  • Short and sweet example MCP server / client implementation for Tools, Resources and Prompts.

  • KasarLabs
  • Build powerful and secure AI Agents powered by Starknet.

    Reviews

    5 (1)
    Avatar
    user_0qix4q0z
    2025-04-15

    MCPHub by samanhappy is a game-changer for anyone looking to deploy MCP servers swiftly. Just a few minutes and your own server is up and running! The process is seamless and user-friendly, making it an essential tool for MCP enthusiasts. Highly recommend! Check it out here: https://mcp.so/server/mcphub/samanhappy