godoc-mcpServer

mrjoshuak
GitHub
GoDocumentationLLM Integration

Loading subscription status...

💡 Description

The `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, thereby improving token efficiency and performance.

📝 JSON Entries

{
  "mcpServers": [
    {
      "godoc": {
        "env": {
          "GOPATH": "/path/to/go",
          "GOMODCACHE": "/path/to/go/pkg/mod"
        },
        "args": [],
        "command": "/path/to/godoc-mcp"
      }
    }
  ]
}

Features

  • Token Efficiency
  • Structured Information
  • Project Navigation
  • Integration Ready
  • Performance Optimized
  • Local Documentation Access

💬 Example Queries

  • I'm looking at a Go project at /path/to/some/project. What packages does it contain and what do they do?
  • What interfaces does the io package provide? I'm particularly interested in anything related to reading.
  • I need to implement the io.Reader interface. Show me its documentation and any related types I should know about.