codegraph

brettmartin97/codegraph
★ 0 stars Python 🤖 AI/LLM Updated 1d ago
MCP server for call-graph analysis, blast-radius impact, and code intelligence for AI coding assistants
View on GitHub →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "codegraph": {
      "command": "uvx",
      "args": [
        "codegraph"
      ]
    }
  }
}

Or install with pip: pip install codegraph

README Excerpt

**Know what breaks before you touch it.** CodeGraph builds a function call graph from your codebase and exposes it as an MCP server — so AI agents like Claude can answer *"what will break if I change this function?"* with real data instead of guessing. ``` $ git diff origin/main...HEAD | codegraph ci pr-comment myrepo

Tools (14)

find_functionformat_receiptget_function_impactget_function_sourceget_high_complexity_functionsgraph_statuslist_functions_in_fileprepare_changeprocess_orderregister_and_indexrepo_overviewsemantic_searchvalidate_addressvalidate_boundaries