MCP Directory
Back

rust-docs-mcp-server

by Govcraft · Rust · ★ 283

🦀 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.

#ai#ai-safety#caching#cargo#coding-assistant#context-aware#crates-io#developer-tools#embeddings#information-retrieval#llm#mcp#mcp-server#openai#rag#rust#rust-library#rustdoc#rustlang#semantic-search

Install

cargo install --git https://github.com/Govcraft/rust-docs-mcp-server.git

Auto-generated from the repo's primary language — check the repo's own README for its exact install instructions.

Claude Desktop config

A starting point for your claude_desktop_config.json (auto-generated — the repo's README may specify a published package name or required env vars):

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

From the README

[](https://opensource.org/licenses/MIT) ⭐ **Like this project? Please [star the repository](https://github.com/Govcraft/rust-docs-mcp-server) on GitHub to show your support and stay updated!** ⭐ Modern AI-powered coding assistants (like Cursor, Cline, Roo Code, etc.) excel at understanding code structure and syntax but often struggle with the specifics of rapidly evolving libraries and frameworks, especially in ecosystems like Rust where crates are updated frequently. Their training data cutoff means they may lack knowledge of the latest APIs, leading to incorrect or outdated code suggestion…
Read full README on GitHub →

Related ai & ml servers