search

Pack: digitalnz · Endpoint: https://gateway.pipeworx.io/digitalnz/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 DigitalNZ collection by keyword. Returns matching items with ids (pass an id to record), titles, creators/sources, dates and links.

Parameters

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

Example call

Arguments

{
  "query": "Treaty of Waitangi"
}

curl

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

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('search', {
  "query": "Treaty of Waitangi"
});

More examples

{
  "query": "Maori art",
  "limit": 50,
  "page": 1
}

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build September 24, 2026