mcpbeat Sign in

repo2graph MCP Server

by srinivasan-78 Your server? Claim it
local only

repo2graph runs on your own machine — the client starts it, so there is no endpoint to ping. 570 installs a week from pypi. Last commit 1 Nov 2026.

Ask a codebase a question, get back the source that answers it — every block cited to file:line.

Installs per day peak 417 · avg 86 · -13% w/w
a month agotoday
570
Installs / week
pypi · repo2graph
9
Stars
0 open issues
1 Nov 2026
Last commit
from GitHub
MIT
License
Python

What the code does

We read the source, 22 h 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.

Builds a file path from a variable npm/bin/repo2graph-mcp.js:49
      const candidate = path.join(dir, cmd + ext);
  const result = spawnSync(cmd, spawnArgs, options);
Image runs as root Dockerfile:48
# The documented run mounts a host checkout at /repo and runs as 10000:10000,
# so /repo is owned by whoever owns it on the host and git refuses it with
# "detected dubious ownership". Trusted for /repo only, and in the system
# config written at build time: the documented run i…

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

Alternatives to repo2graph

same job, measured the same way
Mirofy
by hasan-laraib

Ask a repository what depends on what. Every answer cites the file, line and commit it came from.

46 installs/wk local only
chargehand
by egoushka

Runs coding-agent workers on a codebase question; every claim in the answer carries evidence.

local only
NinjaOne MCP
by servosity

Every NinjaOne report, plus a local store that answers fleet-wide questions no single API call can

local only
Metis Check
by metisfoundry-check-api

Checks an answer's citations at the registries that issue them. Every check files a signed report.

answering
Codebase Chat
by shinzarou-eng

Local-first codebase intelligence: cited answers, audits, reports. EN/FR.

31 installs/wk local only
fittok
by likhithreddy

Retrieve only the relevant code for a codebase question, within a token budget.

163 installs/wk local only
Botphone
by griffden

Give your Muse a phone number. BotPhone answers your business line and reports every call back.

answering
Rune
by thecolourfoundation

Evidence-backed codebase understanding with file:line citations, for AI clients over MCP.

local only

repo2graph — questions

Answers built from our own checks of this server.

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