ast2llm-go for MCP
Ast2llm Go: Enhanced Go Context for LLMs
- Free
- 4.7
- V v20250622-c17a
Ast2llm Go: Enhanced Go Context for LLMs
Ast2llm Go is an MCP server tool developed by Ast2llm, built with the Go programming language. This free program functions as a local AST-powered context enhancement tool for Large Language Models. It improves LLM understanding of Go codebases by providing structured context. Ast2llm Go connects to various LLMs and supported MCP clients, including popular AI development environments. Its primary goal is to accelerate context resolution and deliver precise Go project details to AI clients, making it a valuable addition for developers working with Go and advanced AI assistance.
What does Ast2llm Go connect to?
Ast2llm Go is an MCP server tool that establishes connections with Large Language Models to augment their understanding of Go code. It also integrates with supported Model Context Protocol (MCP) clients, enabling its functionality within developer workflows. Confirmed compatible AI clients include Cursor, Claude, and VS Code. This connectivity allows the program to act as an intermediary, supplying detailed Go project context directly to AI tools for improved code analysis and generation capabilities.
Core features and tools
Ast2llm Go exposes a specific callable tool named parse-go. This tool is designed to analyze the structure of Go projects, accurately identifying external type declarations within the codebase. It then packages this contextual information for consumption by Large Language Models. The program supports the standard stdio transport protocol, ensuring compatibility with various AI clients. Its core function revolves around extracting and structuring Go project details to enrich LLM prompts, making AI interactions more informed and precise.
Who is it for?
Ast2llm Go is intended for developers who work with the Go programming language and utilize Large Language Models, particularly those employing MCP-compatible AI clients. Its capabilities are tailored for individuals seeking to enhance their AI's understanding of Go code structures and type definitions. This program is beneficial for accelerating context resolution in AI-assisted development. Skip this if you do not work with Go projects or do not use MCP-compatible AI clients.
How to get started
No credentials are required for Ast2llm Go. The program communicates using the stdio transport protocol.
Use cases
- Automatically injecting relevant Go code structure, such as struct field definitions, into LLM prompts to enhance the LLM's understanding of the codebase.
- Providing 3-5x faster context resolution for LLMs compared to graph-based approaches.
- Analyzing Go project structures and identifying external type declarations for LLM consumption.
Ast2llm Go offers a focused solution for Go developers using LLMs, delivering specific project context efficiently. Its ability to analyze Go code and provide structured data directly to AI clients significantly aids in code comprehension and generation. The program's design for MCP-compatible clients makes it a practical addition to modern development environments. Try injecting relevant Go code structure into LLM prompts to observe its impact on AI understanding.
Pros
- Enhances LLM understanding of Go code.
- Provides faster context resolution.
- Identifies external Go type declarations.
- Compatible with major AI clients.
Cons
- Requires Go 1.22 or higher for source build.
- Primarily focused on Go language projects.
ast2llm-go for MCP
- Free
- 4.7
- V v20250622-c17a
Top downloads

onlyboxes
Onlyboxes: A Self-Hosted Sandbox for AI Code Execution and Terminal Sessions
zcode-jetbrains-plugin
ZCode JetBrains plugin brings agentic coding into JetBrains IDEs

wordpress-mcp-elementor-wppilot
Builder-aware AI co‑developer for Elementor-powered WordPress sites

RustAPI
Rustapi: An AI-First Web Framework for Rust MCP Servers

rlm
rlm: MCP server for context-aware code querying and surgical edits