# NZ Data API

> New Zealand public holidays, working-day deadlines, IRD/NZBN/bank checks, GST. Pay per call via x402

- name: dev.workers.zakwins.nzdata/nz-data-api
- version: 1.1.0
- connection class: R0 (autonomous)
- trust: 79/100 flags: no-repository
- quality: 81/100 (new)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/dev.workers.zakwins.nzdata%2Fnz-data-api
- tools: https://api.protogrid.dev/v1/servers/dev.workers.zakwins.nzdata%2Fnz-data-api/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "nz-data-api": {
      "type": "http",
      "url": "https://nzdata.zakwins.workers.dev/mcp"
    }
  }
}
```


## Trust

- hygiene: 80
- liveness: 87
- freshness: 100
- provenance: 55
- drivers: +dns-namespace +website +reachable +uptime-67% +updated-2d-ago -no-repository
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 81/100 (new)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- pass `protocol.transport`: streamable HTTP
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 86 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- pass `tools.annotations`: 8 of 8 tools declare readOnlyHint or destructiveHint
- fail `tools.directory_hints`: no tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: nz_working_days (destructiveHint, idempotentHint); nz_working_days_add (destructiveHint, idempotentHint); nz_validate_ird (destructiveHint, idempotentHint); …
- pass `tools.token_cost`: about 958 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump

### stability: n/a (weight 15)

- n/a `stability.changes`, `stability.rug_pull`: tool history recorded for 1 of the 7 days needed

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 8, about 958 tokens to load them all
- tool set hash: 0894cce90c2b3b7bac02b4c746b2428a
- badge: [![protogrid quality](https://protogrid.dev/badge/dev.workers.zakwins.nzdata/nz-data-api.svg)](https://protogrid.dev/servers/dev.workers.zakwins.nzdata/nz-data-api)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Tool changes

_No tool definition changes recorded._

## Remotes

- https://nzdata.zakwins.workers.dev/mcp (streamable-http, auth none, reachable true, uptime30d 0.6666667)

## Packages

_none_

## Tools (8)

- `nz_gst`: NZ GST 15% calculator (exclusive or inclusive). Paid tool: $0.001 USDC on Base per call via x402 (an unpaid call returns PaymentRequired; retry with _meta["x402/payment"]). Example args: {"amount":"115","mode":"inclusive"}
- `nz_holidays`: NZ public holidays 2022-2030 incl. Matariki, Mondayisation and optional regional anniversary day. Paid tool: $0.002 USDC on Base per call via x402 (an unpaid call returns PaymentRequired; retry with _meta["x402/payment"]). Example args: {"year":"2026","region":"auckland"}
- `nz_validate_bank`: Validate an NZ bank account number check digit (IRD algorithms A-G/X), normalise BB-bbbb-AAAAAAA-SSS and identify the bank code. Paid tool: $0.001 USDC on Base per call via x402 (an unpaid call returns PaymentRequired; retry with _meta["x402/payment"]). Example args: {"number":"01-0902-0068389-00"}
- `nz_validate_ird`: Validate NZ IRD/GST number check digit. Paid tool: $0.001 USDC on Base per call via x402 (an unpaid call returns PaymentRequired; retry with _meta["x402/payment"]). Example args: {"number":"49091850"}
- `nz_validate_nzbn`: Validate NZBN (GTIN-13) check digit. Paid tool: $0.001 USDC on Base per call via x402 (an unpaid call returns PaymentRequired; retry with _meta["x402/payment"]). Example args: {"number":"9429041535134"}
- `nz_validate_phone`: Validate and normalise an NZ phone number to E.164 with type. Paid tool: $0.001 USDC on Base per call via x402 (an unpaid call returns PaymentRequired; retry with _meta["x402/payment"]). Example args: {"number":"021 123 4567"}
- `nz_working_days`: Count NZ working days between two dates inclusive (weekends, public holidays, optional statutory Christmas shutdown presets oia|lgoima|building_act|rta). Paid tool: $0.002 USDC on Base per call via x402 (an unpaid call returns PaymentRequired; retry with _meta["x402/payment"]). Example args: {"start":"2026-10-01","end":"2026-10-31","region":"","preset":"none"}
- `nz_working_days_add`: Add N NZ working days to a date (e.g. OIA 20 working-day deadline). Paid tool: $0.002 USDC on Base per call via x402 (an unpaid call returns PaymentRequired; retry with _meta["x402/payment"]). Example args: {"start":"2026-12-15","days":"20","preset":"oia"}
