search
Pack: bookbrainz · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/search for the schema, then POST the same URL with its arguments for the data.
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 |
|---|---|---|
resultCount | number | |
searchResult | array | |
totalCount | number |
Full JSON Schema
{
"type": "object",
"properties": {
"resultCount": {
"type": "number"
},
"searchResult": {
"type": "array",
"items": {
"type": "object",
"properties": {
"bbid": {
"type": "string"
},
"defaultAlias": {
"type": "object",
"properties": {
"language": {
"type": "string"
},
"name": {
"type": "string"
},
"primary": {
"type": "boolean"
},
"sortName": {
"type": "string"
}
}
},
"entityType": {
"type": "string"
}
}
}
},
"totalCount": {
"type": "number"
}
},
"description": "Search results from BookBrainz API"
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the bookbrainz pack
{
"mcpServers": {
"bookbrainz": {
"url": "https://gateway.pipeworx.io/bookbrainz/mcp"
}
}
}
See Getting Started for client-specific install steps.