Skip to main content
Glama

docs.rs MCP

by nuskey8

docs_rs_search_in_crate

Search for traits, structs, methods, or other items within a specific Rust crate’s documentation. Specify crate name, search query, version, and item type to locate relevant information quickly.

Instructions

Search for traits, structs, methods, etc. from the crate's all.html page. To get a module, use docs_rs_get_item instead.

Input Schema

NameRequiredDescriptionDefault
crate_nameYesName of the crate to search
item_typeNoFilter by item type (struct | trait | fn | enum| union | macro | constant)
queryYesSearch keyword (trait name, struct name, function name, etc.)
versionNoSpecific version (optional, defaults to latest)

Input Schema (JSON Schema)

{ "properties": { "crate_name": { "description": "Name of the crate to search", "type": "string" }, "item_type": { "description": "Filter by item type (struct | trait | fn | enum| union | macro | constant)", "type": "string" }, "query": { "description": "Search keyword (trait name, struct name, function name, etc.)", "type": "string" }, "version": { "description": "Specific version (optional, defaults to latest)", "type": "string" } }, "required": [ "crate_name", "query" ], "type": "object" }
Install Server

Other Tools from docs.rs MCP

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/nuskey8/docs-rs-mcp'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server