rust-docs-mcp

rust-docs-mcp

3.5

If you are the rightful owner of rust-docs-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

Rustdocs MCP Server is a Model Context Protocol server designed to provide comprehensive access to Rust crate documentation, source code analysis, dependency trees, and module structure visualization.

cache_crate_from_cratesio

Download and cache a specific crate version from crates.io

cache_crate_from_github

Download and cache from GitHub (specify branch or tag)

cache_crate_from_local

Cache from a local file system path

remove_crate

Remove cached crate versions to free disk space

list_cached_crates

View all cached crates with versions and sizes

list_crate_versions

List cached versions for a specific crate

get_crates_metadata

Batch metadata queries for multiple crates

search_items_preview

Lightweight search returning only IDs, names, and types

search_items

Full search with complete documentation (may hit token limits)

list_crate_items

Browse all items in a crate with optional filtering

get_item_details

Detailed information about specific items (signatures, fields, etc.)

get_item_docs

Extract just the documentation string for an item

get_item_source

View source code with configurable context lines

get_dependencies

Analyze direct and transitive dependencies with filtering

structure

Generate hierarchical module tree using integrated cargo-modules