cratedocs-mcp

cratedocs-mcp

29

CrateDocs MCP is a Model Context Protocol server designed to aid in retrieving and searching documentation for Rust crates. It enhances development productivity by allowing LLMs to fetch required documentation from docs.rs and crates.io easily. Key features include detailed crate and item lookup and efficient search capabilities.

CrateDocs MCP

This MCP server provides tools for Rust crate documentation lookup. Key features include:

  • Lookup crate documentation to get general documentation for a Rust crate
  • Search for crates based on keywords using crates.io
  • Lookup item documentation for specific items such as structs, functions, or traits within a crate

The server supports multiple modes, such as STDIN/STDOUT and HTTP/SSE, and provides a cache mechanism to enhance performance by avoiding redundant API calls.