# Go Code Graph

> Use this tool when you need to analyze and visualize large Go codebases to understand complex relationships between packages, structs, and functions. It solves problems such as refactoring impact analysis, code pattern detection, and onboarding new developers by providing a graph-based representation of the codebase. The tool takes in Go source code as input and outputs a comprehensive code graph with complexity metrics, supporting querying and pattern detection through a web visualization interface and natural language queries.

Canonical page: https://skillsregistry.net/skills/brutski-go-code-graph  
JSON: https://api.skillsregistry.net/v1/skills/brutski-go-code-graph

## Description

This Go code analysis and visualization system provides AI assistants with deep codebase understanding through static analysis and graph-based representation. Built by brutski, it parses Go source code using AST analysis to extract relationships between packages, structs, interfaces, functions, and methods, storing the resulting graph in Neo4j for complex querying and pattern detection. The implementation includes four main components: an analyzer that builds comprehensive code graphs with complexity metrics and optional semantic embeddings, a Neo4j-backed storage system supporting 9 node types and 12+ relationship types, an interactive web visualization using Cytoscape.js for enterprise-scale codebases, and an MCP server that translates natural language queries into Cypher for impact analysis, architecture detection, and code quality assessment. It serves development teams needing to understand large codebases, perform refactoring impact analysis, detect code patterns and duplicates, and onboard new developers through conversational interfaces that can answer questions about code structure, dependencies, and architectural patterns.

## Trust

- **Trust score (0–1):** 0.73
- **Verification tier:** verified
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** ai-ml
- **Updated:** 2026-09-28

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/brutski-go-code-graph)
- **Repository:** <https://github.com/brutski/go-code-graph>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "brutski-go-code-graph"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/brutski-go-code-graph` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/brutski-go-code-graph/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
