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. 516 installs a week from npm. Last commit 17 Sep 2026.

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

Installs per day peak 201 · avg 27 · +1633% w/w
a month agotoday
516
Installs / week
npm · @rag-rat/bin
20
Stars
103 open issues
17 Sep 2026
Last commit
0 releases in 90 days
MIT
License
Rust

What the code does

We read the source, 20 h ago · rules 3dff92dd89df

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
этот файл ставится пользователю, но в репозитории его нет
                 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
Dumps the whole environment tools/test-runner-cache-cleanup.py:29
        self.env = dict(os.environ, CARGO_TARGET_DIR=str(self.target), CARGO_HOME=str(self.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": {
      "args": [
        "-y",
        "@rag-rat/bin"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.rag-rat]
command = "npx"
args = ["-y", "@rag-rat/bin"]
.cursor/mcp.json
{
  "mcpServers": {
    "rag-rat": {
      "args": [
        "-y",
        "@rag-rat/bin"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "rag-rat": {
      "args": [
        "-y",
        "@rag-rat/bin"
      ],
      "command": "npx"
    }
  }
}

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.

4 181 installs/wk local only
Oxcode
by snowmead

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

42 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
Kin
by kinlab

A graph-native code repository for people and AI agents.

2 383 installs/wk local only
Constellation
by shiftinbits

Code Intelligence Platform for AI Coding Agents

430 installs/wk local only
Droste
by lorismascio17

Local code-memory graph for AI coding agents.

119 installs/wk local only
Codemesh
by pyalwin

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

30 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 516 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 with the file path 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 516 times in the last week. Week over week that is +1633%. 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, 20 stars on GitHub and 103 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.