godoc-mcp-server
search golang packages and their docs from pkg.go.dev, provide the infomation to llm as mcp server
Install
You can download the compiled binary from the releases page.
Or you can install it from source, compile it by yourself:
接入你的智能体
从发布者处安装。不是 PlugMCP 端点。
远程 URL 还是本机命令? 两种安装方式的区别
来自发布者
search golang packages and their docs from pkg.go.dev, provide the infomation to llm as mcp server
You can download the compiled binary from the releases page.
Or you can install it from source, compile it by yourself:
A mcp server provide infomation from pkg.go.dev. For all golang programmers
go install github.com/yikakia/godoc-mcp-server/cmd/godoc-mcp-server@latest
just use your client to request. it servers on stdio
The description is very important, when describing the param should tell the client how to use one tool's output and change the format to match another tool's input.
For example, the output of searchPackage contains subpackage's name, but do not contain
the package's name. So if want the llm to use getPackageInfo to get the subpackage's info,
I wrote the description for param packageName about how to use it to work with searchPackage:
package name for search. if use searchPackages before, and user want to get the subpackage info. you should plus them for example, when user query mcp, and it return packageName: github.com/mark3labs/mcp-go/mcp and subpackage client, then if user want to get the client package info, you should set the packageName to github.com/mark3labs/mcp-go/mcp/client rather than client
When using this detail description, the llm will tell you some subpackage's name after
search. You can just tell it which package you want to get info, or which package and the
subpackage's name, it will combine them and call getPackageInfo to get the info.
So maybe we should make the description configurable by user, to make the tool more useful and efficiency.
The exported Go API of this module should currently be considered unstable, and subject to breaking changes. In the future, we may offer stability; please file an issue if there is a use case where this would be valuable.
This project is licensed under the terms of the MIT open source license. Please refer to MIT for the full terms.
A mcp server provide infomation from pkg.go.dev. For all golang programmers
工具
暂无工具列表。远程服务器在首次健康检查后会获得工具列表。
常见问题
在本页复制适用于 Cursor、Claude Desktop、Claude Code 或 VS Code 的 stdio 配置。它使用发布者的安装方式,而不是 PlugMCP 代理。
此记录未列出必需的环境变量。
Godoc 通过 stdio 在本地运行。
上次检查时间:2026-10-28。 A mcp server provide infomation from pkg.go.dev. For all golang programmers