get_book

Pack: gutendex · Endpoint: https://gateway.pipeworx.io/gutendex/mcp

Get full details for a book by ID. Returns title, author, publication year, language, available formats, and download count.

Parameters

NameTypeRequiredDescription
idnumberyesThe numeric Project Gutenberg book ID.

Example call

Arguments

{
  "id": 1342
}

curl

curl -X POST https://gateway.pipeworx.io/gutendex/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_book","arguments":{"id":1342}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_book', {
  "id": 1342
});

Response shape

Always returns: id, title, authors, languages, subjects, download_count, formats

FieldTypeDescription
idnumberProject Gutenberg book ID
titlestringBook title
authorsarrayList of book authors
languagesarrayLanguages the book is available in
subjectsarraySubject tags for the book
download_countnumberNumber of downloads
formatsobjectAvailable download formats and URLs
Full JSON Schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "number",
      "description": "Project Gutenberg book ID"
    },
    "title": {
      "type": "string",
      "description": "Book title"
    },
    "authors": {
      "type": "array",
      "description": "List of book authors",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Author name"
          },
          "birth_year": {
            "type": [
              "number",
              "null"
            ],
            "description": "Author birth year or null"
          },
          "death_year": {
            "type": [
              "number",
              "null"
            ],
            "description": "Author death year or null"
          }
        },
        "required": [
          "name",
          "birth_year",
          "death_year"
        ]
      }
    },
    "languages": {
      "type": "array",
      "description": "Languages the book is available in",
      "items": {
        "type": "string"
      }
    },
    "subjects": {
      "type": "array",
      "description": "Subject tags for the book",
      "items": {
        "type": "string"
      }
    },
    "download_count": {
      "type": "number",
      "description": "Number of downloads"
    },
    "formats": {
      "type": "object",
      "description": "Available download formats and URLs",
      "additionalProperties": {
        "type": "string"
      }
    }
  },
  "required": [
    "id",
    "title",
    "authors",
    "languages",
    "subjects",
    "download_count",
    "formats"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "gutendex": {
      "url": "https://gateway.pipeworx.io/gutendex/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026