Welcome to the gograph documentation portal. gograph is a local-only Go static analysis, call-graph, blast-radius, and CI architecture-gate CLI for Go engineers, with a built-in zero-step MCP server for AI coding agents.


Documentation Map

Getting Started

Install gograph, build your first AST or type-checked (--precise) call graph, and run blast-radius and targeted test queries.

Command Reference

Exhaustive manual covering every CLI command, flag, output mode (--json, --files-only, --mermaid), federated workspaces, and the CLI/MCP parity matrix.

CI Architecture Gates

Enforce Go package boundaries, fan-in/fan-out coupling limits, cyclomatic complexity ceilings, and exported API drift in CI pipelines.

Tool Comparisons

An honest engineering breakdown of how gograph complements gopls, golangci-lint, go-callvis, and ripgrep.

Engineering Workflows

Step-by-step operational playbooks for onboarding, safe refactoring, package splits, security-flow triage, and CI quality gates.

MCP & AI Agent Integration

Connect gograph’s built-in stdio MCP server to Claude Code, Cursor, Codex, Copilot, Antigravity, and OpenCode.

Official MCP Registry

Install a platform-specific local MCP Bundle (io.github.ozgurcd/gograph) in MCPB-capable clients.