gophermcp
gopherMCP is an MCP server that provides access to Go documentation for any package, aiding LLMs in code editing by offering up-to-date documentation.
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 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.
Related MCP Servers
View all developer_tools servers →context7
by upstash
Context7 MCP provides up-to-date, version-specific documentation and code examples directly into your prompt, enhancing the capabilities of LLMs by ensuring they use the latest information.
git-mcp
by idosal
GitMCP is a free, open-source, remote Model Context Protocol (MCP) server that transforms GitHub projects into documentation hubs, enabling AI tools to access up-to-date documentation and code.
exa-mcp-server
by exa-labs
A Model Context Protocol (MCP) server allows AI assistants to use the Exa AI Search API for real-time web searches in a secure manner.
Sequential Thinking
by modelcontextprotocol
An MCP server implementation that provides a tool for dynamic and reflective problem-solving through a structured thinking process.
Everything MCP Server
by modelcontextprotocol
The Everything MCP Server is a comprehensive test server designed to demonstrate the full capabilities of the Model Context Protocol (MCP). It is not intended for production use but serves as a valuable tool for developers building MCP clients.
gateway
by centralmind
CentralMind Gateway is a tool designed to expose databases to AI agents via MCP or OpenAPI protocols, providing secure, LLM-optimized APIs.
mcpdoc
by langchain-ai
MCP LLMS-TXT Documentation Server provides a structured way to manage and retrieve LLM documentation using the Model Context Protocol.