Verified business-day math for AI agents: holidays + per-country weekends, not guesses.
git clone https://github.com/qinisolabs/bizdays{
"mcpServers": {
"bizdays": {
"command": "node",
"args": ["/path/to/bizdays/dist/index.js"]
}
}
}MCP Servers overview
<div align="center">
<img src="docs/logo.svg" width="96" height="96" alt="Qiniso" />
# bizdays
**Verified business-day math for AI agents — holidays + per-country weekends, not guesses.**
*Verified, trustworthy data tools for AI agents. "Qiniso" means "truth" in Zulu.*
[Website](https://qinisolabs.github.io/bizdays/) · [MCP endpoint](https://bizdays.qinisolabs.workers.dev/mcp) · [MCP Registry](https://registry.modelcontextprotocol.io/v0/servers?search=bizdays)
</div>
---
LLMs answer "what date is 5 business days after Dec 22nd in the UK?", "how many working days are in this month?", and "is Friday a working day in Saudi Arabia?" confidently and often **wrongly** — they miscount, forget public holidays, and assume every country's weekend is Saturday/Sunday. **bizdays** gives an agent the deterministic answer from real public-holiday calendars and per-country weekend rules, showing the weekend rule and the exact holidays it skipped.
Two things break naive business-day math, and bizdays fixes both: **weekends aren't Sat/Sun everywhere** (Fri/Sat in Saudi Arabia, Egypt & Israel; Fri in Iran; Sun in India; Sat/Sun in the UAE since 2022), and **"holiday" must mean a real day off** — off-the-shelf data counts observances like Valentine's Day and Christmas Eve, which are not days off.
> Counting the working days in a month, a frontier LLM with no tools is **wrong 63% of the time**, cold — and **23% across business-day questions** overall. **bizdays: 0%.**
## Add it to Claude
Settings → Connectors → **Add custom connector**, and paste — no login, no key:
```
https://bizdays.qinisolabs.workers.dev/mcp
```
Stateless, reads no user data, requires no secrets. Prefer to run it locally over stdio? Add `{ "command": "npx", "args": ["-y", "@qinisolabs/bizdays"] }` under `mcpServers` in your client config.
## Use it as a library
Every tool is also a typed function — no MCP required:
```bash
npm i @qinisolabs/bizdays
```
```ts
import { addBusinessDays, countBusinessDays, isBusinessDay } from "@qinisolabs/bizdays";
addBusinessDays("2025-12-22", 5, "GB").result; // "2025-12-31" (skips Christmas + Boxing Day)
countBusinessDays("2025-12-01", "2025-12-31", "US"); // { businessDays: 22, ... }
isBusinessDay("2025-06-13", "SA").isBusinessDay; // false — Friday is weekend in Saudi Arabia
isBusinessDay("2025-02-14", "US").isBusinessDay; // true — Valentine's Day is not a public holiday
```
Every function returns a rich result: the answer, the weekday, exactly which weekends and named holidays were skipped, the weekend rule and its source, and a confidence flag.
## What it does — 6 tools
| Tool | What it answers |
| --- | --- |
| **add_business_days** | What date is N working days from a start date? (N may be negative) |
| **count_business_days** | How many working days between two dates? (endpoints inclusive by default) |
| **is_business_day** | Is this date a working day? If not, why (weekend / public holiday with its name)? |
| **next_business_day** | First working day strictly after a date |
| **previous_business_day** | Last working day strictly before a date |
| **country_rule** | The weekend rule + its source, whether holidays apply, and a confidence flag |
Public holidays for **206 countries** (and subdivisions) come from [`date-holidays`](https://github.com/commenthol/date-holidays), filtered to `type: "public"`. Weekends come from **Unicode CLDR** via the runtime `Intl` API, plus a curated `data/weekend-overrides.json` correction layer (e.g. Bangladesh Fri/Sat, Nepal Sat-only) — the maintained data is the moat.
## What it is *not*
- **Not all-holidays.** It counts weekends and **public** holidays only — not regional or optional observances. Pass company shutdowns or regional days via `extraHolidays`.
- **Not uniformly verified.** A Tier-1 set of ~65 countries is verified; others work but are flagged `unverified`. Where no holiday calendar exists (e.g. Qatar, Kuwait, Oman), the correct weekend still applies and the response says so (`holidaysApplied: false`).
- **Not a live service dependency.** The library makes no network calls; dates are `YYYY-MM-DD` in UTC.
## Architecture
A single TypeScript package exposing one MCP server over two transports — **stdio** (local / `npx`) and a **Cloudflare Worker** (the hosted edge endpoint) — both driven by the same `core.ts` tool definitions, which also power the importable library.
```bash
npm install
npm run build
npm test
```
## License
Apache-2.0. Bundled holiday data is from `date-holidays` (ISC AND CC-BY-3.0); see `NOTICE`.
What people ask about bizdays
What is qinisolabs/bizdays?
+
qinisolabs/bizdays is mcp servers for the Claude AI ecosystem. Verified business-day math for AI agents: holidays + per-country weekends, not guesses. It has 0 GitHub stars and was last updated today.
How do I install bizdays?
+
You can install bizdays by cloning the repository (https://github.com/qinisolabs/bizdays) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is qinisolabs/bizdays safe to use?
+
qinisolabs/bizdays has not been audited yet by our security agent. Review the original repository on GitHub before using it in production.
Who maintains qinisolabs/bizdays?
+
qinisolabs/bizdays is maintained by qinisolabs. The last recorded GitHub activity is from today, with 0 open issues.
Are there alternatives to bizdays?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy bizdays to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/qinisolabs-bizdays)<a href="https://claudewave.com/repo/qinisolabs-bizdays"><img src="https://claudewave.com/api/badge/qinisolabs-bizdays" alt="Featured on ClaudeWave: qinisolabs/bizdays" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。