← Back to directory
G

gopls-mcp

Community
Semantic code analysis and navigation for Go projects.
Category
Dev Tools #498 of 751
Stars
★ 60 Popular
Runtime
Prebuilt binary
Credentials
No credential needed
License
BSD-3-Clause
Last commit
Tools
7
47FMRS · D

Provides Go semantic navigation and analysis tools for definitions, implementations, references, call hierarchies, dependency graphs, and rename previews. The project reports 2–4× fewer tool calls than grep-based navigation across 11 benchmark tasks; the supplied material does not include benchmark details for independent verification.

Strongest · Setup experience 10/20 Weakest · Reliability 8/20

Reliability
8/20
Security and permissions
10/20
Maintenance
9/20
Documentation
10/20
Setup experience
10/20
Why each score
Reliability 8/20
The manifest lists definition, implementation, reference, call-hierarchy, dependency-graph, and rename-preview tools. The README describes gopls-based semantic analysis and acknowledges that grep works as well for simple same-file lookups, making the core use case plausible. The supplied static material has no CI, committed tests, init or tool-list handshake evidence, parameter schemas, or error-handling details, so the score is limited. The rename tool is labeled preview-only, but its implementation is not evidenced.
Security and permissions 10/20
The supplied material describes code navigation and analysis tools, and labels rename as a dry run; it shows none of the specified red-line behavior or real credentials. The score remains limited because there is no implementation evidence for permission scope, file and network data flows, dependency behavior, or side-effect controls, so least privilege and confirmation behavior cannot be verified.
Maintenance 9/20
The repository is listed as unarchived, the manifest identifies a BSD-3-Clause license, and the README invites issues and pull requests. These are basic maintenance signals. The supplied material does not show release history, commit cadence, issue response, dependency updates, or a security response channel, so points are deducted.
Documentation 10/20
The README explains the main use case, plugin and manual installation paths, relevant semantic tasks, and the limitation that grep can suffice for simple lookups; the manifest gives tool names and summaries. It does not provide tool parameter examples, troubleshooting, operational limits, cost, or detailed security and data-handling information. The linked documentation content was not supplied, so it cannot support a higher score.
Setup experience 10/20
The material lists plugin installation for Claude Code and Codex, install commands for Linux/macOS and Windows, and a GitHub Releases URL template, giving a reasonably clear entry point across platforms. It lacks client connection configuration examples, runtime preparation details, and evidence of post-install verification. Static calibration also limits the score without CI and key-path test evidence.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local files

Best for

  • Go projects that need type-aware navigation and semantic analysis.
  • Semantic tasks such as finding interface implementations, call hierarchies, or package dependencies.

Not for

  • Projects that do not use Go.
  • Simple same-file lookups where ordinary text search is sufficient.

Required permissions

  • The installation steps run project-provided installation scripts; review the scripts and binary source before use.
  • Analysis is intended for Go project code. The actual access permissions depend on installation and client configuration; the supplied material does not specify their scope.

Risks and side effects

  • The project is a community-driven gopls fork, not an official Go team product, and is not endorsed by Google.
  • The installation instructions execute remote scripts through shell or PowerShell; review the scripts and verify download sources.
  • The rename tool is described as a preview that applies no changes; do not treat its preview as a completed edit.

Setup

Before you start

Runtime:Prebuilt binary

On Linux or macOS, run curl -sSL https://gopls-mcp.org/install.sh | bash; on Windows PowerShell, run irm https://gopls-mcp.org/install.ps1 | iex. Binaries are also available through GitHub Releases. Then follow the project's quick-start guide to configure a client. The supplied material does not include an MCP client configuration example.

Check that it works

After installing and connecting the server, confirm go_list_tools appears in the client’s tool list and call it to view the available tools and documentation.

Troubleshooting

  1. Check that the client is configured according to the project's quick-start guide.
  2. Check that the installed binary is available and can run against the target Go project.
  3. Consult the project's installation and configuration documentation; the supplied material does not include specific diagnostic steps.

Things to try

Once connected, you can ask your AI assistant things like:

  • Find the definition of the main function.
  • List the types that implement an interface.
  • Trace the callers and callees of a function.
  • Preview the changes from renaming a symbol.

Tools 7

go_definition read-only
Jump to a Go symbol definition using semantic location.
go_implementation read-only
Find interface implementations or types that implement interfaces.
go_symbol_references read-only
Find all uses or references of a symbol across the codebase.
go_get_call_hierarchy read-only
Trace function call relationships to find callers and callees.
go_get_dependency_graph read-only
Analyze dependencies between packages and modules.
go_dryrun_rename_symbol read-only
Preview the changes a cross-file symbol rename would make; this is a dry run and applies no changes. Symbol references can be checked first to assess impact.
go_list_tools read-only
List the available tools with documentation and parameter schemas.

Use cases

Find Go symbol definitions, interface implementations, and references across a codebase.
Trace function calls and analyze package or module dependencies.
Preview the impact of a symbol rename before carrying it out.

Overview

gopls-mcp gives AI agents semantic analysis capabilities for Go code, including queries for definitions, interface implementations, references, call relationships, and dependencies. The project says its analysis recognizes the type system, cross-package identity, and scopes; its benchmark covers 11 tasks and reports using 2–4× fewer tool calls than grep-based navigation. For simple same-file lookups, ordinary bash/grep may be sufficient. This is a community-driven fork of gopls, not an official Go team product, and is not endorsed by Google.

Similar servers

Source revision 3b717ea8dd58 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/gopls-mcp.svg)](https://followmcp.com/en/servers/gopls-mcp)