1. Conduid
  2. Commerce
  3. mrjoshuak/godoc-mcp
MCP server · Commerce

mrjoshuak/godoc-mcp

MCP server that reduces LLM context usage when AI coding agents work with Go — structured documentation instead of source-file dumps.

Unclaimed MIT last commit 9 months ago commerce
60Good

Scored 21 hours ago · breakdown

About mrjoshuak/godoc-mcp

mrjoshuak/godoc-mcp is an MCP server published by mrjoshuak in the Commerce category: mCP server that reduces LLM context usage when AI coding agents work with Go — structured documentation instead of source-file dumps. Conduid read 2 tools from its source: get_doc and list_packages. No package is published for it, so it installs from a source checkout.

The repository has 131 stars and 17 forks, is licensed MIT, and its last commit was on 6 Mar 2026. The latest release is v1.1.0 (6 Mar 2026): New: list_packages tool Adds a new list_packages tool for discovering sub-packages under a Go import path. It follows v1.0.1 (17 Feb 2026), and the 3 most recent releases go back to v1.0.0 (17 Feb 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include commerce.

Install

From source
git clone https://github.com/mrjoshuak/godoc-mcp

Tools (2)

get_docGet Go documentation for a package, type, function, or method. This is the preferred and most efficient way to understand Go packages, providing official package documentation in a concise format. Use this before attempting to read source files directly. Results are cached and optimized for AI consumption. Best Practices: 1. ALWAYS try this tool first before reading package source code 2. Start with basic package documentation before looking at source code or specific symbols 3. Use -all flag when you need comprehensive package documentation 4. Only look up specific symbols after understanding the package overview Common Usage Patterns: - Standard library: Use just the package name (e.g., "io", "net/http") - External packages: Use full import path (e.g., "github.com/user/repo") - Local packages: Use relative path (e.g., "./pkg") or absolute path The documentation is cached for 5 minutes to improve performance.
ParameterTypeDescription
cmd_flagsarrayAdditional go doc flags: -all (all docs), -src (source code), -u (unexported symbols), -short, -c.
pagenumberPage number (1-based) for paginated results.
page_sizenumberLines per page.
path *stringPath to the Go package or file. Import path (e.g., 'io', 'github.com/user/repo') or local file path.
targetstringSpecific symbol to document (function, type, interface). Leave empty for full package docs.
working_dirstringWorking directory for module context. Required for relative paths (including '.').
list_packagesList all sub-packages under a Go package path. Use this to discover the correct import paths for sub-packages when you see types referenced from other packages (e.g., seeing "casext.Engine" and needing to find which sub-package provides it). Returns each sub-package's import path and synopsis. Use get_doc to read documentation for a specific package after finding it with this tool.
ParameterTypeDescription
path *stringRoot package import path (e.g., 'net', 'github.com/user/repo') or local path. All sub-packages will be listed.
working_dirstringWorking directory for module context. Required for relative paths.

Security checks

Static checks derived from the repository 11 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 1.1K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by go.sum.
  • ✓No dynamic code executionScanned 2 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdio, Streamable HTTP and HTTP with SSEmain.go:39, main.go:65, main.go:49
Starts other programs
4 callsserver.go:261, server.go:435, server.go:447
Outbound network calls
No outbound network calls
Writes or deletes files
6 callsserver.go:386, server.go:402, server.go:406
Lockfile
go.sum

Pattern matches on the source text of 2 files: places to read, not proof of what the code does at run time.

Releases

v1.1.0v1.1.0 · 6 Mar 2026New: `list_packages` tool Adds a new `list_packages` tool for discovering sub-packages under a Go import path. Solves the problem where LLMs guess incorrect sub-package import paths (e.g., `umoci/casext` instead of `umoci/oci/casext`).…
v1.0.1v1.0.1 · 17 Feb 2026Add ReadOnlyHint annotation on get_doc tool (signals to MCP clients the tool has no side effects) Cache temp project directories for 30 minutes (avoids repeated go get for the same package) Race-safe double-checked locking on project cache…
v1.0.0v1.0.0 · 17 Feb 2026What's New Docker image — available at `ghcr.io/mrjoshuak/godoc-mcp` with CI publishing (linux/amd64 + arm64) HTTP transports — SSE and Streamable HTTP via `--transport sse` / `--transport http` Upgraded mcp-go — v0.5.1 to v0.44.0 (MCP…

README

The repository's README runs to about 1.1K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About mrjoshuak/godoc-mcp

How do I install mrjoshuak/godoc-mcp?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is mrjoshuak/godoc-mcp safe to use with an AI agent?

Its trust score is 60 out of 100 (good). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Conduid's scan of 2 source files found that it serves MCP over stdio, Streamable HTTP and HTTP with SSE, starts other programs (4 calls) and writes or deletes files (6 calls). Its dependencies are pinned by go.sum. It has no ConduID identity yet, so agent calls to it are not receipted.

Is mrjoshuak/godoc-mcp still maintained?

The last commit was 9 months ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.

What tools does mrjoshuak/godoc-mcp provide?

Conduid read 2 tools from the source: get_doc and list_packages. 2 of them publish their parameters, listed under Tools above.

What license is mrjoshuak/godoc-mcp released under?

The repository declares the MIT license. That applies to the latest release, v1.1.0, as well.