rust-docs-mcp-server

rust-docs-mcp-server

3.5

If you are the rightful owner of rust-docs-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

An MCP server providing access to Rust documentation from docs.rs, enabling AI tools to search for documentation, type information, feature flags, version numbers, and symbol definitions/source code.

The Rust Docs MCP Server is a Model Context Protocol server designed to facilitate access to Rust documentation hosted on docs.rs. It allows AI tools and developers to efficiently search for and retrieve documentation, type information, feature flags, version numbers, and source code for Rust crates. The server is built using Bun for development but can also run with Node.js, making it versatile and easy to integrate into various development environments. By implementing the Model Context Protocol, it ensures compatibility with any MCP client, providing a seamless experience for users looking to enhance their Rust development workflow.

Features

  • Search for crates on docs.rs
  • Get documentation for specific crates and versions
  • Retrieve type information (structs, enums, traits, etc.)
  • Access feature flags for crates
  • Obtain source code for specific items

Tools

  1. search_crates

    Search for crate on docs.rs

  2. get_crate_documentation

    Get the documentation for a specific crate

  3. get_type_info

    Get type information for a specific project

  4. get_feature_flags

    Get the feature flag of crate

  5. get_crate_versions

    Get the available version of crate

  6. get_source_code

    Get the source code for a specific project

  7. search_symbols

    Search for symbols in crate