Crates.io

live Development

Search and browse Rust crates from the crates.io registry

3 tools
0ms auth
free tier 50 calls/day

Tools

search_crates required: query

Search crates.io for Rust crates by keyword. Returns name, description, total downloads, newest version, and repository URL.

Parameters
Name Type Description
query req string Search query string
limit opt number Number of results to return (default 10, max 100)
Try it
get_crate required: name

Get metadata for a specific crate: name, description, total downloads, newest version, repository, homepage, and categories.

Parameters
Name Type Description
name req string Exact crate name (e.g., "serde", "tokio")
Try it
get_versions required: name

List all published versions for a crate, ordered newest first. Returns version number, download count, and publish date.

Parameters
Name Type Description
name req string Crate name
Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/crates/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/crates/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"search_crates","arguments":{"query": "hello"}}}'