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
SeedDream 3.0 FAL
Generate images using Bytedance's SeedDream 3.0 model via the FAL AI platform. Requires a FAL AI API key.
TransformerBee.MCP
An MCP server for the transformer.bee service, configurable via environment variables.
Remote MCP Server on Cloudflare
A remote MCP server deployable on Cloudflare Workers with OAuth login support and local development capabilities.
my-mcp-server
A template for building Model Context Protocol (MCP) servers using the mcp-framework for Node.js.
UnrealMCP Plugin
An unofficial Unreal Engine plugin that acts as an MCP server, allowing AI tools to remotely control the engine.
Image Generation
Generate images from text prompts using the Together AI API.
Liveblocks
Interact with the Liveblocks REST API to manage rooms, threads, comments, and notifications, with read access to Storage and Yjs.
Nuanced MCP Server
Provides call graph analysis for LLMs using the nuanced library.
MCP Go Generator Node.js
Generate Go microservices with a hexagonal architecture in a Node.js environment.
Refine Prompt
Refines and structures prompts for large language models using the Anthropic API.