Ferritin — Rust MCP server: docs lookup and setup
Ferritin lets an agent search and read Rust standard-library and crates.io documentation. Use it to check an API while working in a coding chat.
claude mcp add --transport http rustdoc https://ferritin.rs/mcpWhat Ferritin — Rust documentation does
The server gives an agent a way to look up Rust documentation, including the standard library and crates published on crates.io. Ask it to find a type or method, then use the documentation to clarify what that API does.
For local workspace docs, Ferritin’s terminal viewer needs a nightly toolchain; standard-library docs need the rust-docs-json component. Those prerequisites apply to local viewing, not to connecting the MCP server. Claude Code connects over HTTP at https://ferritin.rs/mcp.
What it helps with
- look up a standard-library type in Rust docs
- check an API from a crate on crates.io
- find a documented item by name or search phrase
Example prompts for the agent
- Look up
std::vec::Vecin the Rust docs and explain its purpose. - Check the
serdedocumentation and describe whatSerializedoes. - Search the
tokiodocs forspawnand summarize the relevant entry.
How to install Ferritin — Rust documentation
Platform CLI: remote server
claude mcp add --transport http rustdoc https://ferritin.rs/mcpPlatform CLI: remote server
codex mcp add ferritin-rust-documentation --url https://ferritin.rs/mcpConfig file
{
"mcpServers": {
"ferritin-rust-documentation": {
"url": "https://ferritin.rs/mcp"
}
}
}Config file
{
"servers": {
"ferritin-rust-documentation": {
"type": "http",
"url": "https://ferritin.rs/mcp"
}
}
}Platform CLI: remote server
gemini mcp add -t http ferritin-rust-documentation https://ferritin.rs/mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Ferritin — Rust documentation
How do I install Ferritin in Claude Code?
Run both commands in order: claude mcp add --transport http rustdoc https://ferritin.rs/mcp, then claude mcp add --transport http ferritin-rust-documentation https://ferritin.rs/mcp.
What does Ferritin do?
It lets an agent search and read documentation for the Rust standard library and crates published on crates.io.
Does Ferritin require nightly?
A nightly toolchain is needed for local workspace documentation. Standard-library docs require the rust-docs-json component.