MCP.so
登录

Repo Graph MCP Server

@James-Chahwan

基本信息

分类

版本控制

传输方式

stdio

作者

James-Chahwan

提交者

James

关于 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 MCP Server 配置

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

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

Repo Graph MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

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

常见问题

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.

评论

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