DevelopmentRust

rust-docs-mcp-server

This MCP server provides up-to-date documentation for Rust crates to improve AI coding assistants' accuracy.

Free
N/A rating (0 reviews)0 installs268 GitHub stars
RustAIDocumentation

Modern AI-powered coding assistants often struggle with the specifics of rapidly evolving libraries and frameworks, particularly in ecosystems like Rust where crates are frequently updated. This MCP server addresses this challenge by serving as a focused, up-to-date knowledge source for specific Rust crates. By running an instance of this server for a crate, you enable your LLM coding assistant to query accurate documentation before generating code, significantly enhancing the relevance and correctness of its suggestions. The server fetches the documentation for a specified Rust crate, generates embeddings for the content, and provides a tool for answering questions about the crate based on the current documentation context. This approach not only reduces the need for manual corrections but also accelerates the development process by allowing multiple instances to run concurrently, giving the LLM access to documentation for various crates during a single coding session.

Compatible with

Claude DesktopCursor

Install

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "rust-docs-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-rust-docs-mcp-server"
      ]
    }
  }
}

Config File Location

Mac: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%\Claude\claude_desktop_config.json

Linux: ~/.config/claude/claude_desktop_config.json

Some servers require additional setup - check the GitHub README for specific instructions.

Permissions

ok0
ok1