search

Pack: digitalnz · 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 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 — 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 digitalnz pack
{
  "mcpServers": {
    "digitalnz": {
      "url": "https://gateway.pipeworx.io/digitalnz/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 30, 2026