Description
gograph is a local static analysis tool for Go repositories. It builds a structural graph of your code, with optional type-checked enrichment, so you can trace callers and interface implementations, plan the impact of a change and check architecture rules. It works from the command line or through a built-in MCP server, so AI coding agents can query the same structure. The graph is built locally, with no embeddings and no hosted code index. A fast mode builds an AST graph that tolerates incomplete packages, and a precise mode uses type-checked CHA and SSA analysis for repositories that compile. The main commands are build, stats, summary, hotspot, explore and flow, which can list potential source-to-sink paths in production code. The site has a demo that lets you explore a Go repository without installing anything, and an evidence page with the benchmark method and its limits. The project is public on GitHub.…
Highlights
- Call graphs and interface implementation tracing
- Change impact analysis for refactors
- Built-in MCP server for coding agents
- Fast AST mode and precise type-checked mode
- Runs locally with no hosted index
Ratings & Reviews
No ratings yet
Be the first to rate Gograph.
People also visit
Gograph FAQ
What is gograph?
It is a local structural analysis tool for Go code. It builds a graph of calls, types and relationships to help you refactor and to give coding agents context.
How do I start?
Run gograph build on the repository. The site suggests adding --precise for a repository that compiles before a major refactor.
Does it need an internet connection?
No. The site says it is local-only, with no embeddings and no hosted code index.
Can AI agents use it?
Yes. It has a built-in MCP server, and the site describes agent workflows for it.
Can I try it first?
Yes. The site has a demo that explores a Go repository without installing anything.
What are the best Gograph alternatives?
Popular alternatives to Gograph include GraphMind, Gortex and SocratiCode Cloud. See all Gograph alternatives













