get_item_docs
Extract just the documentation string for an item
How to use it
get_item_docs is exposed by the Rust Docs MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the get_item_docs tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Rust Docs MCP
cargo install rust-docs-mcpOther tools in Rust Docs MCP (14)
Download and cache a crate from various sources. Set
Manage and monitor background caching operations (list, status, cancel, clear)
Batch metadata queries for multiple crates
Analyze direct and transitive dependencies with filtering
Detailed information about specific items (signatures,
View source code with configurable context lines
View all cached crates with versions and sizes
Browse all items in a crate with optional filtering
List cached versions for a specific crate
Remove cached crate versions to free disk space
Full search with complete documentation (may hit token
Fuzzy search with typo tolerance and semantic
Lightweight search returning only IDs, names, and
Generate hierarchical module tree using integrated cargo-modules