
Dayrule
NZ working-day rules, public holidays, and IRD, bank, and ABN checksum validation via upstream.
- tools
- 7
- transport
- STDIO
- last updated
- Nov 16, 2026
What it does
- Computes under named rules with section citations:
add_working_daysandcount_working_days, pluslist_rulesfor the rule catalogue with section references and versions - Lists NZ public holidays for 2020 to 2030 with observed dates and provincial anniversaries through
nz_holidays - Checks checksums only, with
validate_ird,validate_nz_bank, andvalidate_abn; the bank branch is not verified against the Payments NZ register - Forwards calls to a hosted upstream endpoint; all tools are read-only, with an optional API key and runs locally over stdio
- Designed for payroll, leave, and contract teams needing defensible NZ deadline arithmetic and identifier checks
Tools
7 toolsPublic tool metadata for what this MCP can expose to an agent.
add_working_daysMove a date forward or back by a number of working days under a named rule.
Move a date forward or back by a number of working days under a named rule.
No parameter schema in public metadata yet.
count_working_daysCount the working days after a start date up to and including an end date under a named rule.
Count the working days after a start date up to and including an end date under a named rule.
No parameter schema in public metadata yet.
list_rulesRead the catalogue of working-day rules, each with its section reference, text, and version.
Read the catalogue of working-day rules, each with its section reference, text, and version.
No parameter schema in public metadata yet.
nz_holidaysNew Zealand public holidays for a year from 2020 to 2030, with actual and observed dates plus provincial anniversary days.
New Zealand public holidays for a year from 2020 to 2030, with actual and observed dates plus provincial anniversary days.
No parameter schema in public metadata yet.
validate_irdCheck the check digit of an NZ IRD number a caller supplies.
Check the check digit of an NZ IRD number a caller supplies.
No parameter schema in public metadata yet.
validate_nz_bankCheck an NZ bank account number a caller supplies using the Inland Revenue algorithm.
Check an NZ bank account number a caller supplies using the Inland Revenue algorithm.
No parameter schema in public metadata yet.
validate_abnCheck the checksum of an Australian Business Number a caller supplies using the ABR algorithm.
Check the checksum of an Australian Business Number a caller supplies using the ABR algorithm.
No parameter schema in public metadata yet.
Readme
dayrule
dayrule is a small local bridge to the hosted itsmyship agent-tools MCP server, which answers questions about New Zealand working days and checks a few Australasian identifiers by checksum. Working days in New Zealand are not defined the same way in every statute, so the day tools work under a named rule: each answer reports the date or count together with the section of law that definition comes from and, for additions, the holidays that were skipped.
The bridge computes nothing itself. It answers the tool list locally, exactly as captured from the live endpoint, and forwards each tool call upstream, returning whatever comes back untouched. All seven tools are read-only utilities over values the caller supplies — there is no account lookup, no payment, and nothing that sends anything anywhere.
Tools
Details
- Repository
- github.com/cloudcorprecords/dayrule
- Category
- Business, Legal & HR
- Package
@reneturcios/dayrule- Transport
- STDIO
- Registry
- MCP registry, active
More from cloudcorprecords
All 176Similar to Dayrule
More Business, Legal & HR
HolidayExplore Global Banking & Chronometry MCP Serversahin99chyGlobal statutory holidays, central bank payment cutoffs, and working-day counts for 48 countries.
Korea Business Days & HolidaysopencurrentKorean public holidays and business-day arithmetic for deadlines, covering 2026 and 2027.
Date Mathjowendelapena1 starDate and time math for agents: business days, holidays, time zones, cron, and RRULE.
Japan Calendarnick353Exact Japanese holiday, business day, and wareki lookups from official Cabinet Office data over HTTP.
API Colombia: días hábiles, festivos y DIANternappColombian business days, public holidays, DIAN tax deadlines by NIT, UVT and TRM data.
JpverifycloudcorprecordsVerified access to Japanese company registers: corporate numbers, invoice registrations, profiles, and addresses.