Cratedocs
Createdd6e
Enables LLMs to access Rust crate documentation for improved code understanding and generation.
About
Cratedocs provides an MCP server that allows Large Language Models (LLMs) to look up documentation for Rust crates, enhancing their ability to understand and generate Rust code. It offers functionalities to retrieve general crate documentation, search for crates on crates.io based on keywords, and lookup documentation for specific items within a crate, such as structs, functions, and traits. The server can be run in multiple modes, including STDIN/STDOUT and HTTP/SSE, and provides a command-line interface for direct testing of documentation tools.
Key Features
- Supports multiple server modes (STDIN/STDOUT, HTTP/SSE)
- Command-line interface for direct testing
- 16 GitHub stars
- Lookup item documentation within a crate
- Search for crates on crates.io
- Lookup crate documentation
Use Cases
- Enhance LLM's understanding of Rust code
- Improve code generation accuracy for Rust projects
- Enable LLMs to answer questions about Rust libraries and APIs