search_crates
Find Rust packages on crates.io by name or keywords to discover libraries for specific functionality, returning details like descriptions, versions, and download counts.
Instructions
Search for Rust crates on crates.io by name or keywords.
USE THIS WHEN: You need to find Rust packages/crates for a specific purpose or library.
BEST FOR: Discovering which Rust crates exist for a topic or functionality.
Returns multiple matching crates with names, versions, descriptions, download counts, and URLs.
After finding a crate, use:
- crates_metadata() to get detailed information about a specific crate
- The documentation URL to read full docs (use WebFetch)
Args:
query: Search keywords (e.g., "http client", "web framework", "serde")
limit: Maximum number of results (default 5, max 100)
Returns:
JSON with list of matching crates, total results, and metadata
Example: search_crates("web framework") → Finds actix-web, rocket, axum, etc.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| limit | No |