godoc-mcp-server
@yikakia
About godoc-mcp-server
A mcp server provide infomation from pkg.go.dev. For all golang programmers
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is godoc-mcp-server?
godoc-mcp-server is an MCP (Model Context Protocol) server that searches Go packages and their documentation from pkg.go.dev, providing the information to an LLM. It is intended for developers using LLMs who need to look up Go package details.
How to use godoc-mcp-server?
Download a compiled binary from the releases page or install from source with go install github.com/yikakia/godoc-mcp-server/cmd/godoc-mcp-server@latest. The server operates on stdio – just use your MCP client to request.
Key features of godoc-mcp-server
- Search for Go packages on pkg.go.dev
- Retrieve detailed package documentation (including examples)
- Support for subpackages (combines parent + subpackage names)
- Local caching to avoid repeated network requests
- Shows the number of other packages that import a given package
Use cases of godoc-mcp-server
- An LLM assistant answering questions about Go standard library or third-party packages
- Searching for packages by name and retrieving their documentation (including subpackages)
- Getting import counts to assess package popularity
- Fetching code examples for a specific package or subpackage
FAQ from godoc-mcp-server
How do I install godoc-mcp-server?
You can download a precompiled binary from the releases page or compile it yourself with go install github.com/yikakia/godoc-mcp-server/cmd/godoc-mcp-server@latest.
What transport does godoc-mcp-server use?
It uses stdio as the transport – no HTTP server or authentication is involved.
How does subpackage handling work?
The server’s searchPackage tool returns subpackage names (without the parent prefix). When the LLM calls getPackageInfo, it should combine the parent package name with the subpackage name (e.g., github.com/mark3labs/mcp-go/mcp/client). The tool description instructs the LLM how to do this.
Does godoc-mcp-server cache results?
Yes, it includes a local cache to avoid fetching the same data from pkg.go.dev on every request.
What data does godoc-mcp-server access?
All data is fetched live from pkg.go.dev; the server does not store data permanently (aside from the optional local cache).
Frequently asked questions
How do I install godoc-mcp-server?
You can download a precompiled binary from the [releases page](https://github.com/yikakia/godoc-mcp-server/releases/latest) or compile it yourself with `go install github.com/yikakia/godoc-mcp-server/cmd/godoc-mcp-server@latest`.
What transport does godoc-mcp-server use?
It uses stdio as the transport – no HTTP server or authentication is involved.
How does subpackage handling work?
The server’s `searchPackage` tool returns subpackage names (without the parent prefix). When the LLM calls `getPackageInfo`, it should combine the parent package name with the subpackage name (e.g., `github.com/mark3labs/mcp-go/mcp/client`). The tool description instructs the LLM how to do this.
Does godoc-mcp-server cache results?
Yes, it includes a local cache to avoid fetching the same data from pkg.go.dev on every request.
What data does godoc-mcp-server access?
All data is fetched live from pkg.go.dev; the server does not store data permanently (aside from the optional local cache).
Basic information
More Other MCP servers
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。

DeepMark
DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.
Comments