# gograph

gograph builds a local structural graph of a Go repository so an agent can trace callers and assess the reach of a change. Use it when reviewing a refactor.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed · ★ 230
- Author: ozgurcd
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/ozgurcd/gograph
- Updated: 2026-10-10
- HTML: https://affpapa.org/en/nevibecode/mcp/gograph

## What it does

gograph runs locally over stdio and maps the structure of a Go repository. An agent can follow call sites and interface implementations, then inspect the likely impact of edits. Its precise mode adds type checking; project code is not executed.

Indexing uses the installed Go toolchain. Precise analysis loads package types, while `doc` invokes `go doc`, so these operations follow the configured module, cache, and network policies. A restricted dependency setup can therefore prevent precise analysis. Session data stays in `.gograph/sessions/`; it is not sent to gograph services.

## Requirements
- Needs: a prebuilt binary from the repository releases

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- trace callers before changing a Go function
- find implementations of an interface across a repository
- assess which code and tests a change may affect
- inspect package relationships without running project code

## Example prompts
- Find every caller of `ParseConfig` and describe the impact of changing it.
- Trace the implementations of `Store` and list the related files.
- Assess how edits to `internal/router/router.go` could affect tests and callers.

## Similar
- [Serena MCP: the IDE for your agent](https://affpapa.org/en/nevibecode/mcp/serena-mcp-the-ide-for-your-agent.md) — MCP server · ★ 30677
- [Compiler Explorer](https://affpapa.org/en/nevibecode/mcp/compiler-explorer.md) — MCP server · ★ 19148
- [Claude Code Explorer MCP](https://affpapa.org/en/nevibecode/mcp/claude-code-explorer-mcp.md) — MCP server · ★ 6235
- [Tolgee](https://affpapa.org/en/nevibecode/mcp/tolgee.md) — MCP server · ★ 4139
- [jshookmcp](https://affpapa.org/en/nevibecode/mcp/jshookmcp.md) — MCP server · ★ 2061
- [pyscn](https://affpapa.org/en/nevibecode/mcp/pyscn.md) — MCP server · ★ 1096

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
