crates.io MCP
Look up Rust crates, versions, and download counts from the public crates.io API. No key required.
This file is self contained. It reads public data only and never writes to the machine. All output is bounded and honest about what could not be fetched.
Tools
crate_info Details for a crate.
search_crates Search crates.
Usage
npm install
npm run build
node dist/index.js
Data comes from the public crates.io API.
Premium tools
These tools need a license key:
crate_versions
crate_dependencies
Buy a key at https://mcp-marketplace.io/server/io-github-mrfentmen-crates-io-mcp and set it in your MCP client config:
"env": { "MCP_LICENSE_KEY": "mcp_live_..." }
The key is checked against MCP Marketplace, cached for 24 hours, and keeps
working offline once one check has succeeded. Every other tool on this server
stays free.