Crates.io Rust MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_cratesA | Search crates.io by keyword with optional sort order ("relevance", "downloads", "recent-downloads", "recent-updates", or "new"). |
| get_crate_detailsA | Look up a Rust crate on crates.io for its description, total and recent downloads, max stable version, license, MSRV (rust_version), homepage, docs.rs link, and repository. |
| get_crate_versionsA | List release versions for a Rust crate with semver numbers, publish timestamps, download counts, license, MSRV, crate size, and yanked status. |
| get_crate_dependenciesA | Retrieve Cargo dependencies (normal, dev, and build) for a specific crate version or the latest stable release if version is omitted. |
| get_reverse_dependenciesA | Retrieve total reverse dependency count and top crates on crates.io that depend on the specified Rust crate. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
Each tool targets a distinct query type: keyword search, crate summary metadata, version listing, forward dependencies, and reverse dependencies. The boundaries between get_crate_dependencies and get_reverse_dependencies are explicit (deps of this crate vs. crates depending on it), leaving no realistic misselection risk.
All five names follow a consistent snake_case verb_noun pattern (get_crate_details, search_crates, get_crate_versions, get_crate_dependencies, get_reverse_dependencies). The single 'search' verb is appropriate for the query tool and does not break the pattern.
Five tools is a tight, well-scoped surface for a read-only crates.io lookup server; every tool covers a distinct facet of crate metadata. No redundant or filler tools are present.
Core lookup workflows (search, metadata, versions, deps, reverse deps) are fully covered for a read-only server. Minor gaps exist: no way to fetch details for a specific version (version is only an input to dependencies), and no owner/keyword/category metadata.