docs.rs MCP
Enables searching for Rust crates and their documentation from docs.rs, allowing AI agents to search for required crates, obtain the latest documentation, search for specific APIs, and access crate READMEs.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@docs.rs MCPsearch for crates that handle JSON serialization"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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.

Related MCP server: Documentation Retrieval MCP Server (DOCRET)
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 |
| Searches for crates by keyword. |
| Retrieves the README/overview of the specified crate. |
| Retrieves documentation for a specific item (module, struct, trait, enum, function, etc.) in a crate. |
| Searches for traits, structs, methods, etc. from the all.html page in a crate. |
License
This library is provided under the MIT License.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceAn MCP server that provides AI tools with access to Rust documentation from docs.rs, enabling search for crates, documentation, type information, feature flags, version information, and source code.Last updated31
- Alicense-qualityDmaintenanceAn MCP server that enables AI assistants to access up-to-date documentation for Python libraries like LangChain, LlamaIndex, and OpenAI through dynamic fetching from official sources.Last updated1MIT
- AlicenseAqualityDmaintenanceMCP server that fetches and searches the latest stable documentation for any package from PyPI, npm, and crates.io.Last updated5MIT
- Flicense-qualityDmaintenanceA Docs.rs MCP server that enables AI models to deeply access Rust crate documentation, including searching crates, viewing API definitions, feature flags, and code examples, all within the editor.Last updated162
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
MCP server for accessing curated awesome list documentation
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/nuskey8/docs-rs-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server