NZ Data API
New Zealand public holidays, working-day deadlines, IRD/NZBN/bank checks, GST. Pay per call via x402
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"nz-data-api": {
"url": "https://nzdata.zakwins.workers.dev/mcp"
}
}
}遠端端點
https://nzdata.zakwins.workers.dev/mcpstreamable-http它能做什麼
工具清單
工具(8)
🟢nz_holidays(year, region)
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"}
輸入結構描述
{
"type": "object",
"properties": {
"year": {
"type": "string",
"description": "e.g. 2026"
},
"region": {
"type": "string",
"description": "e.g. auckland"
}
},
"additionalProperties": false
}🟢nz_working_days(start, end, region, preset)
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"}
輸入結構描述
{
"type": "object",
"properties": {
"start": {
"type": "string",
"description": "e.g. 2026-10-01"
},
"end": {
"type": "string",
"description": "e.g. 2026-10-31"
},
"region": {
"type": "string",
"description": "e.g. (empty)"
},
"preset": {
"type": "string",
"description": "e.g. none"
}
},
"additionalProperties": false
}🟢nz_working_days_add(start, days, preset)
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"}
輸入結構描述
{
"type": "object",
"properties": {
"start": {
"type": "string",
"description": "e.g. 2026-12-15"
},
"days": {
"type": "string",
"description": "e.g. 20"
},
"preset": {
"type": "string",
"description": "e.g. oia"
}
},
"additionalProperties": false
}🟢nz_validate_ird(number)
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"}
輸入結構描述
{
"type": "object",
"properties": {
"number": {
"type": "string",
"description": "e.g. 49091850"
}
},
"additionalProperties": false
}🟢nz_validate_nzbn(number)
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"}
輸入結構描述
{
"type": "object",
"properties": {
"number": {
"type": "string",
"description": "e.g. 9429041535134"
}
},
"additionalProperties": false
}🟢nz_validate_phone(number)
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"}
輸入結構描述
{
"type": "object",
"properties": {
"number": {
"type": "string",
"description": "e.g. 021 123 4567"
}
},
"additionalProperties": false
}🟢nz_validate_bank(number)
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"}
輸入結構描述
{
"type": "object",
"properties": {
"number": {
"type": "string",
"description": "e.g. 01-0902-0068389-00"
}
},
"additionalProperties": false
}🟢nz_gst(amount, mode)
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"}
輸入結構描述
{
"type": "object",
"properties": {
"amount": {
"type": "string",
"description": "e.g. 115"
},
"mode": {
"type": "string",
"description": "e.g. inclusive"
}
},
"additionalProperties": false
}社群
證據