anthropics/gopls-lsp
claude-codeOfficial# gopls-lsp Go language server for Claude Code, providing code intelligence, refactoring, and analysis. ## Supported Extensions `.go` ## Installation Install gopls using the Go toolchain: ```bash go install golang.org/x/tools/gopls@latest ``` Make sure `$GOPATH/bin` (or `$HOME/go/bin`) is in your PATH. ## More Information - [gopls Documentation](https://pkg.go.dev/golang.org/x/tools/gopls) - [GitHub Repository](https://github.com/golang/tools/tree/master/gopls)
Our Review
- •Accurate type checking with gopls
- •Module resolution and refactoring tools
- •Improves Go codebase navigation
Our Verdict
gopls-lsp is a Go language server for Claude Code that uses official gopls for code intelligence, refactoring, and analysis on .go files. Best for Go developers working in Claude Code environments. Key differentiator: direct integration of production gopls versus ad-hoc LSP implementations.
Frequently Asked Questions
What is gopls-lsp used for?
gopls-lsp serves as the Go language server for Claude Code, delivering code intelligence, refactoring, and analysis via gopls for .go files. Install it with go install golang.org/x/tools/gopls@latest and add $GOPATH/bin or $HOME/go/bin to your PATH.
What is gopls-lsp?
# gopls-lsp Go language server for Claude Code, providing code intelligence, refactoring, and analysis. ## Supported Extensions `.go` ## Installation Install gopls using the Go toolchain: ```bash go install golang.org/x/tools/gopls@latest ``` Make sure `$GOPATH/bin` (or `$HOME/go/bin`) is in your PATH. ## More Information - [gopls Documentation](https://pkg.go.dev/golang.org/x/tools/gopls) - [GitHub Repository](https://github.com/golang/tools/tree/master/gopls)
How do I install gopls-lsp?
Visit the GitHub repository at https://github.com/anthropics/claude-plugins-official/tree/main/plugins/gopls-lsp for installation instructions.
What license does gopls-lsp use?
gopls-lsp uses the Proprietary license.
What are alternatives to gopls-lsp?
Explore related tools and alternatives on My AI Guide.
Open source: source code publicly visible
Anyone can inspect exactly what this repo does on GitHub before using it. Proprietary licensed.
Reviewed by My AI Guide for relevance, quality, and active maintenance before listing.
Install in Claude Code:
/install gopls-lsp