# mcp-local-rag

> MCP Server

This repository provides a local, "primitive" RAG-like web search model context protocol (MCP) server that runs without external APIs. It allows Claude to access and use new information from web

## Overview

- **Category:** AI
- **Language:** Python
- **Stars:** 133
- **Forks:** 0
- **Owner:** nkapila6
- **GitHub:** https://github.com/nkapila6/mcp-local-rag
- **Created:** 2025-03-13T09:20:19+00:00
- **Updated:** 2025-03-24T12:52:18+00:00
- **Source:** https://model-context-protocol.com/servers/local-rag-web-search-context-server

## Setup

## Setup
1. Install `uv`: https://docs.astral.sh/uv/

### If you do not want to clone in Step 2.
Just paste this directly into Claude config, using the configuration paths here: https://modelcontextprotocol.io/quickstart/user
```json
{
    "mcpServers": {
        "mcp-local-rag":{
            "command": "uvx",
            "args": [
            "--python=3.10",
            "--from",
            "git+https://github.com/nkapila6/mcp-local-rag",
            "mcp-local-rag"
            ]
        }
    }
}
```

### Otherwise:
2. Clone this GitHub repository (OPTIONAL, can be skipped with above config)
```terminal
git clone https://github.com/nkapila6/mcp-local-rag
```

3. Add the following to your Claude config, using the configuration paths here: https://modelcontextprotocol.io/quickstart/user
```json
{
  "mcpServers": {
    "mcp-local-rag": {
      "command": "uv",
      "args": [
        "--directory",
        "<path where this folder is located>/mcp-local-rag/",
        "run",
        "src/mcp_local_rag/main.py"
      ]
    }
  }
}
```

## Tools

## Available Tools

1.  "primitive" RAG-like web search (Provides a local RAG-like web search capability).
2.  Model context protocol (MCP) server (Acts as an MCP server for Claude).
3.  Local operation (Runs locally without APIs).

