Skip to content

Conversation

@szokeasaurusrex
Copy link
Member

Configure rust-analyzer-mcp and crates-mcp for improved Rust documentation
access when using Claude Code.

rust-analyzer-mcp provides local code analysis including hover info,
go-to-definition, and diagnostics at file positions.

crates-mcp enables querying external crate documentation from docs.rs
and crates.io without relying on web fetching.

The CLAUDE.md file instructs the agent to prefer these MCPs over WebFetch
for deterministic, structured documentation access.

Matches the configuration added to sentry-rust in getsentry/sentry-rust#956

Configure rust-analyzer-mcp and crates-mcp for improved Rust
documentation access. rust-analyzer-mcp provides local code analysis
(hover, definitions, diagnostics) while crates-mcp queries external
crate documentation from docs.rs and crates.io.

Co-Authored-By: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants