Submit

Rust Docs MCP Server

@Govcraft

🦀 Prevents outdated Rust code suggestions from AI assistants. This MCP server fetches current crate docs, uses embeddings/LLMs, and provides accurate context via a tool call.
Overview

What is Rust Docs MCP Server?

Rust Docs MCP Server is a tool designed to provide up-to-date documentation for Rust crates, preventing outdated code suggestions from AI coding assistants by fetching current crate documentation and using embeddings and LLMs for accurate context.

How to use Rust Docs MCP Server?

To use the server, you need to run it from the command line with the package ID specification for the target crate. Ensure you have an OpenAI API key set in your environment variables. The server will download the documentation and generate embeddings for the specified crate.

Key features of Rust Docs MCP Server?

  • Targeted documentation for individual Rust crates.
  • Semantic search capabilities using OpenAI's embedding model.
  • Caching of documentation and embeddings for faster subsequent launches.
  • Integration with AI coding assistants via the Model Context Protocol (MCP).

Use cases of Rust Docs MCP Server?

  1. Providing accurate API documentation for Rust crates to AI coding assistants.
  2. Enhancing the coding experience by reducing outdated suggestions.
  3. Supporting multiple crate instances for concurrent documentation access.

FAQ from Rust Docs MCP Server?

  • Can the server handle multiple crates at once?

Yes, multiple instances can be run concurrently for different crates.

  • Is an OpenAI API key required?

Yes, the server requires an OpenAI API key for generating embeddings and summarizing answers.

  • How does caching work?

The server caches documentation and embeddings in the user's XDG data directory to speed up future launches.

© 2025 MCP.so. All rights reserved.

Build with ShipAny.