Integrations
Provides access to Rust documentation from docs.rs, allowing users to search for crates, retrieve documentation, type information, feature flags, version numbers, and access symbol definitions and source code.
Enables interaction with Rust language resources including documentation, type information, and source code, making Rust programming information accessible through structured API calls.
Rust Docs MCP Server
An MCP (Model Context Protocol) server that provides access to Rust documentation from docs.rs. This server allows AI tools to search for documentation, type information, feature flags, version numbers, and symbol definitions/source code.
Features
- Search for crates on docs.rs
- Get documentation for specific crates and versions
- Get type information (structs, enums, traits, etc.)
- Get feature flags for crates
- Get available versions for crates
- Get source code for specific items
- Search for symbols within crates
Installation
This project uses Bun for development, but the built server can run with Node.js.
Building
This will create a build directory with the compiled JavaScript files.
Running
Usage with MCP Clients
This server implements the Model Context Protocol and can be used with any MCP client. To use it with an MCP client, you'll need to configure the client to connect to this server.
Available Tools
The server provides the following tools:
search_crates
: Search for crates on docs.rsget_crate_documentation
: Get documentation for a specific crateget_type_info
: Get type information for a specific itemget_feature_flags
: Get feature flags for a crateget_crate_versions
: Get available versions for a crateget_source_code
: Get source code for a specific itemsearch_symbols
: Search for symbols within a crate
Testing
License
MIT
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
An 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.
Related Resources
Related MCP Servers
- -securityAlicense-qualityAn MCP server implementation that provides tools for retrieving and processing documentation through vector search, enabling AI assistants to augment their responses with relevant documentation context. Uses Ollama or OpenAI to generate embeddings. Docker files includedLast updated -1914TypeScriptMIT License
- AsecurityAlicenseAqualityA server for managing Rust documentation that enables users to check, build, and search Rust documentation locally through cargo doc commands.Last updated -33TypeScriptMIT License
- -securityAlicense-qualityAn MCP server that implements Claude Code-like functionality, allowing the AI to analyze codebases, modify files, execute commands, and manage projects through direct file system interactions.Last updated -125PythonMIT License
- -security-license-qualityAn 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 updated -1PythonMIT License