Rust Analyzer LSP plugin for Claude Code

Use rust-analyzer for Rust project diagnostics, symbol lookup and code navigation in Claude Code.

How to install the Rust Analyzer LSP plugin in Claude Code

Install rust-analyzer for your Rust environment and open the intended Cargo workspace.

  1. Install the language server separately and make sure rust-analyzer is available on your PATH.
  2. Start Claude Code once to register Anthropic’s official marketplace. Then run the install command in your terminal.
  3. Start a new Claude Code session in a project for the language and open a source file to confirm the server loads.
Claude Code · Install in Claude Code
claude plugin install rust-analyzer-lsp@claude-plugins-official

Try a first task

Change a Rust trait method and navigate to implementations in the workspace. Check that the diagnostics identify each affected crate and clear after implementation updates.

Package components

  • Rust language server

Publisher references

View on Claude Marketplace

Anthropic

Browse Plugins