Back to MCP Servers

Cratedocs

Outputs short-form Rust crate derived traits,interfaces, etc. from AST (uses same api as rust-analyzer), output limits (token estimation) & crate docs w/regex stripping.

developer-toolsrustapiai

Installation

npx -y cratedocs-mcp

Configuration

{
  "mcpServers": {
    "cratedocs-mcp": {
      "command": "npx",
      "args": ["-y", "cratedocs-mcp"]
    }
  }
}

How to use

  1. Run the installation command above (if needed)
  2. Open your Claude Code settings file (~/.claude/settings.json)
  3. Add the configuration to the mcpServers section
  4. Restart Claude Code to apply changes
View source on GitHub