Rust Docs Server icon

Rust Docs Server

β€’
2

Provides programmatic access to Rust crate documentation and item-level details from docs.rs via the rustdoc JSON API.

About

The Rust Docs Server is a Model Context Protocol (MCP) server designed to streamline access to Rust documentation. It directly interfaces with the docs.rs rustdoc JSON API to offer fast and comprehensive retrieval of crate-level and specific item-level documentation. With features like smart caching (LRU with SQLite backend), version support, and cross-platform standalone executables, it ensures efficient and reliable access to Rust's extensive documentation ecosystem, making it an invaluable resource for developers and automated systems needing programmatic documentation lookup.

Key Features

  • 2 GitHub stars
  • Smart LRU Caching with SQLite Backend
  • Item-Level Documentation Lookup (structs, functions, traits, etc.)
  • Cross-Platform Standalone Executables
  • Fast Documentation Fetching from docs.rs
  • Comprehensive Version and Target Platform Support

Use Cases

  • Programmatically retrieving Rust crate and item documentation for development tools or IDE integrations.
  • Building applications that require detailed, on-demand information about Rust's standard library or third-party crates.
  • Integrating Rust documentation lookup into AI agents or other automated systems via the Model Context Protocol.
Rust Docs Server: Fast Rust Crate & Item Documentation API