Ferritin — Rust documentation

Search and read Rust documentation for the standard library and any crate on crates.io

我该使用它吗

质量与安全性

A
描述质量
100%
模式完整度
100%
命名质量
100%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~480token 数(工具定义)
~2.2 KB典型响应大小
对注意力的影响极小(占 128k 上下文窗口的 0.38%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "rustdoc": {
      "url": "https://ferritin.rs/mcp"
    }
  }
}

远程端点

https://ferritin.rs/mcpstreamable-http

它能做什么

工具清单

工具(2)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢get(path)

Show documentation for a Rust item by path.

输入模式

{
  "type": "object",
  "properties": {
    "path": {
      "description": "Item path, e.g. `serde::Deserialize` or `std::vec::Vec`. A crate segment\nmay carry an `@`-suffixed semver requirement (not an exact version):\n`tokio@1::runtime::Runtime` serves the newest 1.x, while `tokio@=1.40`\npins an exact release.",
      "type": "string"
    }
  },
  "required": [
    "path"
  ],
  "examples": [
    {
      "description": "Look up a trait",
      "path": "serde::Deserialize"
    }
  ]
}
🟢search(crate, query)

Search for items within a crate's documentation, or — without a crate — discover which crate to use.

输入模式

{
  "type": "object",
  "properties": {
    "crate": {
      "description": "Crate to search within, optionally with an `@`-suffixed semver\nrequirement (not an exact version): `serde`, `tokio@1` (newest 1.x), or\n`tokio@=1.40` to pin an exact release.\n\n**Omit only to discover which crate to use.** With `crate`, the search\nruns over that crate's full documentation — item names and prose.\nWithout it, it searches a different, much shallower dataset: crates.io\ncrate names, descriptions, and declared keywords. It returns crates,\nnot items, and cannot see any crate's actual documentation. If you\nalready know the crate name, always pass it.",
      "type": "string"
    },
    "query": {
      "description": "Search query — one or more complete words. With `crate`, matched\nagainst item names and documentation prose; without it, against crate\nnames, descriptions, and declared keywords.",
      "type": "string"
    }
  },
  "required": [
    "query"
  ],
  "examples": [
    {
      "crate": "serde",
      "description": "Find deserialization items in serde",
      "query": "deserialize"
    },
    {
      "description": "Discover which crate to use for MQTT",
      "query": "mqtt client"
    }
  ]
}

推荐提示词

search_research
Search for information about [topic] using Ferritin — Rust documentation
预期工具: search
find_specific
Find [specific item] using Ferritin — Rust documentation
预期工具: search
retrieve_data
Get details about [item] from Ferritin — Rust documentation
预期工具: get
fetch_info
Fetch [information type] using Ferritin — Rust documentation
预期工具: get
research_workflow
Search for [topic], then get detailed information about the top results using Ferritin — Rust documentation
预期工具: searchget

社区

评价此服务器

证据

最近观测

已验证未记录版本2 个工具
已验证未记录版本2 个工具