Repo2graph MCP Server

Give coding agents trustworthy, cited answers about unfamiliar codebases. Ask a repository a question; get back the actual source that answers it, every block stamped with the file and line range it came from. It runs locally over stdio via the published package.

People who work with code analysis, dependency graph and github action and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in Python.

VERIFIED ACTIVE

LAST COMMIT 2026-09-29 · ★ 8 · #24 OF 117 MAINTAINED AI & ML · VERIFIED 2026-09-30

MIT · Python servers · how we verify → /methodology

01 · Install Repo2graph

before you install - you'll need

The README does not document required environment variables for a basic install.

Claude Code

claude mcp add srinivasan-78-repo2graph -- uvx repo2graph

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "srinivasan-78-repo2graph": {
      "command": "uvx",
      "args": [
        "repo2graph"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

repo age created 2026-08-23 - young repo, little track record yet

license MIT - declared in the repository

pypi package repo2graph - check the name against the project README before installing (PyPI has no namespace ownership)

registry namespace io.github.Srinivasan-78 is GitHub-verified and matches the repo owner

03 · What Repo2graph can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

Latest releases

v2.2.0 · 2026-09-26

Added · Per-client integration guides. docs/integrations/claude-code.md (first-supported) covers · install, verification, the six tools and their real argument ceilings, the five starter · questions, the CLAUDE.md…

v2.1.0 · 2026-09-24

Added · repo2graph explain - three subcommands that answer "why did the graph say · that?" without reading JSONL by hand. explain edge <src> <dst> reports every · edge between two nodes in either direction, with each…

v2.0.0 · 2026-09-22

Removed · claude-code-review.yml and claude.yml, and with them all automated code · review. claude.yml had no author gate of any kind: any commenter, including · a first-time contributor, could start a 30-minute model…

04 · Who maintains Repo2graph

repo2graph is maintained by srinivasan-78. It's the only MCP server we track from this author; the repo dates to Aug 2026.

05 · Facts

category
AI & ML - ranked #24 of 117 actively-maintained AI & ML servers as of 2026-09-30.
release cadence
10+ releases in the last 90 days (latest 2026-09-26)
registry
io.github.Srinivasan-78/repo2graph (active, first published 2026-09-15 · 10 versions)
packages
pypi:repo2graph

06 · Repo2graph FAQ

What is Repo2graph?

Give coding agents trustworthy, cited answers about unfamiliar codebases. Ask a repository a question; get back the actual source that answers it, every block stamped with the file and line range it came from. It runs locally over stdio via the published package.

Is Repo2graph still maintained?

Yes - as of 2026-09-30, its last commit was 2026-09-29 and it shipped 10+ releases in the last 90 days. We re-verify nightly.

How do I install Repo2graph?

Run `uvx repo2graph`. The README does not document required environment variables for a basic install. You can also paste the ready-made client config above.

Does Repo2graph run locally?

Yes - it's a stdio server: it runs on your machine (via uvx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Repo2graph

More AI & ML MCP servers · Koma Core MCP · Koma Gate MCP · Librarian · Agentic Research

More Python MCP servers · Rmbr · Agent Booster · Myfigurecollection API · Stackhawk · SEC EDGAR Filings MCP · see all