search

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

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 the NYPL Digital Collections collection by keyword. Returns matching items with ids (pass an id to item), titles, creators/sources, dates and links.

Parameters

NameTypeRequiredDescription
querystringyesKeyword(s).
limitnumbernoMax results (1-100, default 20).
pagenumbernoPage (1-based, default 1).
_apiKeystringnoNYPL Digital Collections API key (auto-injected by the platform).

Example call

Arguments

{
  "query": "Civil War photographs"
}

curl

curl -X POST https://gateway.pipeworx.io/nypl/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search","arguments":{"query":"Civil War photographs"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('search', {
  "query": "Civil War photographs"
});

More examples

{
  "query": "New York maps 1850",
  "limit": 50,
  "page": 1
}

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build September 24, 2026