Ferritin — Rust documentation
概览
作者提供的说明(英文原文)
Search and read Rust documentation for the standard library and any crate on crates.io
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在云端运行
- 传输方式: Streamable HTTP
- 分类: 开发者工具
安装
选择你使用的 AI 应用,然后复制设置。
通过 5/5 项检查 · 你的提问会经过开发者的服务器(ferritin.rs)
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude · 约 2 分钟
不需要密钥,不用安装程序 · 在 claude.ai 或桌面应用设置一次,即可在聊天中使用 · 免费账户可添加 1 个
打开 Claude 的 Connectors 页面
CustomizeConnectors
点击“+ Add” → “Add custom connector”,填写这 2 项
把这里的内容复制到 Claude 中同名的输入框,然后点击 Continue
Name · 名称Ferritin — Rust documentationRemote MCP server URL · 地址https://ferritin.rs/mcpAuthentication 保持 Claude 检测到的设置,然后点击 Add
在聊天中开启
+ConnectorsFerritin — Rust documentation
试一试
用 Ferritin — Rust documentation 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 Ferritin — Rust documentation,或回答中出现 Ferritin — Rust documentation 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
仅企业版 ChatGPT 可连接
适用于网页版 ChatGPT Business、Enterprise 或 Edu,需由工作区管理员或所有者添加 · 使用 Free、Plus 或 Pro:你的 ChatGPT 方案暂时无法自行连接 MCP
在网页版 ChatGPT 打开添加 MCP 的页面
Plugins+Add custom MCP server
填写名称和地址
输入名称,在 Connection 下粘贴地址,勾选风险提示,然后点击 Create as a plugin
Name · 名称Ferritin — Rust documentationConnection · 地址https://ferritin.rs/mcp在聊天中选择 Ferritin — Rust documentation
开启新聊天,输入前先从插件列表中选择 Ferritin — Rust documentation
试一试
用 Ferritin — Rust documentation 告诉我你能帮我做什么,然后做一件给我看✓ 如果 ChatGPT 说正在使用 Ferritin — Rust documentation,或回答中出现 Ferritin — Rust documentation 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 OpenAI 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Claude Code · 约 2 分钟
不需要密钥,不用安装程序
打开终端
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
粘贴这条命令并按 Enter
claude mcp add --transport http rustdoc https://ferritin.rs/mcp在 Claude Code 中输入 /mcp
应能看到 Ferritin — Rust documentation 在列表中并显示已连接
试一试
用 Ferritin — Rust documentation 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 Ferritin — Rust documentation,或回答中出现 Ferritin — Rust documentation 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor · 约 2 分钟
不需要密钥,不用安装程序
在 Cursor 中以 Agent 模式打开 AI 聊天
试一试
用 Ferritin — Rust documentation 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 Ferritin — Rust documentation,或回答中出现 Ferritin — Rust documentation 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code · 约 2 分钟
不需要密钥,不用安装程序
在 VS Code 中以 Agent 模式打开 AI 聊天
试一试
用 Ferritin — Rust documentation 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 Ferritin — Rust documentation,或回答中出现 Ferritin — Rust documentation 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看
通过网页连接的应用使用的地址
https://ferritin.rs/mcpJSON 设置在下方“开发者专用”中
开发者专用:终端命令和 JSON 设置
通过网页连接
Claude Code
claude mcp add --transport http rustdoc https://ferritin.rs/mcpCursor (~/.cursor/mcp.json)
{
"mcpServers": {
"rustdoc": {
"url": "https://ferritin.rs/mcp"
}
}
}VS Code (mcp.json)
{
"servers": {
"rustdoc": {
"type": "http",
"url": "https://ferritin.rs/mcp"
}
}
}这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
一览
哪些应用可以使用它
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
通过互联网连接,适用于
ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast
它能做什么
工具名称和描述与服务器在 2026年11月11日 报告的完全一致。这些内容由作者撰写,不是我们写的;我们以纯文本形式显示。
getShow documentation for a Rust item by path.
searchSearch for items within a crate's documentation, or — without a crate — discover which crate to use.
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月12日
- ✓ 通过
作者与仓库一致
注册名称已通过域名 ferritin.rs 验证(注册中心会核实域名所有权)
- ✓ 通过
仍在维护
代码最后更新于今天
- ✓ 通过
有许可证
使用 Apache-2.0
- ✓ 通过
端点有响应
在 513 毫秒内响应(HTTP 200)
- – 不适用
使用 OAuth 登录
无需登录
- ✓ 通过
工具描述中没有隐藏指令
已读取 2 个工具描述,未发现针对 AI 的隐藏指令
讨论
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
用户评价
还没有评价
与“开发者工具”中的其他服务器比较i
- 星标数多于此分类中其他 5774 个服务器的 95%
- 发布到注册中心的时间比此分类中其他 5774 个服务器的 23% 更新
- 基础检查结果等于或优于此分类中其他 5774 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Ferritin — Rust documentation 安全吗?
它在 5 项适用的基础检查中通过了 5 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。
它还在维护吗?
GitHub 仓库最后更新于今天,最新版本(2026.7.21)于4个月前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,因此也能用于支持远程 MCP 的应用,例如 ChatGPT Business 及以上方案。
有什么可以替代它?
同一分类中有:REA, Netdata, Front-End Checklist
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Netdata
Real-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.
Front-End Checklist
Review frontend code and live pages against 386 quality-gated web development rules.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
🩸 Ferritin
[][ci]
[][crate]
A terminal-based Rust documentation viewer
Ferritin reads rustdoc JSON output to display Rust documentation directly in your terminal. It supports local workspace crates, standard library documentation, and crates from crates.io, with search functionality and modern terminal features including mouse support, syntax highlighting, and clickable links.
Features
- Interactive documentation browser with keyboard and mouse navigation
- One-shot CLI for quick documentation lookups in the terminal
- Search across crates or within specific crates
- Works seamlessly across three contexts:
- Local workspace crates (requires nightly toolchain)
- Standard library (requires
rust-docs-jsonrustup component) - Crates from crates.io (fetched from docs.rs on demand)
- Modern terminal UI with features like italics, unicode box drawing, syntax highlighting, OSC8 hyperlinks, cursor changes in terminals that support it, and mouse hover previews
- Fast navigation with history and breadcrumb trail
Installation
Prebuilt binary (recommended)
Prebuilt binaries skip compilation and are available for x86_64/aarch64 macOS, x86_64 Linux, and x86_64 Windows.
If you have cargo-binstall, it reads the release metadata and installs the right binary for your platform:
cargo binstall ferritin
Otherwise, the installer scripts detect your platform, download the matching binary, and place it in ~/.cargo/bin:
macOS and Linux:
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/jbr/ferritin/releases/download/ferritin-latest/ferritin-installer.sh | sh
Windows (PowerShell):
powershell -c "irm https://github.com/jbr/ferritin/releases/download/ferritin-latest/ferritin-installer.ps1 | iex"
Both of the above always install the most recent release. You can also pick a specific version or download archives directly from the [releases page].
From source
To build from source (or for a platform without a prebuilt binary):
cargo install ferritin
Optional: Standard library documentation
To view documentation for std, core, and alloc:
rustup component add rust-docs-json
For local workspace documentation
Local crate documentation requires a nightly toolchain:
rustup toolchain install nightly
Note: There is a relationship between ferritin's version and the nightly toolchain version. Ferritin supports a range of recent rustdoc JSON format versions, and if your nightly generates a newer format, ferritin will make a best effort at parsing it.
Usage
Interactive mode
Launch the interactive browser:
ferritin -i
Once running, use h or ? to see available keybindings. Basic navigation:
g- go to an item by path (e.g.,std::vec::Vec)s- search (Tab to toggle between current crate and all crates)l- list available crates- Arrow keys, j/k, or mouse to navigate
- Click on links to follow them
CLI mode
View documentation for a specific item:
ferritin get std::vec::Vec
ferritin get serde::Serialize
Search for items:
ferritin search "hash map"
ferritin search --crate tokio "spawn"
List available crates in your workspace:
ferritin list
Output format
Ferritin auto-detects how to render: ANSI colors on a terminal, plain text when piped, and a compact markdown-flavored format under a coding agent. Override it with --format . --format json emits a structured representation — of the resolved item for get, or of the results for search/list — for scripting and programmatic consumers:
ferritin get std::vec::Vec --format json
(The JSON shape is still settling as the library API evolves; a published JSON Schema is planned.)
Caching and Storage
Ferritin keeps its caches under a single directory — $FERRITIN_HOME if set, else $XDG_CACHE_HOME/ferritin, else ~/.cache/ferritin. Everything in it is reconstructible (fetched or derived), so it is always safe to delete:
- Crates.io documentation: raw rustdoc JSON at
docs/{crate}/{version}/{format-version}.json, with derived binary caches beside it (an rkyv archive for fast partial loads, and a.indexfile generated lazily on first search) - crates.io metadata: the crate-names artifacts (
crate-names/) used for version resolution and typeahead, and per-crate version lookups (crates-io-versions/) - Standard library search indices: written to
{rustc sysroot}/share/doc/rust/json/if available - Local workspace documentation: built into the workspace's own
target/doc/, not the shared cache
Earlier versions cached under $CARGO_HOME/rustdoc-json; a cache found there is migrated automatically on first run.
Environment Variables
| Variable | Meaning |
|---|---|
FERRITIN_HOME | Cache root override (see above) |
FERRITIN_THEME | Default color theme (equivalent to --theme) |
FERRITIN_CRATE_NAMES_URL, FERRITIN_CRATE_DESCRIPTIONS_URL | Override where the crate-names artifacts are fetched from (e.g. a mirror) |
ferritin serve (the opt-in serve/acme features; not present in distributed binaries) is configured 12-factor style:
| Variable | Meaning |
|---|---|
HOST, PORT | Bind address (:: binds dual-stack) |
FERRITIN_CACHE_BYTES | In-memory crate-cache weight cap |
FERRITIN_RSS_HIGH_WATER_BYTES | RSS guard threshold (Linux only): shed cache weight when anonymous RSS exceeds it |
FERRITIN_RATELIMIT | Per-client /api requests per minute |
FERRITIN_ACME_DOMAIN | Activates automatic HTTPS via Let's Encrypt for this domain |
FERRITIN_ACME_CACHE_DIR | Required with ACME: persists the account key and certificates |
FERRITIN_ACME_CONTACT | Optional ACME contact email |
FERRITIN_ACME_PRODUCTION | Use the Let's Encrypt production directory (default: staging) |
Development-only knobs (not part of the stable interface): FERRITIN_TEST_MODE (normalized snapshot-test output), FERRITIN_REINDEX (rebuild search indexes in memory, bypassing the disk cache), and the search-scoring probes FERRITIN_NAME_WEIGHT, FERRITIN_ANCESTOR_WEIGHTS, and FERRITIN_NAME_PREFIX_COUNT.
Current Status
Ferritin is at version 0.x and actively used by the author as a primary documentation interface. It's ready for general use, though the output format should be considered unstable and may change between versions.
If you're scripting against ferritin's output, be aware that the text format may change. Pin to a specific version or be prepared to update your scripts.
Platform Support
Ferritin is developed primarily on Unix-like systems and is also tested on Windows, where both the CLI and interactive TUI work (prebuilt x86_64 Windows binaries are provided). If you encounter issues on any platform, please open an issue or pull request.
Related Projects
Ferritin was originally developed to support the rustdoc-mcp MCP server, which provides Rust documentation access for Claude Code and other MCP clients.
License
Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.