LabscoMCP early access ↗
captjtMCP SERVER

GoDoc MCP

Current Go package docs from pkg.go.dev — functions, types, examples and versions — instead of what a model remembers.

by captjt ↗Framework & SDK Documentation LookupCommunity

LABSCO SUMMARY

Go docs as they are today, not as the model remembers them.

A model's picture of a fast-moving Go package is often a release or two behind. These six tools read the current signature, type, examples or version list straight from pkg.go.dev, or at the exact version you name. It is still marked as in development, and pkg.go.dev's rate limits are the practical ceiling.

What it is

A Go documentation server that fetches package docs live from pkg.go.dev, with package search and version lookup from the official Go module index. Its README marks it as still in development.

What you get

  • get_package_doc — a package's documentation, at a version you name or the latest
  • get_function_doc and get_type_doc — one function's signature and docs, or a type with its methods
  • search_packages — find Go packages by name or description
  • get_package_examples — a package's example code
  • get_package_versions — every published version of a module, from the official module index
  • Caching, with a fallback to cached data when pkg.go.dev cannot be reached

Requirements

No account or key. Node.js and npm to build a clone (npm install, then npm run build); your client then runs dist/index.js with node. The README warns that pkg.go.dev rate-limits requests aggressively.

Setup effort

Build from source — git clone https://github.com/captjt/godoc-mcp.git