Skip to content
Skillpedia
βœ“ Official Β· ozgurcd● Free and open sourceπŸ’» LocalπŸ”“ No API keyProgramming

gograph

Lets your AI agent explore a Go repository through call graphs, impact analysis and symbol search, all run locally.

231 stars on GitHubby ozgurcdLicense MITUpdated 18 days ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Download the .mcpb file and open it with Claude Desktop.

Download the .mcpb file β†—

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Build a precise graph of this repo and show me the hotspots.
Who calls this function, and which tests cover it?

What it is

gograph builds a local structural graph of a Go repository, with optional type-checked enrichment. Your agent can trace callers, find interface implementations and plan the impact of a change before refactoring. It runs on your machine and sends nothing to a hosted service.

What it can do

  • build: build the repository graph, with a precise option
  • summary and hotspot: find places to start
  • explore and context: read a symbol with callers, callees and tests
  • plan: plan a change before refactoring
  • validate: check one structural predicate

When to use

  • β€ΊWhen you want your agent to find every caller of a Go function before changing it
  • β€ΊWhen you plan a big refactor and need the impact first
  • β€ΊWhen you want a repository overview without a hosted code index

What you need

The Go toolchain and the gograph binary, installed with Homebrew or go install. You build the graph for your repository first.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and open source?

Yes. The badge in the readme shows the MIT license.

Does it run my code?

No. The readme says it does static analysis and does not execute target code.

Does it send data anywhere?

No. Session telemetry stays local under .gograph/sessions and nothing is sent to gograph services.

How do I install it?

Use brew install --cask ozgurcd/tap/gograph or go install github.com/ozgurcd/gograph/cmd/gograph@latest.

Where does it store its graph?

In a .gograph folder in the target directory, which it adds to your gitignore.

Can I use it with Codex?

Yes. The readme points to a Codex MCP setup guide.

If it does not work

  • β€ΊRun gograph doctor --json to see which installation runs and whether another copy shadows it.
  • β€ΊRebuild the graph after upgrading gograph or changing build tags.
  • β€ΊIf a precise build fails on unrelated folders, use --exclude-dirs to skip them.

5 new skills a week. 1 minute to read.