An API of Ice and Fire
liveBooksEntertainmentA Song of Ice and Fire (GoT) books, characters, houses. Keyless.
Tools
booksSearch and list A Song of Ice and Fire books filterable by name, release date range (fromReleaseDate/toReleaseDate), with pagination (page, pageSize); returns ISBN, authors, publisher, number of pages
nameoptstring—fromReleaseDateoptstring—toReleaseDateoptstring—pageoptnumber—pageSizeoptnumber—Try it
anapioficeandfire_bookSingle book by id.
No parameters required.
Try it
anapioficeandfire_charactersSearch and list ASOIAF characters filterable by name, culture, birth/death descriptor, gender, and alive status; returns aliases, titles, house affiliations, and book/POV appearances.
No parameters required.
Try it
anapioficeandfire_characterSingle character by id.
No parameters required.
Try it
housesSearch/list houses.
nameoptstring—regionoptstring—wordsoptstring—hasTitlesoptboolean—hasSeatsoptboolean—hasDiedOutoptboolean—hasAncestralWeaponsoptboolean—pageoptnumber—pageSizeoptnumber—Try it
houserequired: idSingle house by id.
idreqnumber—Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/anapioficeandfire/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'curl -X POST https://gateway.pipeworx.io/anapioficeandfire/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"books","arguments":{}}}'Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("books", {});// Or ask in plain English:
const answer = await px.ask("a song of ice and fire (got) books, characters, houses");