MCP Docsrs MCP Server

MCP server for fetching Rust crate documentation via docs.rs RustDoc API

Local serverstdio

What is the MCP Docsrs MCP server?

MCP server for fetching Rust crate documentation via docs.rs RustDoc API. That is what the mcp docsrs mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.

The short version

Download the latest release for your platform from the Releases page:

  • Find New Crates — - Search crates by exact name, partial match, or fuzzy query to discover relevant libraries
  • Inspect Crate Symbols — - Inspect structs, traits, functions, and any other symbol inside a crate
  • Review Crate Summaries — - Get a crate overview with its structure and public API surface
  • Read Full Documentation — - Read crate-level documentation

Getting it running

Installation goes through your MCP client rather than a global install: point it at ghcr.io/vexxvakan/mcp-docsrs on a container image and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

The tools it exposes

The server publishes 11 tools. What each one is for:

  • Linux — The Linux tool exposed by this server
  • macOS — The macOS tool exposed by this server
  • Windows — The Windows tool exposed by this server
  • Configuration — Configure the server using environment variables or command-line arguments:
  • Crate — The Crate tool exposed by this server
  • crate_lookup — Retrieves a crate overview with its structure and public API surface from docs.rs
  • crate_docs — The crate_docs tool exposed by this server
  • crate_find — Searches crates.io for matching crates and returns ranked results using fuzzy and partial name matching
  • Symbol — The Symbol tool exposed by this server
  • symbol_lookup — Retrieves structured symbol metadata for one symbol inside a crate
  • symbol_docs — Retrieves the full documentation body for one symbol inside a crate

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 11 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch MCP Docsrs.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

How it compares

Plenty of knowledge and memory servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. MCP Docsrs's toolset — Linux, macOS, Windows and 8 more — is a fair guide to whether it matches your workflow. It is maintained by vexxvakan; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Available tools

ToolWhat it does
LinuxThe Linux tool exposed by this server.
macOSThe macOS tool exposed by this server.
WindowsThe Windows tool exposed by this server.
ConfigurationConfigure the server using environment variables or command-line arguments:
CrateThe Crate tool exposed by this server.
crate_lookupRetrieves a crate overview with its structure and public API surface from docs.rs.
crate_docsThe crate_docs tool exposed by this server.
crate_findSearches crates.io for matching crates and returns ranked results using fuzzy and partial name matching.
SymbolThe Symbol tool exposed by this server.
symbol_lookupRetrieves structured symbol metadata for one symbol inside a crate.
symbol_docsRetrieves the full documentation body for one symbol inside a crate.

How to install the MCP Docsrs MCP server

{
  "mcpServers": {
    "docsrs": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "ghcr.io/vexxvakan/mcp-docsrs"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • Use MCP Docsrs to Linux.
  • Use MCP Docsrs to macOS.
  • Use MCP Docsrs to Windows.

Frequently asked questions

It connects MCP Docsrs to MCP-compatible AI assistants such as Claude and Cursor, exposing 11 tools (Linux, macOS, Windows, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with MCP Docsrs directly.