talira

The language server for Go

open sourceBSD-3-ClausefreeMCP

gopls (pronounced "Go please") is the official language server for Go, developed and maintained by the Go team. Through the Language Server Protocol it gives any LSP editor (VS Code, Vim and Neovim, Emacs, Helix, Zed, Sublime Text and others) completion, hover, signature help and inlay hints, diagnostics from the compiler and static analyzers, navigation to definitions, references, implementations and call hierarchies, and code transformations such as formatting, rename, organize imports, extract and inline. It also understands go.mod and go.work files and Go templates, and includes an experimental built-in MCP server that exposes some of its functions to AI assistants. A new minor version ships about every three months, in step with Go releases; editors like VS Code install and update it for you.

Problems it solves

  • code completion and go-to-definition for Go in my editor
  • Go IDE features in Neovim, Emacs, Helix or Zed
  • see Go compile errors and vet findings inline as I type
  • rename a Go symbol or package across my module safely
  • find every implementation of a Go interface
  • automatically organize imports and format Go code on save
  • let my AI coding assistant query Go code structure through MCP

Features

  • completion, hover, signature help and inlay hints
  • compile errors and static analysis diagnostics
  • go to definition, type definition and implementation
  • references, call hierarchy and type hierarchy
  • formatting, rename and organize imports
  • extract and inline refactorings
  • go.mod, go.work and template file support
  • experimental built-in MCP server
  • web-based package documentation and assembly views

Capabilities

Has a command line toolplan not known
Has an MCP serverplan not known

Alternatives

The same job

These do what gopls does.

  1. GoLand The IDE for professional Go engineering
  2. clangd clangd understands your C++ code and adds smart features to your editor
  3. rust-analyzer Bringing a great IDE experience to the Rust programming language
  4. Metals Scala language server with rich IDE features

Compare gopls with the top 3