docs-rs-mcp
An MCP server that enables searching for Rust crates and their documentation from crates.io and docs.rs.
Documentation
docs.rs MCP
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@latestCursor
You can install by pressing the button below:
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
| Tool | Description |
|---|---|
| `docs_rs_search_crates` | Searches for crates by keyword. |
| `docs_rs_readme` | Retrieves the README/overview of the specified crate. |
| `docs_rs_get_item` | Retrieves documentation for a specific item (module, struct, trait, enum, function, etc.) in a crate. |
| `docs_rs_search_in_crate` | Searches for traits, structs, methods, etc. from the all.html page in a crate. |
License
This library is provided under the MIT License.
Frequently asked questions
What is docs-rs-mcp?
docs-rs-mcp is An MCP server that enables searching for Rust crates and their documentation from crates.io and docs.rs.
How do I install docs-rs-mcp?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is docs-rs-mcp open source?
Yes — it is hosted on GitHub at https://github.com/nuskey8/docs-rs-mcp and has 13 stars.
Related MCP tools
The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.
An AI-powered task-management system you can drop into Cursor, Lovable, Windsurf, Roo, and others. Built for the Model Context Protocol to enhance AI capabiliti
Fay是一个帮助数字人(2.5d、3d、移动、pc、网页)或大语言模型(openai兼容、deepseek)连通业务系统的mcp框架。 JavaScript-based implementation. Trusted by 12000+ developers.
CTTF: MCP integration between Cursor and Figma, allowing Cursor Agentic AI to communicate with Figma for reading designs and modifying them programmatically.
🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients. JavaScript-based implementation.
This is MCP server for Claude that gives it terminal control, file system search and diff file editing capabilities JavaScript-based implementation.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP