| Crates.io | crates-mcp |
| lib.rs | crates-mcp |
| version | 0.1.0 |
| created_at | 2025-06-28 16:03:37.490371+00 |
| updated_at | 2025-06-28 16:03:37.490371+00 |
| description | MCP server for querying Rust crates from crates.io and docs.rs. Search crates, get info, versions, dependencies, and documentation. |
| homepage | |
| repository | https://github.com/pato/crates-mcp |
| max_upload_size | |
| id | 1729943 |
| size | 130,049 |
MCP server for querying Rust crates from crates.io and docs.rs. Search crates, get info, versions, dependencies, and documentation.
# Build and run
cargo build --release
cargo run --release
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.rsAdd 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:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json~/.config/claude/claude_desktop_config.jsonRestart Claude Code after adding the config.
# 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
# Test
cargo test
# Format
cargo fmt
# Lint
cargo clippy
MIT