MCP directory
PG

Project Gutenberg MCP

by github.com/bobbyhouse · v1.2.0 · updated Mar 25, 2026

Read Project Gutenberg books via MCP. Search, fetch metadata, and retrieve text in passages.

Docker

Run it locally

Install the package and point your AI client at it.

Docker

docker run -i --rm roberthouse224/project-gutenberg-mcp:1.2.0

Environment variables

  • GUTENBERG_BASE_URLrequired

    Base URL of your Gutenberg mirror. Run the mirror from the mirror/ directory and point this at it. See the README for setup instructions.

  • GUTENBERG_TOOLSrequired

    Comma-separated list of tools to expose. Available: search_books, get_book_metadata, fetch_book_text, list_passages, get_passage

  • GUTENBERG_BOOK_ID

    Project Gutenberg book ID to use as the default for all tools. Find IDs via search_books. Example: 2680 for Meditations by Marcus Aurelius.

  • GUTENBERG_CHUNK_SIZE

    Size in bytes of each passage returned by get_passage.

  • GUTENBERG_LANGUAGE

    Default ISO 639-1 language code filter for search_books. Used when the caller omits the language parameter.

More from github.com/bobbyhouse

More MCP servers