Skip to content
MCP server
Registry

dayrule MCP Server

NZ working-day math with the law section cited, holidays, and IRD, NZ bank and ABN checks.

dayrule scores 66 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 7 tools. Filed under Uncategorized. GitHub shows 0 stars. Package registries report about 84 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by cloudcorprecordsMITTypeScript0 stars
Trust score
66Good
Trust score 66 of 100, Good

Good trust

66 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 66 comes from

22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "cloudcorprecords-dayrule": {      "command": "npx",      "args": [        "-y",        "@reneturcios/dayrule@0.1.0"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools7Tool docs quality grade D

All capabilities

About

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

  • add_working_days — move a date forward or back by a number of working days under a named rule. Required: rule, start_date, days. Optional: region and jurisdiction (default NZ). The start date itself is not counted. Returns the resulting date, the section cited, and the holidays skipped.
  • count_working_days — count the working days after a start date up to and including an end date under a named rule. Required: rule, from_date, to_date. Optional: region and jurisdiction (default NZ).
  • list_rules — read the catalogue of working-day rules, each with its section reference, text, and version. Takes no required arguments; optional jurisdiction defaults to NZ. Note the captured schema for this tool carries no required key at all, and that is how it is served here.
  • nz_holidays — New Zealand public holidays for a year from 2020 to 2030, with actual and observed dates plus provincial anniversary days. Required: year. Optional: region (for example wellington) and jurisdiction (default NZ).
  • validate_ird — check the check digit of an NZ IRD number a caller supplies. Required: number. Optional: jurisdiction (default NZ). Described upstream as free. Checksum only.
  • validate_nz_bank — check an NZ bank account number a caller supplies using the Inland Revenue algorithm. Required: account. Optional: jurisdiction (default NZ). Described upstream as free. Checksum only; the branch is not verified against the Payments NZ register.
  • validate_abn — check the checksum of an Australian Business Number a caller supplies using the ABR algorithm. Required: abn. Optional: jurisdiction (default AU). Described upstream as free.

Configuration

  • ITSMYSHIP_MCP_URL (optional) — override the upstream endpoint. Defaults to https://itsmyship.com/agent-tools/mcp. (The override hook is this rebuild's own labelled reconstruction.)
  • ITSMYSHIP_API_KEY (optional) — when set, every upstream request carries an Authorization: Bearer <key> header. When it is not set, no key header is sent. (The header name is pinned by the original's registry record; the record pins no package env name, so the Bearer form and forwarding the key from this env var are labelled reconstructions — the original surface was captured keyless.)

Forwarding mechanics

On the first tool call the client opens a streamable HTTP session upstream: a JSON-RPC initialize request (protocolVersion 2025-03-26, clientInfo name dayrule), then a notifications/initialized notification, then the tools/call request carrying the caller's arguments unchanged. When the upstream answers initialize with an Mcp-Session-Id header, that value rides on every later request of the session, which is reused for the life of the process. Replies may arrive as plain JSON or as server-sent events; both are read.

Successful upstream results pass through verbatim, including any isError flag the upstream sets. Failures — a JSON-RPC error, a non-2xx status, an unreadable response, or a request that cannot be completed — come back as an isError result whose text starts with dayrule error: (this rendering is this rebuild's own labelled reconstruction).

CLI

Each tool is also a subcommand taking one JSON argument string:

npx @reneturcios/dayrule add_working_days '{"rule":"holidays-act","start_date":"2026-12-24","days":5}'
npx @reneturcios/dayrule count_working_days '{"rule":"holidays-act","from_date":"2026-12-24","to_date":"2027-01-06"}'
npx @reneturcios/dayrule list_rules '{}'
npx @reneturcios/dayrule nz_holidays '{"year":2027}'
npx @reneturcios/dayrule validate_ird '{"number":"123456785"}'
npx @reneturcios/dayrule validate_nz_bank '{"account":"01-1234-0123456-00"}'
npx @reneturcios/dayrule validate_abn '{"abn":"51824753556"}'
npx @reneturcios/dayrule --version

Exit codes: 0 on success, 1 on an isError result, 2 on a usage error.

MCP server

npx -y @reneturcios/dayrule mcp

MCP client config:

{
  "mcpServers": {
    "dayrule": {
      "command": "npx",
      "args": ["-y", "@reneturcios/dayrule", "mcp"]
    }
  }
}

Docker

docker run -i ghcr.io/cloudcorprecords/dayrule
docker run --rm ghcr.io/cloudcorprecords/dayrule --version

The container's default command is mcp, so the first form is a stdio MCP server; any other arguments reach the CLI normally.

Development

npm install
npm run build
npm test
npm run dev

The test suite runs entirely against a stubbed JSON-RPC upstream — no live network calls.

License

MIT — see LICENSE.

Frequently asked questions

What is dayrule MCP Server?

NZ working-day math with the law section cited, holidays, and IRD, NZ bank and ABN checks.

How do I install dayrule MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. dayrule MCP Server runs locally from the npm package @reneturcios/dayrule with the command npx -y @reneturcios/dayrule@0.1.0.

Is dayrule MCP Server free and open source?

Yes. dayrule MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does dayrule MCP Server support remote (HTTP) connections?

No remote endpoint is listed for dayrule MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does dayrule MCP Server provide?

dayrule MCP Server provides 7 tools, including add_working_days, count_working_days, list_rules, and nz_holidays. See the full tool list for descriptions and parameters.

How is dayrule MCP Server's trust score calculated?

dayrule MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server