godoc-mcp-server
MCP server to provide golang packages and their information from pkg.go.dev
godoc-mcp-server
search golang packages and their docs from pkg.go.dev, provide the infomation to llm as mcp server
Install
You can download the compiled binary from the releases 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
Usage
just use your client to request. it servers on stdio
Todo
- localCache
- use a local cache to avoid search every time(From reddit user)
- searchPackage
- imported by how many packages
- getPackageInfo
- fixme: subpackage need new adapter
- get examples
- release
- use github actions to release for multiple platforms
Develop Experience
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 of searchPackage contains subpackage's name, but do not contain
the package's name. So if want the llm to use getPackageInfo to get the subpackage's info,
I wrote the description for param packageName about how to use it to work with searchPackage:
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 call getPackageInfo to get the info.
So maybe we should make the description configurable by user, to make the tool more useful and efficiency.
Library Usage
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.
License
This project is licensed under the terms of the MIT open source license. Please refer to MIT for the full terms.
관련 서버
Scout Monitoring MCP
스폰서Put performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
스폰서Access financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
kintone
An MCP server for integrating with the kintone REST API. Supports CRUD operations, file management, comments, and status updates.
Terraform Registry MCP Server
An MCP server for interacting with the Terraform Registry API. It allows querying for providers, resources, modules, and supports Terraform Cloud operations.
Kaggle MCP
Get access to Kaggle's datasets, models, competitions, notebook and benchmarks.
Jadx MCP Plugin
A Java plugin that exposes the Jadx decompiler API over HTTP for interaction with MCP clients.
SCMCP
A natural language interface for single-cell RNA sequencing (scRNA-Seq) analysis, supporting various modules from IO to enrichment.
MCP Shell
Execute secure shell commands from AI assistants and other MCP clients, with configurable security settings.
Neo N3 MCP Server
Integrates with the Neo N3 blockchain for wallet management, asset transfers, contract interactions, and blockchain queries.
Kafka MCP
A natural language interface to manage Apache Kafka operations.
KiCad MCP Server
An MCP server for KiCad providing project management, PCB design analysis, BOM management, and design rule checking.
MCP Tools
Provides file system and command execution tools for LLM clients like Claude Desktop.