Skip to main content
Glama
Crates.io Rust MCP

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.

https://crates-io-rust-ecosystem-mcp.lipmichal.workers.dev/mcp

Related MCP server: cursor-rust-tools

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.

{
  "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.

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.

Available Tools

5 tools
get_crate_dependenciesGet Rust crate dependenciesA
Read-onlyIdempotent
Inspect

Retrieve Cargo dependencies (normal, dev, and build) for a specific crate version or the latest stable release if version is omitted.

Inputs: crate_name (required), version.

get_crate_detailsGet Rust crate metadataA
Read-onlyIdempotent
Inspect

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.

Inputs: crate_name (required).

get_crate_versionsGet Rust crate version historyA
Read-onlyIdempotent
Inspect

List release versions for a Rust crate with semver numbers, publish timestamps, download counts, license, MSRV, crate size, and yanked status.

Inputs: crate_name (required), limit, include_yanked.

get_reverse_dependenciesGet Rust crate reverse dependenciesA
Read-onlyIdempotent
Inspect

Retrieve total reverse dependency count and top crates on crates.io that depend on the specified Rust crate.

Inputs: crate_name (required), limit.

search_cratesSearch Rust crates on crates.ioA
Read-onlyIdempotent
Inspect

Search crates.io by keyword with optional sort order ("relevance", "downloads", "recent-downloads", "recent-updates", or "new").

Inputs: query (required), sort, limit.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 5 tools

    Disambiguation5/5

    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.

    Naming Consistency5/5

    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.

    Tool Count5/5

    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.

    Completeness4/5

    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.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers