BeClaude

gopls-lsp

30.2kOfficial PluginDevelopmentby Anthropic

Go language server for code intelligence and refactoring

Python3272 forks747 issuesUpdated 6/16/2026First seen 4/17/2026

Summary

The gopls-lsp skill integrates the official Go language server (gopls) into Claude Code, providing real-time code intelligence, diagnostics, and refactoring for Go projects.

  • It helps developers navigate codebases faster, catch errors early, and apply automated code transformations with confidence.

Install & Usage

1
Add a marketplace
/plugin marketplace add <org/repo>
2
Install the plugin

Add the configuration to /plugin install gopls-lsp@<marketplace>

3
Manage with /plugin
/plugin

Use Cases

Quickly jump to a function or type definition across a large Go codebase.
Get inline documentation and signature help while writing Go code.
Automatically rename a symbol across all files in the project.
Identify and fix compilation errors and lint warnings in real time.
Extract a block of code into a new function with a single command.
Find all references to a variable or function to understand its usage.

Usage Examples

1

/gopls-lsp go to definition of ParseConfig

2

/gopls-lsp rename variable 'db' to 'database'

3

/gopls-lsp find references to function HandleRequest

View source on GitHub
refactoringlspclaude-codemcpskills

Security Audits

LicenseUnknownSourcePassRepositoryPass

Frequently Asked Questions

What is gopls-lsp?

The gopls-lsp skill integrates the official Go language server (gopls) into Claude Code, providing real-time code intelligence, diagnostics, and refactoring for Go projects. It helps developers navigate codebases faster, catch errors early, and apply automated code transformations with confidence.

How to install gopls-lsp?

To install gopls-lsp: add a marketplace (/plugin marketplace add <org/repo>), then add the config to /plugin install gopls-lsp@<marketplace>. Finally, /plugin in Claude Code.

What is gopls-lsp best for?

gopls-lsp is a plugin categorized under Development. It is designed for: refactoring, lsp. Created by Anthropic.

What can I use gopls-lsp for?

gopls-lsp is useful for: Quickly jump to a function or type definition across a large Go codebase.; Get inline documentation and signature help while writing Go code.; Automatically rename a symbol across all files in the project.; Identify and fix compilation errors and lint warnings in real time.; Extract a block of code into a new function with a single command.; Find all references to a variable or function to understand its usage..