Business Days & SLA

io.github.VessarkPublished by GitHub account Vessarkv0.1.0Updated Oct 24, 2026

Business-day, SLA, cron and recurrence calculations — offline, holiday-aware, no network.

VerifiedStreamable HTTPWeb executableProductivity & WorkflowDeveloper Tools

Overview

AI-generated overview

Holiday-aware business-day, SLA due-time, cron and RRULE calculations for an assistant, run offline with no network calls.

What you can do
  • Check whether a date is a working day and why not, and find the next or previous business day
  • Shift a date by a number of working days, count working days between dates, and get first or last business day of a month
  • Compute when an N-business-hour SLA falls due, counting only open hours
  • Validate and explain cron expressions and list their next occurrences
  • Validate and explain RFC 5545 recurrence rules and expand them to upcoming occurrences
When to use it
Useful when an assistant has to answer support, billing or operations date questions: whether a date is a working day in a given country, when an SLA clock runs out, or what a cron or RRULE expression means and when it next fires. It is a calculator only, not a scheduler.
Requirements
A remote endpoint at vessark.com needs no install and no credentials. To run it locally, use uvx or a clone with uv, which fetches the Python package from its Git repository; it makes no network calls at runtime.
Before you install
Cron and recurrence tools only parse and explain; nothing is scheduled, stored or executed. A working week is assumed to be Monday to Friday, so Sunday-to-Thursday countries are wrong, and dates outside the bundled holiday dataset are refused. The hosted endpoint depends on the provider's uptime; the README notes that Vessark's workspace tools are a separate commercial product.

Installation

In SourceWeft

  1. Open Business Days & SLA in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.Vessark%2Fbusiness-days-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "business-days-sla": {
      "type": "http",
      "url": "https://vessark.com/mcp"
    }
  }
}

README

business-days-mcp

[MCP server quality]

An MCP server for the date arithmetic that support, billing and operations teams actually do: is this a working day, when is this SLA due, what is the next working day after a bank holiday — plus cron and recurrence-rule parsing for the recurring side of the same job.

It runs offline. No network calls, no stored data, no model calls — every answer is computed from bundled public-holiday rules.

What it does

Business days and SLAs — holiday-aware for ~150 countries and their subdivisions (England and Scotland differ; so do US states), via the holidays package.

ToolAnswers
is_business_dayIs this a working day? If not, is it a weekend or a named holiday?
next_business_day / previous_business_dayThe next/last working day around a date
add_business_daysMove ±N working days from a date
business_days_betweenHow many working days between two dates (half-open)
first_business_day_of_month / last_business_day_of_monthMonth boundaries
sla_due_timeWhen does an N-business-hour SLA fall due, counting only open hours?

Cron and recurrence — parsing only. Nothing is scheduled, stored, or executed; there are no timers and no job store. If you want something run on a schedule, this is deliberately not that tool.

ToolAnswers
validate_cron_expression / explain_cron_expressionIs this cron valid, and what does it mean in English?
next_cron_occurrencesWhen would it next fire?
validate_recurrence_rule / explain_recurrence_ruleSame, for an RFC 5545 RRULE
next_recurrence_occurrencesExpand an RRULE to its next occurrences

Install and run

The hosted endpoint needs no install at all — see Client configuration. To run it yourself, uvx fetches and runs it:

sh
uvx --from git+https://github.com/Vessark/business-days-mcp business-days-mcp

From a clone:

sh
git clone https://github.com/Vessark/business-days-mcpcd business-days-mcpuv sync && uv run business-days-mcpuv run pytest                         # the tests are the documentation

Client configuration

Hosted — nothing to install

The quickest way in. The same tools, no install, no credentials:

json
{  "mcpServers": {    "vessark": {      "url": "https://vessark.com/mcp"    }  }}

Run it yourself

If you would rather not depend on someone else's uptime, run it locally — it is the same code, and it never touches the network:

json
{  "mcpServers": {    "business-days": {      "command": "uvx",      "args": [        "--from",        "git+https://github.com/Vessark/business-days-mcp",        "business-days-mcp"      ]    }  }}

Examples

jsonc
// is_business_day — 2026-12-28, UK{"date": "2026-12-28", "country": "GB"}→ {"is_business_day": false, "reason": "holiday: Boxing Day (substitute day)"}
// sla_due_time — 8 business hours from Monday 16:00{"start": "2026-07-27T16:00", "business_hours": 8}→ {"due": "2026-07-28T16:00:00", "started_within_business_hours": true}
// explain_cron_expression{"expression": "30 9 * * MON-FRI"}→ {"explanation": "At 09:30, on Monday through Friday."}

Design notes

Every tool is a pure function of its arguments, which is why the test suite is mostly tables. Invalid input is an ordinary typed result, never an exception — a model that gets an argument wrong gets a readable reason and can correct itself. Every loop that a caller can influence is bounded, so no request can buy an expensive computation. Error messages never echo what you sent, so the server can't be used to relay text into someone else's agent.

Known limits, stated rather than hidden: a working week is Monday–Friday, so countries with Sunday–Thursday weeks are wrong under this assumption; holiday data covers only the years the underlying dataset knows about, and a date outside that range is refused rather than silently answered as an ordinary working day.

Prior art

fbdo/business-day-mcp covers business-day and holiday arithmetic and predates this server. If that is all you need, use it — it also exposes timezone-aware "today" and holiday listing, which this server does not.

This one was built for a different centre of gravity: SLA clocks that count only business hours, and cron / RRULE parsing for the recurring side of the same work. The overlap in the business-day tools is real and the names are conventional; both servers are MIT licensed and both build on the excellent holidays package.

Releasing

Bump the version in both pyproject.toml and server.json, then push a matching tag:

sh
git tag v0.2.0 && git push origin v0.2.0

That runs the test suite, checks the tag agrees with both version fields, publishes to PyPI, and republishes to the MCP registry. Both use GitHub OIDC — PyPI via Trusted Publishing — so there is no API token in this repository, in a secret store, or on any machine.

About

Built and maintained by Vessark. The tools in this repository are the free tier and are open source under the MIT licence. Vessark's workspace tools — the ones that operate on a connected workspace — are the commercial product and are not open source.

Issues and pull requests welcome.

Source: README.md at commit 7a92748

Tools

0
SourceWeft has not read this server's tools yet.

Version history

1
  1. v0.1.0LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declaredRequired10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts