mcpbeat Sign in

rag-mcp MCP Server

by masihmoafi Your server? Claim it
local only

rag-mcp runs on your own machine — the client starts it, so there is no endpoint to ping. 198 installs a week from pypi. Last commit 12 Nov 2026.

Scoped hybrid search (BM25, embeddings, reranking) and grounded answers over local files and folders

Installs per day peak 551 · avg 65 · -20% w/w
a month agotoday
198
Installs / week
pypi · ragmcp-cli
9
Stars
1 open issue
12 Nov 2026
Last commit
from GitHub
MIT
License
Jupyter Notebook

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add rag-mcp -- uvx ragmcp-cli mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "rag-mcp": {
      "command": "uvx",
      "args": [
        "ragmcp-cli",
        "mcp"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.rag-mcp]
command = "uvx"
args = ["ragmcp-cli", "mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "rag-mcp": {
      "command": "uvx",
      "args": [
        "ragmcp-cli",
        "mcp"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "rag-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "ragmcp-cli",
        "mcp"
      ]
    }
  }
}

Optional settings from the registry entry, left out of the block above: OPENROUTER_API_KEY (OpenRouter key for answer synthesis and hosted reranking; exact-word search works without it).

What the code does

We read the source, 2 d ago · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Runs an external command npm/bin/rag.js:15
  return spawnSync(command, [...prefix, ...args], { stdio: "inherit" })
    completed = subprocess.run(
        staging_dir = os.path.join(root, f"{staging_name}.lance") if root else None
        staged_environ = dict(os.environ, RAG_MCP_CONFIG=str(Path(temporary) / "config.json"))

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Alternatives to rag-mcp

same job, measured the same way
haiku.rag
by ggozad

Local-first agentic RAG with citations - hybrid search, reranking, multimodal document retrieval

5 222 installs/wk local only
Minirag MCP
by sfrangulov

Local-first RAG MCP server: hybrid search over a folder of your own documents

911 installs/wk local only
Sqlite Graph MCP
by developjik

Zero-embedding code & spec graph over SQLite with file:line citations for every answer.

629 installs/wk local only
loci
by ivenkoolab

Cross-session memory and hybrid RAG over your notes and docs. Local-first, with cited answers.

528 installs/wk local only
Code Index
by achreftlili

SQLite-backed hybrid (vector + FTS) code search index for Claude Code over MCP.

466 installs/wk local only
synrag
by synlabs-ai

Search your documents with cited context: hybrid BM25 + embeddings on a plain CPU, no GPU or API.

465 installs/wk local only
G-Krusch Workspace MCP
by krusch

Local-first Google Workspace MCP server with hybrid FTS5 Drive RAG, Docs, Calendar, and Gmail.

373 installs/wk local only
Opensolr MCP
by opensolr

Managed Apache Solr for agents: hybrid BM25+kNN search, server-side embeddings, RAG answers

328 installs/wk local only

rag-mcp — questions

Answers built from our own checks of this server.

Why is there no uptime for rag-mcp?
rag-mcp runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the pypi package ragmcp-cli was installed 198 times last week.
How do I connect rag-mcp?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls ragmcp-cli straight from pypi; nothing to host, nothing to sign up for.
How many people use rag-mcp?
The pypi package ragmcp-cli was installed 198 times in the last week. Week over week that is -20%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is rag-mcp open source?
Yes — it is published under the MIT licence, written in Jupyter Notebook, 9 stars on GitHub and 1 open issue. The source link is on this page, so you can read exactly what it does with your data before you connect it.