godoc-mcp-server
JSON →MCP server to provide golang packages and their information from pkg.go.dev
Tools · 2
- searchPackage Search for Go packages on pkg.go.dev. Returns package information including subpackage names. The output contains subpackage names but not the full package path, so when using with getPackageInfo, you need to combine the package name with subpackage name (e.g., if search returns packageName: github.com/mark3labs/mcp-go/mcp and subpackage client, use github.com/mark3labs/mcp-go/mcp/client as the packageName parameter).
- getPackageInfo Get detailed information about a specific Go package including documentation and examples. The packageName parameter should be the full import path. When used after searchPackage, combine the base package name with any subpackage name (e.g., github.com/mark3labs/mcp-go/mcp/client instead of just client).
Links
★ 36 GitHub stars