MCP.so
登录

Bookworm MCP Server

@dcdpr

基本信息

分类

其他

许可证

Apache-2.0

传输方式

stdio

作者

dcdpr

关于 Bookworm MCP Server

MCP server for Rust documentation

Bookworm MCP Server 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

Bookworm MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Bookworm?

Bookworm is an MCP (Model Context Protocol) server that provides LLMs with local access to Rust crate documentation from docs.rs. It downloads, indexes, and serves crate documentation, items, metadata, and source code via a set of MCP tools.

How to use Bookworm?

Install and run via Cargo: cargo run --bin wrm-mcp. Configure your MCP client (e.g., Claude.ai) with a JSON entry pointing to the wrm-mcp binary. Once the server is running, an LLM can use the provided tools to search crates, browse items, and fetch resources.

Key features of Bookworm

  • Download and cache crate documentation locally.
  • Index documentation into a SQLite database for fast queries.
  • Query documentation by crate name, version, or item path.
  • Expose MCP tools: crates_search, crate_search_items, crate_resource.
  • Support for fetching crate metadata, readmes, items, and source code.

Use cases of Bookworm

  • An LLM assistant answering questions about Rust crate APIs.
  • Offline exploration of docs.rs documentation without a network.
  • Automated code generation or analysis using crate documentation.
  • Integrating Rust crate knowledge into AI‑powered development tools.

常见问题

1

What MCP tools does Bookworm provide?

Bookworm provides `crates_search` (list crates matching a query), `crate_search_items` (list items matching a query), and `crate_resource` (fetch a resource by URI). A `crate_search_src` tool is planned but not yet implemented.

2

How does the `crate_resource` tool work?

It takes a URI following the pattern `crate://{crate_name}/{crate_version}/{resource}` to retrieve crate versions, metadata, readme content, items list, source code list, or a specific item/source file.

3

What data does Bookworm store locally?

After downloading, each crate’s documentation is stored in a local directory. An SQLite index (`index.sqlite`) records metadata for all cached crates, enabling fast searches and queries.

4

Does Bookworm require internet access?

It needs internet only during the initial download phase (`wrm-dl`). Once downloaded and indexed, the MCP server operates entirely offline.

5

Is Bookworm distributed as a library or a binary?

Bookworm is a Rust crate collection. The MCP server runs via `cargo run --bin wrm-mcp`. Individual tools like `wrm-dl`, `wrm-index`, and `wrm-query` are also available as libraries and binaries with a `cli` feature.

评论

其他 分类下的更多 MCP 服务器