search

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

Search BookBrainz (MetaBrainz open book database) for works, editions, authors, publishers, series, or edition-groups by free-text query. Returns matching entity records with their BookBrainz UUIDs (bbids) for use with lookup.

Parameters

NameTypeRequiredDescription
querystringyesFree-text query
typestringyeswork | edition | author | publisher | series | edition-group
limitnumberno1-50 (default 10)
offsetnumberno0-based offset

Example call

Arguments

{
  "query": "The Great Gatsby",
  "type": "work"
}

curl

curl -X POST https://gateway.pipeworx.io/bookbrainz/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search","arguments":{"query":"The Great Gatsby","type":"work"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('search', {
  "query": "The Great Gatsby",
  "type": "work"
});

More examples

{
  "query": "F. Scott Fitzgerald",
  "type": "author",
  "limit": 5,
  "offset": 0
}

Response shape

FieldTypeDescription
countintegerTotal number of results matching the query
offsetintegerOffset used in the query
entitiesarrayArray of matching entities
Full JSON Schema
{
  "type": "object",
  "description": "Search results from BookBrainz API",
  "properties": {
    "count": {
      "type": "integer",
      "description": "Total number of results matching the query"
    },
    "offset": {
      "type": "integer",
      "description": "Offset used in the query"
    },
    "entities": {
      "type": "array",
      "description": "Array of matching entities",
      "items": {
        "type": "object",
        "description": "Entity result with bbid, type, and metadata"
      }
    }
  }
}

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026