godoc-mcp

godoc-mcp

3.5

If you are the rightful owner of godoc-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

`godoc-mcp` provides a more token efficient way for LLMs to understand Go projects.

`godoc-mcp` is a Model Context Protocol (MCP) server that provides efficient access to Go documentation. It helps LLMs understand Go projects by providing direct access to package documentation without needing to read entire source files. `godoc-mcp` can vastly improve the performance of using LLMs to develop in Go by substantially reducing the number of tokens needed to understand and make use of Go packages.

Features

  • Efficient Documentation Access: Retrieves official Go documentation with minimal token usage
  • Smart Package Discovery: Lists available Go packages in subdirectories when pointed at a directory without Go files
  • Flexible Path Support: Supports local file paths and import paths
  • Automatic Module Context: Creates temporary Go projects and sets up module context automatically
  • Performance Optimized: Built-in response caching and efficient token usage