Cargo Doc MCP Server

Provides an MCP server to manage, build, check, and search Rust documentation locally.

Local serverstdio★ 10

What is the Cargo Doc MCP Server?

Provides an MCP server to manage, build, check, and search Rust documentation locally.

Configuration and credentials

  • Node.js 16 or later - Rust and Cargo installed

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
get_crate_docGet crate's main documentation page for understanding overall concepts and usage
crate_nameName of the crate to get documentation for
list_symbolsList all symbols (structs, enums, traits, etc.) in a crate's documentation
search_docSearch within a crate's documentation
querySearch query (keyword or symbol)

Configuration

  • Node.js 16 or later - Rust and Cargo installed

Example prompts to try

  • “Use Cargo Doc to get crate doc.”
  • “Use Cargo Doc to Parameters.”
  • “Use Cargo Doc to crate name.”

Frequently asked questions

Key features include retrieving documentation pages for crates, listing symbols within a crate's documentation, searching documentation, caching built paths for performance, and an MCP inspector for debugging.