remove_crate
Remove cached crate versions to free disk space
How to use it
remove_crate is exposed by the Rust Docs MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the remove_crate 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,
Extract just the documentation string for an item
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
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