gutenberg-mcp-server
Server Details
MCP server for Project Gutenberg — 75,000+ public-domain ebooks with full plain-text retrieval.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
- Repository
- cyanheads/gutenberg-mcp-server
- GitHub Stars
- 2
- Server Listing
- gutenberg-mcp-server
Glama MCP Gateway
Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.
Full call logging
Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.
Tool access control
Enable or disable individual tools per connector, so you decide what your agents can and cannot do.
Managed credentials
Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.
Usage analytics
See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.
Tool Definition Quality
Average 4.6/5 across 4 of 4 tools scored.
Each tool has a distinct purpose: browsing popular books, fetching metadata, retrieving plain text, and searching the catalog. No overlap.
All tools follow the consistent pattern 'gutenberg_verb_noun' (browse_popular, get_book, get_text, search_books).
Four tools is ideal for this domain: discovery (browse, search), metadata, and text retrieval.
Covers the full workflow: discovery, metadata, and content retrieval. No obvious gaps.
Available Tools
4 toolsgutenberg_browse_popularBrowse Popular Gutenberg BooksARead-onlyIdempotentInspect
Browse the most-downloaded Project Gutenberg books, ordered by popularity. Returns up to 32 titles with their Gutenberg IDs, authors, languages, and download counts. Optionally filter by language or topic. Use this as a discovery entry point — "what are the most popular classics in French?" — or as a heartbeat check that the catalog is reachable.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of books to return (1–32). Default 20 gives a useful overview without overwhelming context. | |
| topic | No | Filter by a subject or bookshelf keyword (case-insensitive phrase match). Example: "science fiction", "adventure", "detective". Applies on top of the language filter. | |
| languages | No | Restrict to books in these languages (two-character ISO 639-1 codes). Example: ["en"] for English only, ["de", "fr"] for German or French. Omit for all languages. |
Output Schema
| Name | Required | Description |
|---|---|---|
| cap | Yes | The limit that was applied. |
| books | Yes | Top books by download count, most popular first. |
| shown | Yes | Number of books returned in this response. |
| truncated | Yes | True when the catalog held more matches than were returned. |
| totalInCatalog | Yes | Total books matching the filter in the full catalog (useful for context — "top 20 of 60,000"). |
| truncationCeiling | No | Download count of the least-popular book shown — omitted books have at most this many downloads. |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, openWorldHint, idempotentHint. The description adds behavioral context: ordering by popularity, max 32 titles, optional filters, and the heartbeat check use case. This goes beyond the annotations without contradiction.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is three sentences: purpose, output details, usage example. No wasted words, front-loaded with the main action, and each sentence adds unique value.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the output schema exists, the description does not need to detail return values. It covers the key aspects: purpose, output fields, filtering options, and a concrete use case. Lacks mention of pagination or ordering stability, but those are likely captured in the output schema or are acceptable gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% with descriptions. The description adds value by providing example values for topic ('science fiction') and languages (['en']), and ties the limit to 'up to 32 titles'. This helps the agent understand parameter usage beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'browse' and resource 'most-downloaded Project Gutenberg books', and specifies what is returned (up to 32 titles with IDs, authors, languages, download counts). It explicitly distinguishes itself from sibling tools by framing it as a discovery entry point, contrasting with get_book, get_text, and search_books.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit usage context: 'Use this as a discovery entry point — 'what are the most popular classics in French?' — or as a heartbeat check that the catalog is reachable.' It gives concrete examples but does not explicitly state when not to use it or contrast with siblings, though sibling names are known.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
gutenberg_get_bookGet Gutenberg BookARead-onlyIdempotentInspect
Fetch complete metadata for a Project Gutenberg book by ID — title, authors (with birth/death years), translators, editors, subjects, bookshelves, languages, copyright status, and the full formats map with download URLs for each available format (plain text, HTML, EPUB, cover image, etc.). Use this before gutenberg_get_text to confirm a plain-text format is available and to get the direct download URL.
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Project Gutenberg book ID. Visible in Gutenberg URLs (e.g., gutenberg.org/ebooks/1342) and returned by gutenberg_search_books and gutenberg_browse_popular. Example: 1342 for Pride and Prejudice, 2600 for War and Peace. |
Output Schema
| Name | Required | Description |
|---|---|---|
| id | Yes | Gutenberg ID. |
| title | Yes | Book title. |
| authors | Yes | Primary author(s). |
| editors | Yes | Editors, if any. |
| formats | Yes | Map of MIME type to download URL. Key types: "text/plain; charset=utf-8" (preferred for gutenberg_get_text), "text/html", "application/epub+zip", "image/jpeg" (cover). Not every format is present for every book. |
| summary | Yes | Auto-generated summary of the work, when available. Absent on many older records. |
| subjects | Yes | Library of Congress subject headings. |
| copyright | Yes | Copyright status: false = public domain in the USA, true = under copyright, null = unknown. |
| languages | Yes | Two-character language codes for this edition. |
| media_type | Yes | "Text" for readable books, "Sound" for audio books. Only "Text" books have plain-text content available for gutenberg_get_text. |
| bookshelves | Yes | Project Gutenberg bookshelf categories (e.g., "Best Books Ever Listings", "Category: Classics of Literature"). |
| translators | Yes | Translators, if this is a translated work. |
| download_count | Yes | Total downloads — popularity signal. |
| has_plain_text | Yes | True if media_type is "Text" AND a UTF-8 text/plain format ("text/plain; charset=utf-8") is present in formats — prerequisite for gutenberg_get_text. |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, openWorldHint, and idempotentHint. The description adds value by detailing the metadata fields returned (title, authors, formats map) and the tool's role in the retrieval process, going beyond the annotation hints.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences long, with the first sentence stating the core purpose and the second providing usage guidance. Every sentence contributes meaning without redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has a single parameter with full schema coverage and an output schema (not shown but present), the description fully informs the agent about what the tool does and when to use it. No gaps are apparent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the baseline is 3. The description adds an example and context for the 'id' parameter (e.g., 'e.g., 1342 for Pride and Prejudice'), but this is minor additional value as the schema already explains the parameter well.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description begins with 'Fetch complete metadata for a Project Gutenberg book by ID' and enumerates specific data fields (title, authors, etc.). It distinguishes itself from siblings by stating 'Use this before gutenberg_get_text.' This clearly defines the tool's scope and purpose.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly advises using this tool before gutenberg_get_text to confirm plain-text availability and get the download URL. This provides clear context and a specific workflow, though it does not explicitly mention when not to use it.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
gutenberg_get_textGet Gutenberg Book TextARead-onlyIdempotentInspect
Retrieve the plain-text content of a Project Gutenberg book, stripped of the standard license header and footer so the response contains only the literary work. For long works — novels routinely run 500KB–2MB — use offset and limit to read in chunks rather than fetching the whole book at once. The response reports totalChars and remainingChars so the caller can page through without guessing. Prefers UTF-8 plain text; falls back to an HTML edition converted to text; refuses audio books (media_type "Sound") with a clear error.
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Project Gutenberg book ID. Use gutenberg_search_books or gutenberg_get_book to find IDs. Example: 1342 for Pride and Prejudice, 2600 for War and Peace, 84 for Frankenstein. | |
| limit | No | Maximum number of characters to return in this chunk. Default 20,000 (~4–5 pages of prose). Increase toward 50,000 for large context windows. The actual returned length may be slightly less than limit when a natural paragraph boundary is found within 500 characters of the limit — check the length field in the response for the actual character count returned. | |
| offset | No | Character offset into the stripped literary text at which to start reading. 0 returns the beginning of the work. To read subsequent chunks, use offset = prior_offset + prior_length (the length field from the previous response — NOT offset + limit, because the actual returned length may be slightly less than limit due to paragraph-boundary trimming). |
Output Schema
| Name | Required | Description |
|---|---|---|
| id | Yes | Gutenberg book ID. |
| text | Yes | The requested chunk of literary text, stripped of Gutenberg license boilerplate. Encoding: UTF-8. Line endings: normalized to LF. |
| title | Yes | Book title, from the catalog record. |
| length | Yes | Number of characters in this chunk. |
| offset | Yes | Character offset where this chunk begins. |
| hasMore | Yes | True if there is more text after this chunk. When true, call again with offset = offset + length. |
| provenance | Yes | One-line source note with Project Gutenberg ID, title, and license URL. |
| totalChars | Yes | Total characters in the stripped literary text. Use with offset and length to determine progress and plan subsequent calls. |
| sourceFormat | Yes | The format that was fetched. "text/html" indicates HTML-to-text conversion was applied because no plain-text format was available. |
| remainingChars | Yes | Characters remaining after this chunk (totalChars - offset - length). 0 means this chunk includes the end of the book. |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, openWorldHint, idempotentHint. The description adds crucial behavioral details: stripping of license headers, paragraph boundary trimming causing actual length slightly less than limit, fallback to HTML for text, and refusal of audio books. No contradictions.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single concise paragraph, front-loaded with the main purpose, then provides usage guidance and key behavioral details. No redundant sentences; each sentence adds specific value.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description addresses all relevant aspects: main action, chunking strategy, response fields (totalChars, remainingChars), error handling for audio books, and fallback behavior. Combined with the output schema (present per context), it provides complete context for an AI agent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 100% schema coverage, the schema already documents parameters. The description adds significant value: for 'id' it provides example IDs and references search functions; for 'limit' it explains paragraph boundary trimming and actual length field; for 'offset' it gives precise method for computing next offset using prior_length, not offset+limit.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'Retrieve' and resource 'plain-text content of a Project Gutenberg book', and distinguishes from siblings by noting the stripping of standard license headers and footer, and that it refuses audio books.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly advises using offset and limit for long works, explains how to page through with totalChars and remainingChars, and notes fallback behavior and error for audio books. It does not explicitly say when not to use, but the sibling context and clear paging instructions provide strong guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
gutenberg_search_booksSearch Gutenberg BooksARead-onlyIdempotentInspect
Search the Project Gutenberg catalog of 78,000+ public-domain books. Matches title and author name with query words; filters by topic (subject or bookshelf keyword), language, author lifespan, or a specific list of Gutenberg IDs. Results are ordered by popularity (download count) by default. Returns book ID, title, authors, languages, subjects, and download count — use gutenberg_get_book for the full formats map before fetching text.
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | Narrow results to specific Gutenberg ID numbers. Other filters still apply. Useful for batch pre-fetching known IDs; use gutenberg_get_book for single-ID lookups. | |
| page | No | Page number for paginated results (1-indexed). Each page returns up to 32 books. Use totalCount to determine total pages. | |
| sort | No | Result ordering. "popular" (default) sorts by download count descending. "ascending" and "descending" sort by Gutenberg ID number. | popular |
| query | No | Words to match against book titles and author names (case-insensitive, space-separated). Example: "dickens expectations" matches Great Expectations by Charles Dickens. | |
| topic | No | Case-insensitive phrase to match against subjects and bookshelves. Example: "detective" returns books on the "Detective and Mystery Stories" bookshelf. Separate from query — topic searches categorization metadata, not title/author. | |
| languages | No | Filter to books in any of these two-character ISO 639-1 language codes. Example: ["en"] for English, ["fr", "de"] for French or German. | |
| author_year_end | No | Include only books with at least one author alive on or before this year. Example: author_year_start=1800 with author_year_end=1899 returns books with 19th-century authors. | |
| author_year_start | No | Include only books with at least one author alive on or after this year (positive = CE, negative = BCE). Combine with author_year_end for a range. |
Output Schema
| Name | Required | Description |
|---|---|---|
| page | Yes | Current page number. |
| books | Yes | Matching books, ordered by the sort parameter. |
| hasMore | Yes | True if there are additional pages of results. |
| totalCount | Yes | Total number of books matching the query across all pages. |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations provide readOnlyHint, openWorldHint, and idempotentHint. The description adds behavioral details: results ordered by popularity by default, returns specific fields (ID, title, authors, etc.), and mentions pagination. It also explains filtering behavior. No contradictions.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences with no wasted words. The first sentence covers core purpose and filters; the second covers ordering, return fields, and sibling reference. Front-loaded and efficient.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given 8 parameters all documented in schema, an output schema exists, and the description explains pagination and return fields, the description is complete. It also guides the agent to use gutenberg_get_book for more details.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% for all 8 parameters, so baseline is 3. The description provides a high-level summary of filters (topic, language, author lifespan, IDs) but does not add significant detail beyond the schema. It met minimal expectations.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description specifies the tool searches the Project Gutenberg catalog of 78,000+ public-domain books, matching title and author names, with filters for topic, language, author lifespan, and specific IDs. It clearly distinguishes itself from siblings by mentioning gutenberg_get_book for full formats.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly states when to use this tool (searching the catalog) and provides alternatives: gutenberg_get_book for single-ID lookups and full formats, and implies other siblings for browsing or fetching text. It gives clear context on ordering and pagination.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Claim this connector by publishing a /.well-known/glama.json file on your server's domain with the following structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"maintainers": [{ "email": "your-email@example.com" }]
}The email address must match the email associated with your Glama account. Once published, Glama will automatically detect and verify the file within a few minutes.
Control your server's listing on Glama, including description and metadata
Access analytics and receive server usage reports
Get monitoring and health status updates for your server
Feature your server to boost visibility and reach more users
For users:
Full audit trail – every tool call is logged with inputs and outputs for compliance and debugging
Granular tool control – enable or disable individual tools per connector to limit what your AI agents can do
Centralized credential management – store and rotate API keys and OAuth tokens in one place
Change alerts – get notified when a connector changes its schema, adds or removes tools, or updates tool definitions, so nothing breaks silently
For server owners:
Proven adoption – public usage metrics on your listing show real-world traction and build trust with prospective users
Tool-level analytics – see which tools are being used most, helping you prioritize development and documentation
Direct user feedback – users can report issues and suggest improvements through the listing, giving you a channel you would not have otherwise
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!
Related MCP Servers
- Flicense-qualityDmaintenanceMCP server that gives AI agents access to the world's public domain library. Search, read, and navigate books and audiobooks from Project Gutenberg and LibriVox.
- Alicense-qualityCmaintenanceA well-documented MCP server that exposes a local SQLite catalog of public-domain books through tools like search, get, filter by genre, top-rated, and catalog stats.MIT
- AlicenseAqualityBmaintenanceAn MCP server that lets an LLM browse, search, and download books from OPDS catalogs (e.g., Project Gutenberg, Standard Ebooks) using tools for feed navigation, full-text search, and acquisition link downloads.41AGPL 3.0
- AlicenseAqualityCmaintenanceThis MCP server enables AI agents to search and retrieve exact, cited passages from a large corpus of public-domain books, including full-text search, book metadata, chapters, quotes, and 'ask book' Q&A. Payments are handled via x402 micropayments on Base.8280MIT
Your Connectors
Sign in to create a connector for this server.