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
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Free-text query |
type | string | yes | work | edition | author | publisher | series | edition-group |
limit | number | no | 1-50 (default 10) |
offset | number | no | 0-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
| Field | Type | Description |
|---|---|---|
count | integer | Total number of results matching the query |
offset | integer | Offset used in the query |
entities | array | Array 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.