# Crate Public API

> Use this tool when you need to expose Rust crate public APIs to language models or generate comprehensive API documentation for specific crate dependencies. It solves problems related to understanding and reasoning about Rust library interfaces without direct code access, and supports use cases such as dependency analysis and API documentation generation. The tool takes Cargo.lock files and crate dependencies as input and outputs public API documentation, making it ideal for AI assistants and language models that require insight into Rust library interfaces.

Canonical page: https://skillsregistry.net/skills/emberian-crate-public-api  
JSON: https://api.skillsregistry.net/v1/skills/emberian-crate-public-api

## Description

Crate-MCP provides a server that exposes Rust crate public APIs to language models through the Model Context Protocol. It offers two main tools: listing all dependencies in a project's Cargo.lock file and generating comprehensive public API documentation for any specific crate dependency. Built with Rust using cargo's dependency resolution system and rustdoc JSON generation, it enables AI assistants to understand and reason about Rust library interfaces without requiring direct code access. The implementation handles toolchain management, builds documentation in a workspace-specific target directory, and supports filtering API items with regex patterns.

## Trust

- **Trust score (0–1):** 0.50
- **Verification tier:** unverified

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** file-system
- **Updated:** 2026-04-25

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/emberian-crate-public-api)
- **Repository:** <https://github.com/emberian/crate-mcp>

## 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": "emberian-crate-public-api"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/emberian-crate-public-api` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/emberian-crate-public-api/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
