zaebee/codegraph-brain
by Various
Code graph for AI agents: impact analysis and call tracing over MCP (Python, TypeScript). Local, deterministic, SQLite.
MCP
zaebee/codegraph-brain
Added 21 Sept 2026
Overview
Builds a local code graph for Python and TypeScript projects and exposes it to AI agents through MCP. Provides impact analysis and call tracing. Uses SQLite for storage and runs deterministically.
Best for
Best for
Developers building AI agents that need codebase awareness for Python and TypeScript projects.
Use cases
- Trace call paths before refactoring
- Assess impact of a proposed code change
- Give an AI agent a queryable code graph via MCP
How to use
Install
uvx --from codegraph-brain cgis ingest ./my-project --output graph.db Tools exposed
cgis_ingestcgis_overviewcgis_find_symbolcgis_analyze_impactcgis_trace_flowcgis_get_structurecgis_contextcgis_metricscgis_audit_reachabilitycgis_driftcgis_validate
Tested with
Claude Desktop, Claude Code, Cursor
Notes
Builds a local code graph for Python and TypeScript projects and exposes it to AI agents through MCP. Provides impact analysis and call tracing. Uses SQLite for storage and runs deterministically.
2 stars on GitHub. Last updated 2026-09-18. Licensed MIT.
Use cases
- Trace call paths before refactoring
- Assess impact of a proposed code change
- Give an AI agent a queryable code graph via MCP
Pros
- Local and deterministic, no cloud dependency
- SQLite storage is simple and portable
- Supports both Python and TypeScript
Cons
- Early-stage project with few stars and limited adoption
- Only covers Python and TypeScript, not other languages
- Requires MCP setup to use with agents
Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.
Pros
- Local and deterministic, no cloud dependency
- SQLite storage is simple and portable
- Supports both Python and TypeScript
Cons
- Early-stage project with few stars and limited adoption
- Only covers Python and TypeScript, not other languages
- Requires MCP setup to use with agents
Open-source & AI alternatives
Swap-in tools that solve the same job. Weigh the trade-offs before you commit.
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.
Get the free Developer’s Field Guide
A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.
Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.
