Rust Expert
БесплатноНе проверенProvides real-time access to official Rust documentation, compiler errors, RFCs, and crates.io metadata for AI assistants.
Описание
Provides real-time access to official Rust documentation, compiler errors, RFCs, and crates.io metadata for AI assistants.
README
A Rust MCP (Model Context Protocol) server that gives any MCP-compatible AI assistant live access to the entire rust-lang GitHub organization — source code, compiler errors, RFCs, The Book, The Reference, The Nomicon, Rust By Example, and crates.io.
Built with rmcp 1.5.0 (the official Rust MCP SDK).
Tools
| Tool | Description |
|---|---|
search_rust_source |
Code search across all rust-lang repos (rustc, std, Cargo, Clippy, rustdoc…) |
search_rust_issues |
Issues & PRs across any rust-lang repo |
get_repo_file |
Read any file from any rust-lang repository |
list_rust_repos |
List all public repos in the rust-lang org |
explain_compiler_error |
Full E0xxx error explanations sourced directly from rustc |
get_rust_book |
Chapters from The Rust Programming Language |
get_rust_reference |
Sections from the Rust Reference (formal language spec) |
get_rust_nomicon |
Sections from the Rustonomicon (unsafe / advanced Rust) |
get_rust_by_example |
Chapters from Rust by Example |
get_rust_rfc |
Full RFC text by number |
search_rust_rfcs |
Search accepted RFCs by keyword |
get_crate_info |
Crate metadata from crates.io |
get_rust_edition_guide |
Edition migration guides (2015 / 2018 / 2021 / 2024) |
Build
Requires Rust (stable, edition 2021).
git clone https://github.com/Degens-World/rust-expert-mcp
cd rust-expert-mcp
cargo build --release
# binary → target/release/rust-expert-mcp (or .exe on Windows)
Configure in Claude Code
claude mcp add rust-expert -- /path/to/rust-expert-mcp
Or add it manually to your Claude config (~/.claude/claude.json):
{
"mcpServers": {
"rust-expert": {
"command": "/path/to/rust-expert-mcp"
}
}
}
Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"rust-expert": {
"command": "/path/to/rust-expert-mcp"
}
}
}
GitHub Token (recommended)
Without a token the GitHub API allows 10 search requests / minute and 60 requests / hour.
With a token: 30 searches / minute and 5 000 requests / hour.
Generate a token at GitHub → Settings → Developer Settings → Personal Access Tokens (no scopes required for public repos), then pass it via environment variable:
{
"mcpServers": {
"rust-expert": {
"command": "/path/to/rust-expert-mcp",
"env": {
"GITHUB_TOKEN": "ghp_your_token_here"
}
}
}
}
Example usage (with Claude)
Search for how `Pin` is implemented in the standard library.
→ search_rust_source(query="Pin", repo="rust")
Explain compiler error E0505.
→ explain_compiler_error(error_code="E0505")
Show me RFC 2094 (Non-Lexical Lifetimes).
→ get_rust_rfc(number=2094)
What chapter covers async/await in The Book?
→ get_rust_book(chapter="SUMMARY")
Read the trait-objects section of the Reference.
→ get_rust_reference(section="trait-objects")
How many downloads does tokio have?
→ get_crate_info(name="tokio")
License
MIT
Установка Rust Expert
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/degens-world/rust-expert-mcpFAQ
Rust Expert MCP бесплатный?
Да, Rust Expert MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Rust Expert?
Нет, Rust Expert работает без API-ключей и переменных окружения.
Rust Expert — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Rust Expert в Claude Desktop, Claude Code или Cursor?
Открой Rust Expert на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Rust Expert with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
