{
  "markdown": "# gopls-mcp\n\nGive your AI Agent the compiler's brain, not a text searcher.\n\nDocumentation: https://gopls-mcp.org\n\ngopls-mcp delivers type-checker-level semantic analysis directly to your LLM.\nUnlike text search, it resolves Go's type system — interface satisfaction, cross-package identity, and shadowed scopes — with the same precision as the compiler.\n\nWhere it pays off most is on **semantic tasks**: finding all concrete types that implement an interface, tracing call hierarchies, and mapping package dependencies. A [benchmark](benchmark/) over 11 tasks shows gopls-mcp uses 2–4× fewer tool calls and finishes faster than grep-based navigation on those tasks. For simple same-file lookups, plain bash/grep remains equally effective and carries less overhead.\n\n## Install\n\n### Claude Code (plugin — recommended)\n\n```\n/plugin marketplace add https://github.com/xieyuschen/gopls-mcp.git\n/plugin install gopls-mcp\n```\n\nThe plugin automatically installs the binary and injects the routing skill — no manual setup required.\n\n### Codex (plugin — recommended)\n\n```bash\ncodex plugin marketplace add https://github.com/xieyuschen/gopls-mcp.git\ncodex plugin add gopls-mcp\n```\n\n### Manual install (all clients)\n\n**Linux / macOS:**\n```bash\ncurl -sSL https://gopls-mcp.org/install.sh | bash\n```\n\n**Windows (PowerShell):**\n```powershell\nirm https://gopls-mcp.org/install.ps1 | iex\n```\n\nThen follow the per-client setup at https://gopls-mcp.org/quick-start.\n\n## Contribute\n\nThe project is actively developing, and feel free to raise PRs or issues if you find anything to improve.\nAI generated code will also be accepted but do remember to narrow the change to a specific feature for reviewer to quickly review them.\n\n*Disclaimer*: gopls-mcp is a fork of [gopls](https://tip.golang.org/gopls/) and is a community-driven project. It is not an official Go team product and is not affiliated with or endorsed by Google LLC. This project is licensed under the same BSD license as its [upstream](https://go.googlesource.com/tools) source.\n",
  "bytes": 2023,
  "sha": "8239d525ae88d127f34873d80fa3268433063a0ad5ced924ff1b2ecc65d72a0b",
  "repo_slug": "xieyuschen/gopls-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_xieyuschen_gopls_mcp_0c4bd65e/readme"
}