gopls-lsp

PackDev tools

This is a plugin that connects an AI agent to Gopls, the official Go language server, so the agent can read, understand, and refactor Go code with real code intelligence instead of guessing from file contents alone. The gopls lsp claude plugin gives agents the same tooling a Go developer's editor uses.

Unavailable. Delivery for this kind is on the roadmap — not serving yet.

Have Gopls, the official Go language server, available on the machine.

What your AI can do with it

  • Gives the agent code intelligence for Go via the Gopls language server
  • Lets the agent understand Go code structure and definitions
  • Supports refactoring of Go code through the language server
  • Installs as a plugin for Claude

Getting started

  1. Have Gopls, the official Go language server, available on the machine.
  2. Add the gopls-lsp plugin to the agent's plugin configuration.
  3. Open or point the agent at a Go project and ask it to use the language server for code intelligence or refactoring tasks.

Signals

GitHub stars
37k
Forks
4k
Last commit
Sep 2026

Questions

What is the gopls lsp plugin?
It is a plugin that lets an AI agent use Gopls, the official Go language server, for code intelligence and refactoring of Go code.
Does it work with any Go project?
It works with Go code that Gopls can analyze; the machine needs the Gopls language server available.
Advanced
Item type
plugin
Key
anthropics-claude-plugins-official-gopls-lsp
Source
github.com/anthropics/claude-plugins-official