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
相關伺服器
Alpha Vantage MCP Server
贊助Access financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Template MCP Server
A CLI template for quickly bootstrapping an MCP server with FastMCP, supporting both stdio and HTTP transport.
PipeCD
Integrate with PipeCD to manage applications and deployments.
.NET Types Explorer
Provides detailed type information from .NET projects including assembly exploration, type reflection, and NuGet integration for AI coding agents
P4 MCP Server
Perforce P4MCP Server is a Model Context Protocol (MCP) server that integrates with the Perforce P4 version control system.
Apktool
A server for Android APK analysis and reverse engineering using Apktool.
MCPControl
Programmatically control Windows mouse, keyboard, window management, screen capture, and clipboard operations.
Quarkus MCP Servers
Quarkus-based MCP servers for interacting with JDBC databases, filesystems, and Docker containers.
Bernstein
Multi-agent orchestration MCP server. Start parallel agent runs, manage task queues, track costs, and verify quality gates across 20+ CLI coding agents.
Python Notebook MCP
Enables AI assistants to interact with local Jupyter notebooks (.ipynb).
MCP SBOM Server
Performs a Trivy scan to produce a Software Bill of Materials (SBOM) in CycloneDX format.