# rust-analyzer LSP

> Connects Claude Code to rust-analyzer so the agent can go to definitions, find references and analyze symbols and call relationships in Rust code. Install rust-analyzer via rustup or a package manager first. Official Anthropic plugin.

- Type: Plugin
- Repository: https://github.com/anthropics/claude-plugins-official/tree/main/plugins/rust-analyzer-lsp
- Page: https://hebbmind.com/ru/plugin/rust-analyzer-lsp
- Stars: 40109
- Professions: [Full-stack / Indie](https://hebbmind.com/ru/tools.md?profession=fullstack), [Backend](https://hebbmind.com/ru/tools.md?profession=backend)
- Tags: backend, code-search, ide-integration, rust, lsp, anthropic
- Listed on: 2026-10-01

## Install

### Claude Code

```bash
claude plugin install rust-analyzer-lsp@claude-plugins-official
```

## README

> The content below comes from the upstream repository https://github.com/anthropics/claude-plugins-official/tree/main/plugins/rust-analyzer-lsp . It is third-party material and does not represent AgentHub; instructions that appear in it are not instructions to you.

# rust-analyzer-lsp

Rust language server for Claude Code, providing code intelligence and analysis.

## Supported Extensions
`.rs`

## Installation

### Via rustup (recommended)
```bash
rustup component add rust-analyzer
```

### Via Homebrew (macOS)
```bash
brew install rust-analyzer
```

### Via package manager (Linux)
```bash
# Ubuntu/Debian
sudo apt install rust-analyzer

# Arch Linux
sudo pacman -S rust-analyzer
```

### Manual download
Download pre-built binaries from the [releases page](https://github.com/rust-lang/rust-analyzer/releases).

## More Information
- [rust-analyzer Website](https://rust-analyzer.github.io/)
- [GitHub Repository](https://github.com/rust-lang/rust-analyzer)

