Crates MCP Server
Query Rust crates from crates.io and docs.rs. Search for crates, get info, versions, dependencies, and documentation.
Crates MCP Server
MCP server for querying Rust crates from crates.io and docs.rs. Search crates, get info, versions, dependencies, and documentation.
Quick Start
# Build and run
cargo build --release
cargo run --release
Tools
search_crates- Find crates by nameget_crate_info- Get details about a crateget_crate_versions- List versionsget_crate_dependencies- Show dependenciesget_crate_documentation- Get docs from docs.rs
Claude Code Integration
Add to your Claude Code MCP configuration:
Option 1: Run directly
{
"mcpServers": {
"crates": {
"command": "cargo",
"args": ["run", "--release"],
"cwd": "/path/to/crates-mcp"
}
}
}
Option 2: Use binary
# Build first
cargo build --release
# Add to config
{
"mcpServers": {
"crates": {
"command": "/path/to/crates-mcp/target/release/crates-mcp"
}
}
}
Config file locations:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/claude/claude_desktop_config.json
Restart Claude Code after adding the config.
Usage Examples
# Search for HTTP clients
> Search for "http client" crates
# Get info about reqwest
> What is the reqwest crate?
# Check tokio dependencies
> Show me tokio's dependencies
# View serde documentation
> Show me the docs for serde
Development
# Test
cargo test
# Format
cargo fmt
# Lint
cargo clippy
License
MIT
Related Servers
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
ADB MCP Server
Interact with Android devices using the Android Debug Bridge (ADB).
Composer Package README MCP Server
Fetches Composer package README and usage information from Packagist.
Kaggle MCP
Get access to Kaggle's datasets, models, competitions, notebook and benchmarks.
Recraft AI
Generate and edit raster/vector images, vectorize, remove/replace backgrounds, and upscale using the Recraft AI API.
Search Tools MCP Server
An MCP server that enhances code analysis with advanced search and dependency mapping capabilities.
MCP for Docs
Automatically downloads and converts documentation from various sources into organized markdown files.
ComfyUI MCP Server
An image generation server that connects to a local ComfyUI instance via its API, supporting dynamic workflows.
Just Prompt
A unified interface for various Large Language Model (LLM) providers, including OpenAI, Anthropic, Google Gemini, Groq, DeepSeek, and Ollama.
Agent Evals by Galileo
Bring agent evaluations, observability, and synthetic test set generation directly into your IDE for free with Galileo's new MCP server
Advanced Unity MCP Integration
An MCP server for Unity, enabling AI assistants to interact with projects in real-time, access scene data, and execute code.