CGIS Code Graph MCP Server
Ask "what breaks if I change this?" and get the call chain, not a guess. CGIS parses a repository with tree-sitter into a graph of fully qualified symbols and the calls, imports and containment between them, stores it in SQLite, and serves it to AI agents over MCP. An agent that would otherwise grep and read whole files asks the graph instead. It runs locally over stdio via the published package.
People who work with call graph, static analysis and tree sitter and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in Python.
VERIFIED ACTIVE
LAST COMMIT 2026-09-25 · ★ 2 · #145 OF 998 MAINTAINED OTHER · VERIFIED 2026-09-30
MIT · Python servers · how we verify → /methodology
01 · Install CGIS Code Graph
before you install - you'll need
Set GUARDIAN_PROVIDER before connecting.
Claude Code
claude mcp add zaebee-codegraph-brain -- uvx codegraph-brain Claude Desktop / Cursor / VS Code - add to config
{
"mcpServers": {
"zaebee-codegraph-brain": {
"command": "uvx",
"args": [
"codegraph-brain"
]
}
}
} Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.
Using another client? Same JSON, different key
Claude Desktop · mcpServers
Cursor · mcpServers
VS Code · servers
Windsurf · mcpServers
Zed · context_servers
Cline · mcpServers
Roo Code · mcpServers
Continue · mcpServers
LibreChat · mcpServers
Gemini CLI · mcpServers
Codex CLI · mcp_servers
Full setup guides: every client.
02 · Evidence
Security posture
What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.
runs as local process (stdio) - runs on your machine with your user's permissions
license MIT - declared in the repository
pypi package codegraph-brain - check the name against the project README before installing (PyPI has no namespace ownership)
registry namespace io.github.zaebee is GitHub-verified and matches the repo owner
03 · What CGIS Code Graph can do
Prose above is summarized from the project's README and registry record - no invented capabilities.
Latest releases
codegraph-brain-v0.25.4 · 2026-09-25
0.25.4 (2026-09-25) · resolve TypeScript imports of declaration files (#511) (db8c578), closes #507 · resolve TypeScript imports of workspace packages · auto-sync architecture graph and MCP reference
codegraph-brain-v0.25.3 · 2026-09-18
0.25.3 (2026-09-18) · TYPE_CHECKING imports are not a runtime dependency · auto-sync architecture graph and MCP reference
codegraph-brain-v0.25.2 · 2026-09-18
0.25.2 (2026-09-18) · module imports reconcile the layout prefix
04 · Who maintains CGIS Code Graph
CGIS Code Graph is maintained by zaebee. We track 2 MCP servers from zaebee - 2 actively maintained, 2 combined GitHub stars, oldest repo from Jun 2026.
05 · Facts
- repository
- github.com/zaebee/codegraph-brain
- category
- other - ranked #145 of 998 actively-maintained other servers as of 2026-09-30.
- release cadence
- 10+ releases in the last 90 days (latest 2026-09-25)
- registry
- io.github.zaebee/codegraph-brain (active, first published 2026-09-17 · 12 versions)
- packages
- pypi:codegraph-brain
06 · CGIS Code Graph FAQ
What is CGIS Code Graph?
Ask "what breaks if I change this?" and get the call chain, not a guess. CGIS parses a repository with tree-sitter into a graph of fully qualified symbols and the calls, imports and containment between them, stores it in SQLite, and serves it to AI agents over MCP. An agent that would otherwise grep and read whole files asks the graph instead. It runs locally over stdio via the published package.
Is CGIS Code Graph still maintained?
Yes - as of 2026-09-30, its last commit was 2026-09-25 and it shipped 10+ releases in the last 90 days. We re-verify nightly.
How do I install CGIS Code Graph?
Run `uvx codegraph-brain`. The README documents one environment variable (GUARDIAN_PROVIDER) to set first. Set GUARDIAN_PROVIDER before connecting. You can also paste the ready-made client config above.
Does CGIS Code Graph run locally?
Yes - it's a stdio server: it runs on your machine (via uvx) with your user's permissions. Your data stays local unless the server itself calls external APIs.
07 · Alternatives to CGIS Code Graph
Alternatives to CGIS Code Graph
Maintained other servers if CGIS Code Graph isn't the fit.
- Heyputer MCP Server Puter MCP enables AI tools to interact with Puter: manage files, websites, workers, and more ★ 43,609 · 2026-09-29
- Server Commands An MCP server to run arbitrary commands ★ 39,168 · 2026-09-24
- basebalance.cloud - x402 RPC & MCP gateway USDC-gated Base JSON-RPC: free 10 req/min, $0.50 per 10k. Failover, cache, /mcp, ledger. ★ 6,763 · 2026-08-26
- Zotero MCP (54yyyu) Search, read, annotate, and add to your Zotero research library, local or web. ★ 5,203 · 2026-09-30
- Firebase MCP Gives AI development tools Firebase-specific capabilities and expertise. ★ 4,475 · 2026-09-30
- Microsoft Fabric MCP Server MCP tools for interacting with Microsoft Fabric ★ 3,722 · 2026-09-29
More MCP servers to compare · Random Number MCP · Zenml · Zeta Chain CLI · Alphacouncil Agent · Unterm
More Python MCP servers · Local Delegate · Gmail Attachments MCP · Servonaut · Webhook.site MCP Server · see all