get_source_code
Get source code for a specific item
How to use it
get_source_code is exposed by the Rust Docs MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the get_source_code tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL RUST DOCS MCP SERVER LISTINGOther tools in Rust Docs MCP Server (6)
get_crate_documentation
Get documentation for a specific crate
get_crate_versions
Get available versions for a crate
get_feature_flags
Get feature flags for a crate
get_type_info
Get type information for a specific item
search_crates
Search for crates on docs.rs
search_symbols
Search for symbols within a crate