Basic information
About Repo Graph MCP Server
Structural graph memory for AI coding assistants. repo-graph maps your codebase entities, relationships, and feature flows so the model navigates to the right files instead of reading everything first. Tree-sitter, 20+ languages, frontend to backend and more, any MCP client.
Repo Graph is a MCP server in the Version Control category listed in the AddMCP.net directory, published by James-Chahwan. Supported transport: stdio. Runtime: Python. License: MIT. The repository has 87 GitHub stars. Source code is hosted on github.com. Related topics: ai-coding, code-graph, code-navigation, developer-tools, mcp.
Setup
{
"mcpServers": {
"repo-graph": {
"command": "uvx",
"args": [
"mcp-repo-graph",
"--repo",
"."
]
}
}
}
{
"mcpServers": {
"repo-graph": {
"command": "uvx",
"args": [
"mcp-repo-graph",
"--repo",
"."
]
}
}
}
{
"servers": {
"repo-graph": {
"command": "uvx",
"args": [
"mcp-repo-graph",
"--repo",
"."
]
}
}
}
Repo Graph MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"repo-graph": {
"command": "uvx",
"args": [
"mcp-repo-graph",
"--repo",
"."
]
}
}
}
Repo Graph MCP Server tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Repo Graph?
Repo Graph is an MCP server that builds a structural graph of a codebase — entities, their connections, and feature flows from frontend to backend — for AI coding assistants. It uses Rust and tree-sitter to handle 20+ languages and frameworks cross-stack, allowing the AI to query the graph for relevant files instead of reading the entire repository.
How to use Repo Graph?
Install and run with uvx mcp-repo-graph --repo . (zero-install via uvx). Add it to any MCP client (Claude Code, Cursor, Windsurf, Codex, Gemini CLI, etc.) by configuring the MCP server with the same command.
Key features of Repo Graph
- Builds a structural graph of codebase entities and connections
- Supports 20+ languages and frameworks
- Provides 11 query tools (flow, trace, impact, neighbors, etc.)
- Reduces token usage and files read during AI reasoning
- Fast scanning with Rust + tree-sitter engine
- Generates ASCII graph views for navigation
Use cases of Repo Graph
- Quickly locate the relevant files for a bug fix in a large codebase
- Trace a feature’s flow from entry point to service to data layer
- Analyze the blast radius of a change across different tiers
- Find the shortest dependency path between two code entities
- Navigate cross-stack monorepos with Angular, Go, and more
Frequently asked questions
1 What problem does repo-graph solve?
It replaces the inefficient “grep, read, grep, read” loop by giving the AI a structural map of the codebase. In one benchmark, it reduced tokens from 75K to 30K and time from 4m36s to ~30s.
2 What languages and frameworks does it support?
It handles 20+ languages and frameworks, including cross-stack support (e.g., Go + Angular). The exact list isn’t given, but it uses tree-sitter for broad coverage.
3 How do I install and run repo-graph?
Installation is zero-install with uvx mcp-repo-graph --repo .. For Claude Code, use claude mcp add repo-graph -- uvx mcp-repo-graph --repo .. For other MCP clients, add the same command to their MCP server configuration.
4 Which MCP clients are supported?
It works with any MCP client: Cursor, Windsurf, Codex, Gemini CLI, Antigravity, Claude Desktop, and Claude Code.
5 What tools does repo-graph provide?
It offers 11 tools: generate, status, dense_text, flow, trace, impact, neighbours, activate, find, graph_view, and reload.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In