Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Provides semantic Go code navigation, refactoring, and diagnostics through the gopls language server's MCP tools, LSP tool, or CLI.
70% 87%+17 ptsof test cases passed
Passed 20 of 23 test cases with the skill, and 16 of 23 without it.
3 of 3 safety checks passed
Not used yet
LSP tool referenceLSP toolA standalone gopls instance speaking MCP over stdin/stdout, launched fresh per session, no LSP client involved:
gopls mcp
Only sees files as they exist on disk — an edit made through a different tool but not yet saved is invisible to it. This is the right mode for an agent-only workflow with no attached editor.
claude mcp add gopls -- gopls mcp
Eight tools, all keyed by name/path/query rather than cursor position — this is the main ergonomic difference from the native LSP tool.
| Tool | Purpose | Example |
|---|---|---|
go_workspace | Learn the workspace's overall structure — module, multi-module workspace, or GOPATH project. Call this first, once per session. | go_workspace({}) |
go_vulncheck | On-demand reachability check: which known vulnerabilities does the current build actually reach. Run right after go_workspace if in a Go workspace, and again after any go.mod change. | go_vulncheck({"pattern":"./..."}) |
go_search | Fuzzy search for a type, function, or variable by name across the workspace — use when you don't know the exact location. | go_search({"query":"server"}) |
go_file_context | Summarize a file's dependencies on other files in the same package. Run this immediately after reading any Go file for the first time. | go_file_context({"file":"/path/to/server.go"}) |
go_package_api | Show a package's public API — most valuable for third-party dependencies or sibling packages in a monorepo you haven't read file-by-file. | go_package_api({"packagePaths":["example.com/internal/storage"]}) |
go_symbol_references | Find every reference to a symbol — run before modifying any definition to gauge the blast radius. | go_symbol_references({"file":"/path/to/server.go","symbol":"Server.Run"}) |
go_diagnostics | Build/analysis errors for the given files — mandatory after every edit. | go_diagnostics({"files":["/path/to/server.go"]}) |
go_rename_symbol | Rename a symbol and every reference to it, workspace-wide, with the same safety checks as LSP rename (blocks changes that would break interface satisfaction). | — |
Next to this one in the catalogue, plus more from the same author.