Go Code Graph
Analyzes Go codebases using AST parsing and Neo4j graph storage to enable natural language queries about code structure, dependenc
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.
Source
Repository: https://github.com/brutski/go-code-graph
Maintain Go Code Graph?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[Go Code Graph on getagentictools](https://getagentictools.com/mcp/brutski-go-code-graph?ref=badge)