
Project Gutenberg MCP
io.github.bobbyhousePublished by GitHub account bobbyhousev1.2.0Updated Oct 25, 2026
Read Project Gutenberg books via MCP. Search, fetch metadata, and retrieve text in passages.
Overview
An MCP server that lets an assistant search, inspect and read Project Gutenberg books through a self-hosted mirror.
- What you can do
- Search books by title or author, with an optional language filter and a default book ID for later calls. Fetch a book's metadata, including title, authors and available formats. Download the full plain text of a book. List fixed-size passage keys for a book and fetch individual passages by key, with a configurable chunk size.
- When to use it
- Use it when you want an assistant to look up and read public-domain literature from Project Gutenberg, for example to quote, summarize or discuss a specific work, and you are willing to run a local mirror rather than hit the main site.
- Requirements
- Runs locally as a Docker image over stdio, or as a binary with stdio or HTTP transport. Requires a running Gutenberg mirror, set via GUTENBERG_BASE_URL; the repository includes one that downloads the catalog (~5 MB compressed) on startup and caches book files. GUTENBERG_TOOLS is required and lists which tools to expose. Optional: GUTENBERG_BOOK_ID, GUTENBERG_CHUNK_SIZE, GUTENBERG_LANGUAGE. Building images locally needs Docker Hub login.
Installation
In SourceWeft
- Open Project Gutenberg MCP in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
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:
Source: README.md at commit 067d64b
Tools
0Version history
1- v1.2.0LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts