Crates.io Rust MCP
# Crates.io Rust MCP
Live Rust crate search, package metadata, version history, Cargo dependency resolution, and reverse dependency analytics from `crates.io` over Model Context Protocol (MCP). Rust engineers, platform teams, and supply-chain reviewers can inspect crates with zero API keys and zero sign-up. It works right away.
## Hosted endpoint
Point any Streamable HTTP MCP client at the free hosted Cloudflare Worker endpoint.
```text
https://crates-io-rust-ecosystem-mcp.lipmichal.workers.dev/mcp
```
## Available tools
| Tool | Purpose |
| --- | --- |
| `search_crates` | Search crates.io by keyword with optional sorting by relevance, downloads, or recent updates |
| `get_crate_details` | Fetch crate metadata including downloads, stable version, license, MSRV, docs.rs URL, and repository |
| `get_crate_versions` | List published semver releases with download counts, license, MSRV, crate size, and yanked status |
| `get_crate_dependencies` | Inspect normal, dev, and build dependencies for the latest or a pinned crate version |
| `get_reverse_dependencies` | Retrieve total reverse dependency counts and top crates that depend on a target crate |
## Client configuration
Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.
```json
{
"mcpServers": {
"crates-io-rust-ecosystem": {
"url": "https://crates-io-rust-ecosystem-mcp.lipmichal.workers.dev/mcp"
}
}
}
```
## Run locally over stdio
You can also run this server locally on Node 20 or newer over stdio.
```bash
npm install
npm run build
npm start
```
## Compliance and reliability
Every upstream call to `crates.io` follows the crates.io crawler policy with a clear `User-Agent` header (`mcpstamp-crates/1.0 (hello@mcpstamp.com)`). Cloudflare edge caching applies strictly to HTTP 2xx answers, so transient upstream errors don't get stuck in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates protocol version `2026-07-28` cleanly to `2025-11-25`.
## More MCP Servers and Readiness Check
This server belongs to the public MCP directory maintained by MCPStamp and Zovo.
- [Free live-data MCP directory](https://www.mcpstamp.com/free-servers/) with hosted keyless endpoints and client setup guides.
- [Free MCP readiness checker](https://www.mcpstamp.com/check/) to score any MCP server for Claude, ChatGPT, and registry submission.
- [MCP Readiness Audit ($490)](https://www.mcpstamp.com/services/#audit) for teams shipping a production server who want a hands-on security, schema, and store review.
- [Zovo Pro MCP Bundle ($39 one-time)](https://mcp.zovo.one/buy/bundle?src=gh.crates-io-rust-mcp) with hosted commercial servers and priority endpoints.
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.