What is Rust Docs MCP Server?
It is an MCP server that provides an AI assistant with up-to-date, crate-specific documentation via semantic search and LLM summarization.
@Govcraft
Basic information
🦀 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.
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Rust Docs MCP Server is an MCP server that fetches documentation for a specified Rust crate, generates embeddings, and provides an MCP tool to answer questions about the crate based on the documentation context. It is designed for AI-powered coding assistants (such as Cursor, Cline, Roo Code) to access current, crate-specific API documentation, improving the accuracy of generated Rust code.
Install by downloading the pre-compiled binary for your OS from the GitHub Releases page (or build from source with the Rust Toolchain). Set the OPENAI_API_KEY environment variable. Run from the command line with a package ID specification (e.g., rustdocs_mcp_server serde@^1.0), optionally adding features with -F. The server communicates via stdio and exposes a tool query_rust_docs and a resource crate://<crate_name>. On first run for a new crate/version/feature set, it downloads docs and generates embeddings (then caches them). Subsequent launches use the cache.
text-embedding-3-small for semantic search.gpt-4o-mini-2024-07-18 for LLM summarization.serde or tokio.reqwest and async-stripe).It is an MCP server that provides an AI assistant with up-to-date, crate-specific documentation via semantic search and LLM summarization.
Run multiple server instances concurrently, each targeting a different crate (using different package ID specifications). Configure them in your MCP client (e.g., Roo Code or Claude Desktop) with separate entries.
An OpenAI API key (set as `OPENAI_API_KEY` environment variable) and network access to download crate dependencies and interact with the OpenAI API.
Typically fractions of a US penny per crate. For example, a large crate like `async-stripe` with over 5000 documentation pages cost $0.18 USD during testing.
Cached documentation and embeddings are stored in `~/.local/share/rustdocs-mcp-server/<crate_name>/<version>/<features_hash>/` using `bincode`. Different version requirements and feature sets are cached separately. If the cache is missing or corrupted, the server regenerates automatically.

The official Semantic-UI-React integration

Exact, shared memory for AI agents: a hierarchical database where totals always add up, every write is attributed to the agent and person behind it, and any figure traces back to its source file. Agents create databases,

Search saved employee handbooks from your AI assistant. Four read-only tools list authorized handbooks, browse policies, search content, and read source pages with citation links. Uses scoped bearer tokens and Streamable

AI agents start every session with amnesia — you re-explain the project, repeat your preferences, and correct the same mistakes over and over. PLUR gives them a memory that persists. Your agent's corrections, preference

Shared memory for AI coding agents. Claude Code, Cursor and Codex read your project's decisions, lessons and tasks before they act.
Comments