gophermcp
About
An MCP server to help LLM:s write better Go code
Details
- Author
- njern
- Downloads
- 308
- Categories
- Other
Jump to
- Provides Go documentation for any package
- Helps LLMs use current docs instead of outdated training data
- Simple installation via go install
- Integrates with Cursor through MCP configuration
- Licensed under the MIT License
Install the server with go install github.com/njern/gophermcp. To use it with Cursor, create an mcp.json file in the .cursor directory of your project root and add the server configuration with the command path to the gophermcp binary.
gophermcp

Overview
gopherMCP is an MCP (Model Context Protocol) server that provides a client access to Go documentation for any package. If you are using an LLM to edit code, this can help the LLM look up documentation and not need to rely on outdated docs it may have in its own training data.
Installation
go install github.com/njern/gophermcp
Using the server with Cursor
- Create an mcp.json file in the .cursor directory in your project root folder unless one already exists.
- Add gophermcp like this:
{
"mcpServers": {
"gophermcp": {
"command": "/path/to/go/binaries/gophermcp",
"args": []
}
}
}
License
This project is licensed under the MIT License - see the LICENSE file for details.
Future plans
Expand into other tools which may be useful for an LLM creating Go code.
Acknowledgements
This project was inspired by godoc-mcp, which forms the basis for the godoc package.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



