nkapila6_mcp_local_rag

nkapila6_mcp_local_rag

by nkapila6

Topics

Skip to content

You signed in with another tab or window. Reload
to refresh your session. You signed out in another tab or window. Reload
to refresh your session. You switched accounts on another tab or window. Reload
to refresh your session. Dismiss alert

nkapila6 / mcp-local-rag Public

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

4 stars
0 forks
Branches
Tags
Activity

Star

Notifications
You must be signed in to change notification settings

nkapila6/mcp-local-rag

main

Branches
Tags


Go to file

Code

Folders and files

| Name | | Name | Last commit message | Last commit date |
| --- | --- | --- | --- |
| Latest commit
-------------

History
-------

13 Commits

| | |
| images | | images | | |
| src/mcp_local_rag | | src/mcp_local_rag | | |
| .gitignore | | .gitignore | | |
| .python-version | | .python-version | | |
| README.md | | README.md | | |
| pyproject.toml | | pyproject.toml | | |
| uv.lock | | uv.lock | | |
| View all files | | |

Repository files navigation

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

  2. 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.

About

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

Topics

mcp
rag
web-seach
model-context-protocol
mcp-server

Resources

Readme

Activity

Stars

4 stars

Watchers

1 watching

Forks

0 forks

Report repository

Releases


No releases published

Languages

You can’t perform that action at this time.

Features & Capabilities

Categories
mcp_server model_context_protocol

Implementation Details

Stats

0 Views
0 Likes
4 GitHub Stars

Repository Info

nkapila6 Organization

Similar Servers

continuedev_continue by continuedev
0
0
0