Atlas / MCP servers / nuskey8 / docs.rs MCP

docs.rs MCPSAFE

mcp/nuskey8/docs-rs

An MCP server that enables searching for Rust crates and their documentation from crates.io and docs.rs.

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
4 4r · 0w · 0d
Transport
stdio
License
MIT
Stars
38
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

An MCP server that enables searching for Rust crates and their documentation from docs.rs.

English | 日本語

Overview

docs.rs MCP is an MCP server that searches the Rust crate documentation site docs.rs. By using this, AI Agents can search for required crates and obtain the latest documentation as needed.

Features

  • Tools specialized for searching docs.rs
  • Supports multiple use cases, from searching for crates themselves to searching for specific APIs
  • LLM-friendly Markdown output

Requirements

  • Node.js 18 or newer
  • VS Code, Cursor, Claude Desktop or any other MCP client

Setup

Visual Studio Code (VSCode)

Add the following to .vscode/mcp.json:

{
"servers": {
"docs-rs": {
"command": "npx",
"args": [
"@nuskey8/docs-rs-mcp@latest",
"-y"
]
}
}
}

Claude Code

Run the following command:

claude mcp add docs-rs -s project -- npx -y @nuskey8/docs-rs-mcp@latest

Cursor

You can install by pressing the button below:

[](https://cursor.com/install-mcp?name=docs-rs&config=JTdCJTIyY29tbWFuZCUyMiUzQSUyMm5weCUyMCU0MG51c2tleTglMkZkb2NzLXJzLW1jcCU0MGxhdGVzdCUyMiU3RA%3D%3D)

Or, add a new MCP server that runs the npx @nuskey8/docs-rs-mcp command from Cursor Settings > MCP > Add new MCP Server.

Others

For other tools, please refer to the documentation as needed and add an MCP server that runs the npx @nuskey8/docs-rs-mcp command.

Tools

Read from source at commit c2a0109f2c74OBSERVED · 2026-10-08
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add docs-rs-mcp -- npx -y @nuskey8/[email protected]
claude-desktop
{
  "mcpServers": {
    "docs-rs-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@nuskey8/[email protected]"
      ]
    }
  }
}
03

Exposed tools (4)

4 read · 0 write · 0 destructive.

ToolRiskDescription
docs_rs_get_itemreadGet documentation content of a specific item (module, struct, trait, enum, function, etc.) within a crate
docs_rs_readmereadGet README/overview content of the specified crate
docs_rs_search_cratesreadSearch for Rust crates by keywords on crates.io.
docs_rs_search_in_cratereadSearch for traits, structs, methods, etc. from the crate
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
declared (4 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (1)

LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@modelcontextprotocol/sdk, @types/axios, @types/cheerio, @types/turndown, axios, cheerio, turndown, zod
Why it matters. 11 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha c2a0109f2c74full audit observations/trust-audit/mcp-server/nuskey8__docs-rs.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-08c2a0109f2c74SAFEB89first audit
06

Questions

What is the Docs.rs MCP server?

An MCP server that enables searching for Rust crates and their documentation from crates.io and docs.rs.

What tools does Docs.rs expose?

4 in total: 4 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Docs.rs safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does Docs.rs need?

No credential environment variables were found in its source, so it appears to need none.

How does Docs.rs run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as @nuskey8/docs-rs-mcp at 1.0.1.

How current is this page?

The grade is for one exact copy of the source (c2a0109f2c74), read on 2026-10-08. The repository is watched and re-audited when it changes.

Advertisement