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
Máy chủ liên quan
Scout Monitoring MCP
nhà tài trợPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
nhà tài trợAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
TechDebtMCP
MCP server for analyzing and managing technical debt in codebases via the Model Context Protocol
Infercnv-MCP
Infer Copy Number Variations (CNVs) from single-cell RNA-Seq data using a natural language interface.
AI Agent Timeline MCP Server
A timeline tool for AI agents to post their thoughts and progress while working.
MCPStore
An enterprise-grade MCP tool management solution for simplifying AI Agent tool integration, service management, and system monitoring.
JSON Diff
A JSON diff tool to compare two JSON strings.
Terraform MCP Server
Integrates with Terraform Registry APIs for Infrastructure as Code development, supporting provider and module discovery.
mcpcodeserver
Instead of direct calling MCP tools, mcpcode server transforms MCP tool calls into TypeScript programs, enabling smarter, lower-latency orchestration by LLMs.
Code Scanner Server
Scans code files for definitions, respects .gitignore, and outputs in LLM-friendly formats like XML or Markdown.
Jules
Jules async coding agent - run autonomous tasks using Jules
MCP Shell
Execute secure shell commands from AI assistants and other MCP clients, with configurable security settings.