About Rust Docs MCP Server
Rust Docs MCP Server is an MCP server published by laptou in the Developer Tools category: mCP server: Rust Docs MCP Server.
The repository has 33 stars and 11 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/laptou/rust-docs-mcp-serverThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (7)
get_crate_documentationGet documentation for a specific crate
Parameters not published.
get_crate_versionsGet available versions for a crate
Parameters not published.
get_feature_flagsGet feature flags for a crate
Parameters not published.
get_source_codeGet source code for a specific item
Parameters not published.
get_type_infoGet type information for a specific item
Parameters not published.
search_cratesSearch for crates on docs.rs
Parameters not published.
search_symbolsSearch for symbols within a crate
Parameters not published.
Ask AI
Ask AI about Rust Docs MCP Server
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository 8 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- !License declaredNo license file. Legally you have no right to use it in a product.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
README
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.
# Clone the repository
git clone https://github.com/yourusername/rust-docs-mcp-server.git
cd rust-docs-mcp-server
# Install dependencies
bun install
Building
# Build the server
bun run build
This will create a build directory with the compiled JavaScript files.
Running
# Run the development server
bun run dev
# Or run the built server
bun run start
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
# Run tests
bun test
License
MIT
README fetched from the repository 8 days ago. The original is authoritative.