This server wraps Go's `go doc` command to give Claude direct access to Go package documentation without parsing entire source files. It exposes two tools: `get_doc` for retrieving documentation on specific packages, types, or functions, and `list_packages` for discovering available subpackages. You can query standard library packages like `io` or `net/http`, third-party imports like `github.com/gorilla/mux`, or local project paths. The server handles module context automatically and supports pagination for large documentation. Perfect when you're working on Go projects and need Claude to understand APIs and interfaces efficiently rather than reading through raw source code.
claude mcp add --transport stdio mrjoshuak-godoc-mcp uvx godoc-mcp