Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI โ†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE โ†— (opens in a new tab)
  • llms.txt โ†— (opens in a new tab)
  • Catalog JSON โ†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub โ†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
ยฉ 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. ๐Ÿ› ๏ธ Other Tools and Integrations
  3. Godoc MCP
Godoc MCP logo
Health: ActiveRecent health check succeeded.Last checked 9/9/2026, 7:05:20 PM

Godoc MCP

User RatingsBe the first to rate and review this MCP server!
View Repository124 GitHub StarsTotal stargazers on GitHub for the source repository (124 stars).Visit Website
godocumentationdeveloper-toolsmcp

Local MCP server that gives AI assistants token-efficient access to Go package, type, function, and method documentation.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ€” we're steadily working through the catalog.

Manual Client & Custom JSON ConfigExpand JSON โ–พ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mrjoshuak-godoc-mcp": {
      "command": "go",
      "args": [
        "run",
        "github.com/mrjoshuak/godoc-mcp@latest"
      ]
    }
  }
}

๐Ÿ’ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Tool Schemas (2) Directory Badge Claim listing Alternatives๐Ÿ› ๏ธ More in Other Tools and Integrations

Overview

godoc-mcp retrieves focused Go documentation for local directories, import paths, standard-library packages, and third-party packages. Use it when an AI assistant needs to understand Go APIs or navigate multi-package projects without reading entire source files. It supports stdio, SSE, and streamable HTTP transports.

Use cases

โ€ขInspect documentation for a Go package or exported symbol
โ€ขDiscover sub-packages under a Go project directory
โ€ขExplore standard-library and third-party package APIs
โ€ขUnderstand types, functions, methods, and interfaces
โ€ขNavigate multi-package Go projects

Key features

โ€ขGet documentation for packages, types, functions, and methods
โ€ขList sub-packages under a Go package path
โ€ขAccept local file paths and Go import paths
โ€ขCreate temporary module context for external packages
โ€ขCache responses for repeated documentation requests
โ€ขSupport stdio, SSE, and streamable HTTP transports

Capabilities & Tool Schemas (2) ~53 tokensApproximate context cost of this serverโ€™s tool schemas (~4 chars/token), before any tool is called. Actual usage depends on your client and model.Self-reported Self-reportedParsed from the repository README, not verified against a live server โ€” may be incomplete or out of date.

Inspect callable tools, capabilities, and parameters exposed to AI agents by Godoc MCP.

get_doc

Get documentation for a Go package, type, function, or method.

list_packages

List all sub-packages under a Go package path. Use this to discover the correct import paths for sub-packages instead of guessing.

Documentation Overview

godoc-mcp

Go Report Card Go Reference License

Overview

godoc-mcp is a Model Context Protocol (MCP) server that provides efficient access to Go documentation. It helps LLMs understand Go projects by providing direct access to package documentation without needing to read entire source files. godoc-mcp can vastly improve the performance of using LLMs to develop in Go by substantially reducing the number of tokens needed to understand and make use of Go packages.

Getting Started

bash
go install github.com/mrjoshuak/godoc-mcp@latest

Why Use godoc-mcp?

In a sentence: godoc-mcp provides a more token efficient way for LLMs to understand Go projects.

Traditional file-reading approaches require LLMs to process entire source files often many files to understand a single package. godoc-mcp provides several advantages:

  1. Token Efficiency: Returns only the essential documentation, reducing token usage significantly
  2. Structured Information: Provides official package documentation in a consistent, well-structured format
  3. Project Navigation: Smart handling of project structures helps LLMs understand multi-package projects
  4. Integration Ready: Works alongside other MCP servers, enabling both high-level and detailed code analysis
  5. Performance: Caching and optimized token usage make godoc-mcp a fast and efficient tool for Go development
  6. Local: Does not require an internet connection to access documentation

With godoc-mcp, a LLM can get precisely the information it needs without having to read entire source files. Here are the different levels of detail that an LLM can get.

  • Documentation for one exported symbol
  • The complete source for one symbol
  • A list of all exported symbols (the concise documentation)
  • A list of all symbols including unexported symbols
  • The full documentation for a package
  • The entire source for a package

This makes godoc-mcp an essential tool for Go developers using LLMs by enabling LLMs to understand significantly more, and in more detail, about the context than previously possible in any programming language.

Features

The server will:

  1. For directories with Go files: Return package documentation
  2. For directories without Go files: List available Go packages in subdirectories
  3. For import paths: Return standard library or third-party package documentation
  • Efficient Documentation Access: Retrieves official Go documentation with minimal token usage
  • Smart Package Discovery: When pointed at a directory without Go files, lists available Go packages in subdirectories
  • Flexible Path Support:
    • Local file paths (e.g., "/full/path/to/mypackage")
    • Import paths (e.g., "io", "github.com/user/repo")
  • Automatic Module Context:
    • Creates temporary Go projects when needed
    • Automatically sets up module context for external packages
    • No manual module setup required for any package documentation
    • Handles cleanup of temporary projects
  • Module-Aware: Supports documentation for third-party packages through working directory context (i.e. it will run go doc from the working directory)
  • Performance Optimized:
    • Built-in response caching
    • Efficient token usage through focused documentation retrieval
    • Metadata about response sizes
    • Smart handling of standard library vs external packages

Examples

In addition to providing documentation while working on coding tasks. godoc-mcp can also be used to explore Go projects and packages. Here are some examples for general prompting:

Project Understanding

"I'm looking at a Go project at /path/to/some/project. What packages does it contain and what do they do?"

Package Interface Understanding

"What interfaces does the io package provide? I'm particularly interested in anything related to reading."

Implementation Guidance

"I need to implement the io.Reader interface. Show me its documentation and any related types I should know about."

API Usage

"Show me the documentation for the Resource type in the /path/to/some/project. I need to understand how to create and use it."

Library Exploration

"I'm in /path/to/some/project which uses github.com/gorilla/mux. Show me the documentation for the Router type."

Method Discovery

"What methods are available on the http.Request type? I'm working with standard library HTTP handlers."

Focused Learning

"Explain how to configure the Server type in the /path/to/project/server package."

Package Browsing

"I'm in a new Go project directory and see multiple packages. Can you show me what each one does?"

Usage

Transport Options

godoc-mcp supports three transport modes:

  • stdio (default): Standard input/output, for local MCP clients like Claude Desktop
  • sse: Server-Sent Events over HTTP, for web-based MCP clients
  • http: Streamable HTTP, the MCP specification's recommended HTTP transport
bash
# Default stdio mode
godoc-mcp

# SSE mode on port 8080
godoc-mcp --transport sse --addr :8080

# Streamable HTTP mode
godoc-mcp --transport http --addr :9090

Docker

Terminal
docker pull ghcr.io/mrjoshuak/godoc-mcp:latest

For use with Docker MCP Gateway, add to your MCP configuration:

config.json
{
  "mcpServers": {
    "godoc": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "ghcr.io/mrjoshuak/godoc-mcp:latest"]
    }
  }
}

To access local project documentation, mount your project directory and use /workspace as the working_dir parameter:

config.json
{
  "mcpServers": {
    "godoc": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "-v", "/path/to/project:/workspace", "ghcr.io/mrjoshuak/godoc-mcp:latest"]
    }
  }
}

To run with SSE transport via Docker:

Terminal
docker run --rm -p 8080:8080 ghcr.io/mrjoshuak/godoc-mcp:latest --transport sse --addr :8080

Claude Code

Terminal
claude mcp add godoc-mcp -- godoc-mcp

Claude Desktop

To add to the Claude desktop app, edit your MCP config:

config.json
{
  "mcpServers": {
    "godoc": {
      "command": "godoc-mcp"
    }
  }
}

If go doc can't find your Go installation, add environment variables:

config.json
{
  "mcpServers": {
    "godoc": {
      "command": "godoc-mcp",
      "env": {
        "GOPATH": "/path/to/go",
        "GOMODCACHE": "/path/to/go/pkg/mod"
      }
    }
  }
}

Tools

godoc-mcp provides two tools:

get_doc

Get documentation for a Go package, type, function, or method.

  • path (required): Package import path (e.g., io, github.com/user/repo) or local file path
  • target (optional): Specific symbol to document (function, type, etc.)
  • cmd_flags (optional): Additional go doc flags (allowed: -all, -src, -u, -short, -c)
  • working_dir (optional): Working directory for module context (required for relative paths)
  • page (optional): Page number for paginated results (default: 1)
  • page_size (optional): Lines per page, 100-5000 (default: 1000)

list_packages

List all sub-packages under a Go package path. Use this to discover the correct import paths for sub-packages instead of guessing.

  • path (required): Root package import path (e.g., net, github.com/user/repo)
  • working_dir (optional): Working directory for module context (required for relative paths)

Troubleshooting

  • For local paths, ensure they contain Go source files or point to directories containing Go packages
  • If you see module-related errors, ensure GOPATH and GOMODCACHE environment variables are set correctly in your MCP server configuration
  • The server automatically handles module context for external packages, but you can still provide a specific working_dir if needed for special cases

License

This project is licensed under the MIT License - see the LICENSE file for details.

Read the full README โ†’View source on GitHub โ†’

Related MCP Servers

View all in Other Tools and Integrations View all alternatives
  • Git logoGit
    Verified

    Tools to read, search, and manipulate Git repositories.

    ๐Ÿ› ๏ธ Other Tools and Integrations4 views
    Compare vs Git โ†’
  • Time logoTime
    Verified

    Time and timezone conversion capabilities.

    ๐Ÿ› ๏ธ Other Tools and Integrations3 views
    Compare vs Time โ†’
  • Server Everything logoServer Everything

    MCP server that exercises all the features of the MCP protocol

    ๐Ÿ› ๏ธ Other Tools and Integrations6 views
    Compare vs Server Everything โ†’
  • Filesystem logoFilesystem
    Verified

    Secure file operations with configurable access controls.

    ๐Ÿ› ๏ธ Other Tools and Integrations2 views
    Compare vs Filesystem โ†’

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks โ€” not a rating.

GitHub stars
124
Stargazers on the source repository.
Last commit
6mo ago
Most recent push to the default branch.
Tools exposed
2
Callable tools this server registers over MCP.
Directory activity
2 views
Config copies, upvotes, and views on AllMCPs.

Reviews

No reviews yet โ€” be the first to share how this listing worked for you.

Frequently Asked Questions about Godoc MCP

It can retrieve documentation for Go packages, types, functions, and methods, including standard-library and third-party packages.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGodoc MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mrjoshuak-godoc-mcp?style=directory)](https://allmcps.com/mcp/mrjoshuak-godoc-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/mrjoshuak-godoc-mcp"><img src="https://allmcps.com/api/badge/mrjoshuak-godoc-mcp?style=directory" alt="Godoc MCP on AllMCPs" /></a>

Technical Specs & Signals

Category๐Ÿ› ๏ธOther Tools and Integrations
PricingFree
More technical detailsExpand โ–พ
TransportSTDIO
RuntimeGo
AuthNo auth required
LicenseMIT
ClientsClaude Desktop
Last updatedAug 10, 2026
Views2
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars124
GitHub Star CountTotal stargazers on GitHub representing community popularity (124 stars).
Last commit6mo ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Mar 6, 2026
55Quality signal: Good ยท 55/100How this signal is calculated โ–พ
Server availabilityNot measured

Not scored for repo-hosted servers โ€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools27/30
Adoption & activity4/15
Community engagement0/10

A guidance signal from public completeness & health data โ€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

โ˜… FeaturedMoxie Docs MCP logo

Moxie Docs MCP

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

Explore Server โ†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge โ€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it โ€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in ๐Ÿ› ๏ธ Other Tools and Integrations โ†’Alternatives to Godoc MCP โ†’Install in Claude DesktopInstall in CursorInstall in VS Code