rust-analyzer-lsp connects the Rust language server to Claude Code, giving it code intelligence and diagnostics for rs files. The plugin only wires up the server; the server binary must be installed separately.
What it does
Where rust-analyzer LSP runs and what it adds, from its documentation
Registers the rust-analyzer language server (command: rust-analyzer) via the marketplace lspServers entry
Maps file extensions to the language: .rs
Gives Claude Code code intelligence and diagnostics for Rust projects
When to use it
Good fit
Working in a Rust codebase where Claude Code should use real language-server analysis
Wanting diagnostics and navigation from rust-analyzer without leaving Claude Code
Not for
Projects in other languages (it only maps the extensions listed)
Setups where you cannot install the rust-analyzer binary on PATH
How to install rust-analyzer LSP
You need: Claude Code; rust-analyzer binary on PATH
Install the language server binary first (the plugin does not bundle it):