New advertisers: 50% off your first month with code FIRSTMONTHSee slots
cloudcorprecords avatar

Dayrule

cloudcorprecords/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
View on GitHub

What it does

  • Computes under named rules with section citations: add_working_days and count_working_days, plus list_rules for 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, and validate_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 tools

Public 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


View the full README on GitHub

Details

Repository
github.com/cloudcorprecords/dayrule
Category
Business, Legal & HR
Package
@reneturcios/dayrule
Transport
STDIO
Registry
MCP registry, active

More from cloudcorprecords

All 176

Similar to Dayrule

More Business, Legal & HR