
Project Gutenberg MCP
io.github.bobbyhouse由 GitHub 账号 bobbyhouse 发布v1.2.0更新于 Oct 25, 2026
Read Project Gutenberg books via MCP. Search, fetch metadata, and retrieve text in passages.
概览
一个 MCP 服务器,让助手通过自建镜像搜索、查看并阅读 Project Gutenberg 的书籍。
- 可以做什么
- 按书名或作者搜索书籍,可加语言筛选,并可为后续调用设置默认书籍 ID。获取书籍元数据,包括书名、作者和可用格式。下载书籍的完整纯文本。列出书籍的固定大小段落键,并按段落键获取单个段落,段落大小可配置。
- 适用场景
- 当你希望助手查阅和阅读 Project Gutenberg 上的公版文学作品,例如引用、总结或讨论某部作品,并且愿意运行本地镜像而不是直接访问主站时使用。
- 运行要求
- 以 Docker 镜像通过 stdio 在本地运行,或以二进制形式使用 stdio 或 HTTP 传输。需要一个运行中的 Gutenberg 镜像,通过 GUTENBERG_BASE_URL 指定;仓库自带一个镜像,启动时下载目录(约 5 MB 压缩)并缓存书籍文件。必须设置 GUTENBERG_TOOLS 指定要暴露的工具。可选:GUTENBERG_BOOK_ID、GUTENBERG_CHUNK_SIZE、GUTENBERG_LANGUAGE。本地构建镜像需要登录 Docker Hub。
安装
在 SourceWeft 中
- 打开 控制台中的 Project Gutenberg MCP,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
project-gutenberg-mcp
An MCP server for reading books from Project Gutenberg.
Project Gutenberg Terms of Service
Project Gutenberg's robot access policy states that the site is intended for human users only. Automated access may result in your IP being blocked.
To use this MCP server you must run your own mirror. Project Gutenberg explicitly supports and encourages mirroring — see their mirroring guide for details.
This repository includes a ready-to-run mirror server in the mirror/ directory.
Mirror Setup
The mirror server downloads the Project Gutenberg catalog on startup (~5 MB compressed) and caches book files locally on first access. It exposes the URL structure that this MCP server expects.
Docker Compose (recommended)
Runs the mirror and MCP server together. The MCP server is exposed on HTTP at port 8081.
The mirror is available at http://localhost:8080 and the MCP server at http://localhost:8081/mcp.
Mirror only (stdio)
Build and start just the mirror, then connect an MCP client via stdio.
The mirror runs at http://localhost:8080. Example MCP client config (stdio):
Configuration
All configuration is via environment variables.
Tools
When GUTENBERG_BOOK_ID is set, tools that take a book ID will use it as the default. When it is not set, include search_books in your tools list so an agent can discover IDs first.
Running
stdio
HTTP
Docker
Pulling pre-built images
Building locally
Both Dockerfiles use Docker Hardened Images (DHI) for enhanced security. Building requires authentication to Docker Hub:
Then build:
Running the MCP server
Running the mirror
Multi-architecture builds
Both images support linux/amd64 and linux/arm64 architectures. To build and push multi-arch images:
MCP client config (stdio)
Local builds (non-Docker)
Book IDs
A few useful IDs:
来源:README.md,提交 067d64b
工具
0版本历史
1- v1.2.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分