
Business Days & SLA
io.github.Vessark由 GitHub 帳號 Vessark 發布v0.1.0更新於 Oct 24, 2026
Business-day, SLA, cron and recurrence calculations — offline, holiday-aware, no network.
概覽
為助理提供考量假日的營業日、SLA 到期時間、cron 與 RRULE 計算,離線執行、不連網。
- 可以做什麼
- 判斷某日期是否為工作日,並說明是週末還是某個假日
- 依工作日數前後移動日期、計算兩個日期之間的工作日數、取得某月第一個或最後一個工作日
- 計算以營業小時計的 SLA 何時到期,只計入營業時間
- 驗證並解釋 cron 運算式,列出接下來幾次觸發時間
- 驗證並解釋 RFC 5545 重複規則,並展開後續發生時間
- 適用情境
- 適合助理回答客服、帳務或維運類的日期問題:某天在指定國家是否為工作日、SLA 時鐘何時到期、某條 cron 或 RRULE 運算式代表什麼、下次何時觸發。它只是計算器,不是排程器。
- 執行需求
- vessark.com 上的遠端端點免安裝、免憑證。若要在本機執行,需使用 uvx 或先複製再用 uv,從 Git 儲存庫取得 Python 套件;執行時不會發出網路請求。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Business Days & SLA,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.github.Vessark%2Fbusiness-days-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"business-days-sla": {
"type": "http",
"url": "https://vessark.com/mcp"
}
}
}README
business-days-mcp
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.
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.
Install and run
The hosted endpoint needs no install at all — see
Client configuration. To run it yourself, uvx
fetches and runs it:
From a clone:
Client configuration
Hosted — nothing to install
The quickest way in. The same tools, no install, no credentials:
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:
Examples
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:
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.
來源:README.md,提交 7a92748
工具
0版本歷史
1- v0.1.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式必需10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分