Back to Apps

ast2llm-go
by ast2llm
Inject precise Go AST analysis into LLM prompts for faster, more accurate code context.
0 stars
Works in:CursorVS Code Copilot
Exposes:Tools
What it does
ast2llm-go is a specialized MCP server that parses Go source code into Abstract Syntax Trees (AST) and converts it into a clean, LLM-friendly format. It helps AI models understand complex Go project structures, type declarations, and dependencies without the noise of raw source files.
Tools
parse-go: Analyzes Go project structure, identifies external type declarations, and packages the context for LLM prompts.
Installation
Add to claude_desktop_config.json:
{
"mcpServers": {
"go-ast": {
"command": "ast2llm-go"
}
}
}
Supported hosts
Confirmed for Cursor, Claude Desktop, and VS Code.
Quick install
curl -LsSf https://raw.githubusercontent.com/ast2llm/ast2llm-go/main/install.sh | shInformation
- Pricing
- free
- Published
- 6/3/2026
- stars
- 0
Categories
Choose your AI client and follow the steps below.
Cursor
Add to ~/.cursor/mcp.json: {"mcpServers": {"go-ast": {"command": "ast2llm-go", "args": []}}}Claude Desktop
{
"mcpServers": {
"go-ast": {
"command": "ast2llm-go"
}
}
}VS Code Copilot
Add to VS Code MCP config: {"servers": {"go-ast": {"type": "stdio", "command": "ast2llm-go"}}}





