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 the releases page. Or you can install it from source, compile it by yourself: just use your client to request. it servers on stdio - localCache - [x] use a local cache to avoid search every time(From reddit user) - searchPackage - [x] imported by how many pac
Add this skill
npx mdskills install yikakia/godoc-mcp-serverProvides Go package search and documentation retrieval from pkg.go.dev with good tool chaining guidance.
1# godoc-mcp-server23search golang packages and their docs from pkg.go.dev, provide the infomation to llm as mcp server45## Install67You can download the compiled binary from the [releases page](https://github.com/yikakia/godoc-mcp-server/releases/tag/latest).89Or you can install it from source, compile it by yourself:1011```shell12go install github.com/yikakia/godoc-mcp-server/cmd/godoc-mcp-server@latest13```1415## Usage1617just use your client to request. it servers on stdio1819## Todo2021- localCache22 - [x] use a local cache to avoid search every time(From reddit user)23- searchPackage24 - [x] imported by how many packages25- getPackageInfo26 - [ ] get examples27- release28 - [x] use github actions to release for multiple platforms2930## Develop Experience31The description is very important, when describing the param should tell the client how32to use one tool's output and change the format to match another tool's input.3334For example, the output of `searchPackage` contains subpackage's name, but do not contain35the package's name. So if want the llm to use `getPackageInfo` to get the subpackage's info,36I wrote the description for param `packageName` about how to use it to work with `searchPackage`:3738> package name for search. if use searchPackages before, and user want to get the39subpackage info. you should plus them for example, when user query mcp, and it return40packageName: github.com/mark3labs/mcp-go/mcp and subpackage client, then if user want41to get the client package info, you should set the packageName to42github.com/mark3labs/mcp-go/mcp/client rather than client434445When using this detail description, the llm will tell you some subpackage's name after46search. You can just tell it which package you want to get info, or which package and the47subpackage's name, it will combine them and call `getPackageInfo` to get the info.484950So maybe we should make the description configurable by user, to make the tool more useful51and efficiency.5253## Library Usage5455The exported Go API of this module should currently be considered unstable, and subject to56breaking changes. In the future, we may offer stability; please file an issue if there is57a use case where this would be valuable.585960## License6162This project is licensed under the terms of the MIT open source license. Please refer63to [MIT](./LICENSE) for the full terms.64
Full transparency — inspect the skill content before installing.