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
| Name | Type | Required | Description |
|---|---|---|---|
id | number | yes | The 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
| Field | Type | Description |
|---|---|---|
id | number | Project Gutenberg book ID |
title | string | Book title |
authors | array | List of book authors |
languages | array | Languages the book is available in |
subjects | array | Subject tags for the book |
download_count | number | Number of downloads |
formats | object | Available 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.