repo2graph
io.github.Srinivasan-78/repo2graph
v5.0.0Updated Nov 1, 2026stdio · PyPI
Ask a codebase a question, get back the source that answers it — every block cited to file:line.
Install
Replace 1 placeholder with your own values.
Run in your terminal. Replace 1 placeholder.
claude mcp add repo2graph -- uvx repo2graph==5.0.0 '<your-repo-path>'The registry lists extra launch arguments or environment variables for this server that could change what runs. They are left out here; check its repository before adding any.
Configuration
3 settings.
repo_pathArgument· requiredThe repository to serve. Its index is built into <repo_path>/.r2g on the first tool call if one does not exist yet, so no setup step is needed.--fromArgument· optionalThe MCP server lives behind the `mcp` extra: the CLI and the GitHub Action never import the SDK, so it is not a runtime dependency of the base package.commandArgument· optionalThe console script to run out of that package. The bare `repo2graph` entry point is the CLI, not the server.
Links
Listed in the official MCP Registry since Nov 1, 2026. Mirrored daily; last checked Nov 26, 2026.