Go Architecture X-Ray
Inspect Go codebases from an AI client, providing deep architectural insights and comprehensive code analysis.
Go Architecture X-Ray is a specialized Model Context Protocol (MCP) server designed to empower AI clients with an in-depth understanding of Go codebases. Running over standard I/O, it meticulously analyzes Go projects, offering sophisticated tools to explore call graphs, import dependencies, struct lifecycles, and architecture boundaries. This tool acts as an intelligent backend, enabling AI agents to query, comprehend, and assist in maintaining, refactoring, and optimizing complex Go applications by providing structured analysis data and visual diagram exports.
主な機能
01Comprehensive Workspace Management for listing entrypoints, HTTP routes, dead code, and duplicate methods
02Advanced Struct Analysis to trace instantiation, mutation, interface handoff, and concurrency risks
03Deep Call Graph & Reachability Analysis with configurable depth and edge labeling
04Import Graph analysis including cycle detection and architecture boundary enforcement
05Export analysis results as Mermaid, Graphviz DOT, or JSON-Graph diagrams for visualization
060 GitHub stars
ユースケース
01Empowering AI agents to understand, navigate, and interact with the structure of Go codebases.
02Identifying and resolving architectural issues such as import cycles, boundary violations, and potential concurrency flaws.
03Assisting in refactoring and optimizing large Go applications by locating dead code, duplicate methods, and tracing critical execution paths.