mcpbeat Sign in

rag-rat MCP Server

local only

rag-rat runs on your own machine — the client starts it, so there is no endpoint to ping. 131 installs a week from npm. Last commit 9 Oct 2026.

Repository intelligence, code graph, history, papertrail, and cross-agent memory for coding agents.

Installs per day peak 45 · avg 15 · +30% w/w
a month agotoday
131
Installs / week
npm · @rag-rat/bin
24
Stars
132 open issues
9 Oct 2026
Last commit
4 releases in 90 days
MIT
License
Rust

What the code does

We read the source, 1 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 a command on install [пакет] package.json:1
postinstall: node ./install.js
File ships in the package but is absent from the source [пакет] binary-install.js:1, [пакет] binary.js:1, [пакет] install.js:1 и ещё 1
этот файл ставится пользователю, но в репозитории его нет
Builds a database query by concatenation crates/rag-rat-core/src/index/query_api/lens/treemap.rs:61
                 SELECT path, COUNT(*) AS commits,
                        SUM(COALESCE(additions, 0) + COALESCE(deletions, 0)) AS lines
Runs an external command plugin/opencode/rag-rat.ts:58
  const r = spawnSync(p, ["--version"], { encoding: "utf8" });
Runs an external command tools/test-runner-cache-cleanup.py:32
        return subprocess.run(["bash", str(SCRIPT)], env=dict(self.env, **env), capture_output=True, text=True, timeout=10)
Image runs as root editors/appliance/Dockerfile:15
USER root

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

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-rat -- npx -y @rag-rat/bin
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "rag-rat": {
      "command": "npx",
      "args": [
        "-y",
        "@rag-rat/bin"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.rag-rat]
command = "npx"
args = ["-y", "@rag-rat/bin"]
.cursor/mcp.json
{
  "mcpServers": {
    "rag-rat": {
      "command": "npx",
      "args": [
        "-y",
        "@rag-rat/bin"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "rag-rat": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@rag-rat/bin"
      ]
    }
  }
}

Alternatives to rag-rat

same job, measured the same way
Kivgraph
by luqueee

Cross-repository semantic code intelligence for AI coding agents, from a local code graph.

local only
Repowise
by repowise

Codebase intelligence for AI coding agents — graph, git history, docs, decisions, code health.

6 509 installs/wk local only
Oxcode
by snowmead

PageRank-curated code intelligence for coding agents over an indexed source repository.

60 installs/wk local only
Seshat MCP
by papyruslabs

Structural code intelligence for AI agents: real call graphs, blast radius, and change history.

74 installs/wk local only
agentRamen
by palrajjp

Local-first codebase intelligence for coding agents: indexes code and Git history into SQLite.

261 installs/wk local only
AI Architect MCP Codebase
by cdeust

Codebase intelligence MCP — index any repo into a property graph; 26 tools for agents.

local only
Constellation
by shiftinbits

Code Intelligence Platform for AI Coding Agents

311 installs/wk local only
Codemesh
by pyalwin

Intelligent code knowledge graph for AI coding agents — 71% cheaper, 72% faster

33 installs/wk local only

rag-rat — questions

Answers built from our own checks of this server.

Why is there no uptime for rag-rat?
rag-rat 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 npm package @rag-rat/bin was installed 131 times last week.
How do I connect rag-rat?
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 @rag-rat/bin straight from npm; nothing to host, nothing to sign up for.
How many people use rag-rat?
The npm package @rag-rat/bin was installed 131 times in the last week. Week over week that is +30%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is rag-rat open source?
Yes — it is published under the MIT licence, written in Rust, 24 stars on GitHub and 132 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.