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.

コメント

「バージョン管理」の他のコンテンツ