Provides accurate Rust code suggestions for AI assistants by fetching current crate documentation and using LLMs to provide context.
Rust Docs leverages the Model Context Protocol (MCP) to enhance AI coding assistants with up-to-date information about Rust crates. By running an instance for a specific crate, the server provides a tool that LLMs can use to query the latest documentation before generating code. This significantly improves the accuracy and relevance of AI-generated Rust code, reducing manual corrections and accelerating the development process. It supports semantic search using OpenAI embeddings, LLM summarization, and caching for efficient operation.