gophermcp logo

gophermcp

by njern

gopherMCP is an MCP (Model Context Protocol) server that provides client access to Go documentation for any package. It helps LLMs look up documentation without relying on outdated training data.

View on GitHub

Last updated: N/A

What is gophermcp?

gopherMCP is an MCP server that serves Go documentation to clients, particularly useful for LLMs editing Go code.

How to use gophermcp?

Install using go install github.com/njern/gophermcp. Configure your MCP client (e.g., Cursor) by adding gophermcp to the mcp.json file with the command pointing to the gophermcp executable.

Key features of gophermcp

  • Provides up-to-date Go documentation

  • MCP server for easy integration with LLMs

  • Access to documentation for any Go package

  • MIT License

Use cases of gophermcp

  • Assisting LLMs in generating accurate Go code

  • Providing real-time documentation to code editors

  • Enabling LLMs to understand Go code context

FAQ from gophermcp

What is MCP?

MCP stands for Model Context Protocol. It's a protocol that allows tools like LLMs to access external information.

How do I install gophermcp?

Use the command go install github.com/njern/gophermcp.

How do I configure gophermcp with Cursor?

Create or modify the mcp.json file in the .cursor directory and add gophermcp with the correct command path.

What license is gophermcp under?

gophermcp is licensed under the MIT License.

What are the future plans for gophermcp?

The project plans to expand into other tools useful for LLMs creating Go code.