godoc-mcp-server

by yikakia

38 stars
335 downloads
Not rated
GitHub

About

MCP server to provide golang packages and their information from pkg.go.dev

Details

Author
yikakia
GitHub stars
38
Downloads
335
Categories
Developer Tools, Community, Other

- Search for Go packages on pkg.go.dev
- Retrieve detailed package documentation (including examples)
- Support for subpackages (combines parent + subpackage names)
- Local caching to avoid repeated network requests
- Shows the number of other packages that import a given package

Download a compiled binary from the releases page or install from source with go install github.com/yikakia/godoc-mcp-server/cmd/godoc-mcp-server@latest. The server operates on stdio – just use your MCP client to request.

MCP server to provide golang packages and their information from pkg.go.dev

search golang packages and their docs from pkg.go.dev, provide the infomation to llm as mcp server

You can download the compiled binary from thereleases page.

Or you can install it from source, compile it by yourself:

go install github.com/yikakia/godoc-mcp-server/cmd/godoc-mcp-server@latest

just use your client to request. it servers on stdio

- localCache

- use a local cache to avoid search every time(From reddit user)

- fixme: subpackage need new adapter
- get examples

- use github actions to release for multiple platforms

The description is very important, when describing the param should tell the client how to use one tool's output and change the format to match another tool's input.

For example, the output ofsearchPackagecontains subpackage's name, but do not contain the package's name. So if want the llm to usegetPackageInfoto get the subpackage's info, I wrote the description for parampackageNameabout how to use it to work withsearchPackage:

package name for search. if use searchPackages before, and user want to get the subpackage info. you should plus them for example, when user query mcp, and it return packageName: github.com/mark3labs/mcp-go/mcp and subpackage client, then if user want to get the client package info, you should set the packageName to github.com/mark3labs/mcp-go/mcp/client rather than client

When using this detail description, the llm will tell you some subpackage's name after search. You can just tell it which package you want to get info, or which package and the subpackage's name, it will combine them and callgetPackageInfoto get the info.

So maybe we should make the description configurable by user, to make the tool more useful and efficiency.

The exported Go API of this module should currently be considered unstable, and subject to breaking changes. In the future, we may offer stability; please file an issue if there is a use case where this would be valuable.

This project is licensed under the terms of the MIT open source license. Please refer toMITfor the full terms.

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

A Model Context Protocol (MCP) server that enables AI assistants to integrate with Prometheus Alertmanager

A comprehensive MCP server for tooling interactions(40+) and resource accessibility(60+) plus many useful prompts to interact with Algorand Blockchain.

An MCP server that provides control over Android devices through ADB. Offers device screenshot capture, UI layout analysis, package management, and ADB command execution capabilities.

A Binary Ninja plugin, MCP server, and bridge that seamlessly integrates Binary Ninja with your favorite MCP client.

integration that connects BloodHound with AI through MCP, allowing security professionals to analyze Active Directory attack paths using natural language queries instead of Cypher.

A specialized MCP gateway for LLM enhancement prompts and jailbreaks with dynamic schema adaptation. Provides prompts for different LLMs using an enum-based approach.

Obtains latest dependency details for Clojure libraries.

A Model Context Protocol (MCP) server for CODESYS V3 programming environments.

Analyze large codebases and document collections using high-context models via OpenRouter, OpenAI, or Google AI -- very useful, e.g., with Claude Code

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.