
Go LSP (gopls)
This plugin adds gopls, the official Go language server, into Claude Code so your editor reads packages, symbols, and types the same way the Go toolchain does. gopls parses go.mod, watches package files, and provides type-aware completions, signature help, and inline diagnostics that match go build and go vet. It runs in the background and talks to Claude Code over the Language Server Protocol.
It reads your workspace and returns precise "go to definition", "find references", and symbol search results across modules and vendor folders. The plugin sends code actions for common fixes, runs renames and safe refactors that update imports and call sites, and applies workspace edits atomically. It also reports unused imports and unreachable code so you see the same errors you'd get on CI.
On edits it watches file changes and recomputes diagnostics and completions incrementally, keeping responses fast even in large repositories. You can request hover type info, expand/contract selections based on AST nodes, and get quick fixes like adding missing imports or applying suggested type conversions. It supports module-aware workspaces and respects build tags and GOFLAGS.
For example, when splitting a large package or renaming a core struct, gopls runs the rename across files, updates imports, and shows diagnostics inline so you avoid bouncing between an editor, go list, and separate refactor tools. That saves time on large code moves and keeps you in Claude Code instead of switching to a dedicated IDE for precise Go refactors.
Without this tool
- ✗No standardized plugin ecosystem
- ✗Tools are manually integrated
- ✗Fragmented AI capabilities
With this tool
- ✓Unified plugin ecosystem for Claude
- ✓Standardized tool integrations
- ✓Composable AI capabilities