Repo Graph
@James-Chahwan
About Repo Graph
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.
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"repo-graph": {
"command": "uvx",
"args": [
"mcp-repo-graph",
"--repo",
"."
]
}
}
}Tools
No tools detected
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
FAQ from Repo Graph
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.
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.
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.
Which MCP clients are supported?
It works with any MCP client: Cursor, Windsurf, Codex, Gemini CLI, Antigravity, Claude Desktop, and Claude Code.
What tools does repo-graph provide?
It offers 11 tools: generate, status, dense_text, flow, trace, impact, neighbours, activate, find, graph_view, and reload.
More Version Control MCP servers
GitHub Stars MCP Server
ccbikaiA Cloudflare-powered MCP (Model Context Protocol) Server that allows you to search and query your GitHub starred repositories using natural language.
MCP Atlassian Server (by phuc-nt)
phuc-ntMCP server connecting AI assistants with Jira & Confluence for smart project management.
Atlassian Jira MCP Server
aashariNode.js/TypeScript MCP server for Atlassian Jira. Equips AI systems (LLMs) with tools to list/get projects, search/get issues (using JQL/ID), and view dev info (commits, PRs). Connects AI capabilities directly into Jira project management and issue tracking workflows.
AIO-MCP Server
athapong🚀 All-in-one MCP server with AI search, RAG, and multi-service integrations (GitLab/Jira/Confluence/YouTube) for AI-enhanced development workflows. Folk from https://github.com/nguyenvanduocit/all-in-one-model-context-protocol
🚀 GitLab MR MCP
kopfrechnerInteract seamlessly with GitLab repositories to manage merge requests and issues. Fetch details, add comments, and streamline your code review process with ease.
Comments