BeClaude

rust-analyzer-lsp

30.2kOfficial PluginDevelopmentby Anthropic

Rust language server for code intelligence and analysis

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

Summary

The rust-analyzer-lsp skill integrates the Rust language server into Claude Code, providing real-time code intelligence such as autocompletion, go-to-definition, and error diagnostics.

  • It helps Rust developers write correct code faster by surfacing type information and documentation directly in the chat interface.

Install & Usage

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

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

3
Manage with /plugin
/plugin

Use Cases

Get inline type hints and documentation while writing Rust code.
Navigate to the definition of a function or variable in your Rust project.
Identify and fix compilation errors with detailed diagnostic messages.
Refactor code with confidence using rename suggestions and code actions.
Explore unfamiliar Rust codebases by quickly finding symbol references and implementations.

Usage Examples

1

/rust-analyzer-lsp show type of variable x

2

Find the definition of the function `parse_config` in my Rust project.

3

List all compilation errors in the current file and suggest fixes.

View source on GitHub
lsprustclaude-codemcpskills

Security Audits

LicenseUnknownSourcePassRepositoryPass

Frequently Asked Questions

What is rust-analyzer-lsp?

The rust-analyzer-lsp skill integrates the Rust language server into Claude Code, providing real-time code intelligence such as autocompletion, go-to-definition, and error diagnostics. It helps Rust developers write correct code faster by surfacing type information and documentation directly in the chat interface.

How to install rust-analyzer-lsp?

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

What is rust-analyzer-lsp best for?

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

What can I use rust-analyzer-lsp for?

rust-analyzer-lsp is useful for: Get inline type hints and documentation while writing Rust code.; Navigate to the definition of a function or variable in your Rust project.; Identify and fix compilation errors with detailed diagnostic messages.; Refactor code with confidence using rename suggestions and code actions.; Explore unfamiliar Rust codebases by quickly finding symbol references and implementations..