# docs.rs

> Use this tool when you need to access Rust crate documentation for AI-powered coding assistance or exploration of Rust APIs. It provides crate-level and item-specific documentation lookup, solving problems such as understanding complex Rust libraries and APIs without local documentation builds. With inputs of crate and item names, and outputs of structured documentation overviews and detailed information, it is ideal for use cases involving Rust development and support.

Canonical page: https://skillsregistry.net/skills/docsrs  
JSON: https://api.skillsregistry.net/v1/skills/docsrs

## Description

This MCP server provides access to Rust crate documentation from docs.rs by fetching and parsing rustdoc JSON data, built by Marius Modlich using Bun and TypeScript with zstd decompression support for handling docs.rs's compressed responses. The implementation offers two core tools: crate-level documentation lookup that provides structured overviews of modules, structs, enums, traits, and functions, and item-specific documentation retrieval for detailed information about individual types or functions within a crate. It features SQLite-based caching with configurable TTL and size limits, robust error handling for missing crates or network issues, and is particularly valuable for AI assistants helping developers understand Rust APIs, explore crate functionality, or provide coding assistance with specific Rust libraries without requiring local documentation builds.

## Trust

- **Trust score (0–1):** 0.64
- **Verification tier:** scanned
- **Last scanned:** 2026-09-02

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** database
- **Updated:** 2026-09-02

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/docsrs)
- **Repository:** <https://github.com/vexxvakan/mcp-docsrs>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "docsrs"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/docsrs` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/docsrs/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
