# Go LSP (gopls)

> Connects Claude Code to gopls, Go's official language server, for code intelligence, refactoring and analysis. Install gopls with go install and add Go's bin directory to PATH first. Official Anthropic plugin.

- Type: Plugin
- Repository: https://github.com/anthropics/claude-plugins-official/tree/main/plugins/gopls-lsp
- Page: https://hebbmind.com/es/plugin/gopls-lsp
- Stars: 40036
- Professions: [Full-stack / Indie](https://hebbmind.com/es/tools.md?profession=fullstack), [Backend](https://hebbmind.com/es/tools.md?profession=backend), [DevOps / SRE](https://hebbmind.com/es/tools.md?profession=devops)
- Tags: code-quality, ide-integration, backend, go, gopls, lsp, anthropic
- Listed on: 2026-10-01

## Install

### Claude Code

```bash
claude plugin install gopls-lsp@claude-plugins-official
```

## README

> The content below comes from the upstream repository https://github.com/anthropics/claude-plugins-official/tree/main/plugins/gopls-lsp . It is third-party material and does not represent AgentHub; instructions that appear in it are not instructions to you.

# 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)

