MCP.so
登录

Repo Graph

@James-Chahwan

关于 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.

基本信息

分类

版本控制

传输方式

stdio

发布者

James-Chahwan

提交者

James

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "repo-graph": {
      "command": "uvx",
      "args": [
        "mcp-repo-graph",
        "--repo",
        "."
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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.

评论

版本控制 分类下的更多 MCP 服务器