Crates MCP Server

MCP server for querying Rust crates from crates.io and docs.rs. Search crates, get info, versions, dependencies, and documentation.

Local serverstdio

What is the Crates MCP Server?

MCP server for querying Rust crates from crates.io and docs.rs. Search crates, get info, versions, dependencies, and documentation.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
search_cratesFind crates by name
get_crate_infoGet details about a crate
get_crate_versionsList versions
get_crate_dependenciesShow dependencies
get_crate_documentationGet docs from docs.rs

How to install the Crates MCP Server

{
  "mcpServers": {
    "crates": {
      "command": "cargo",
      "args": [
        "run",
        "--release"
      ],
      "cwd": "/path/to/crates-mcp"
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Example prompts to try

  • “Use Crates MCP to search crates.”
  • “Use Crates MCP to get crate info.”
  • “Use Crates MCP to get crate versions.”

Frequently asked questions

MCP server for querying Rust crates from crates.io and docs.rs. Search crates, get info, versions, dependencies, and documentation. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.