MCP tool
business_days_between
business_days_between is a tool name used by 4 different MCP servers. They are not necessarily the same tool — here is what each one does.
4 MCP servers expose a business_days_between tool: SA Business Calendar, PlugRail Japanese Calendar, Business Day Calendars and WebRef (paid). Their input schemas differ, so compare them below before picking one.
Servers exposing business_days_between
From the publisher:Count SA business days between two dates.
Install SA Business Calendar →From the publisher:from〜to間の営業日数を数えます。既定では「fromを含まず、toを含む」境界です(例:「今日から支払期日まで何営業日か」)。include_from/include_toで境界を変更できます。土日・日本の祝日を除外し、calendar="banking"を指定すると銀行休業日(12/31〜1/3)も除外します。from > to の場合はエラーにせず、from/toとinclude_from/include_toを入れ替えて計算した結果の符号を反転した値(負の営業日数)を返します(反対称則: count(A,B,x,y) = -count(B,A,y,x)。A≠B、すなわちfrom≠toの場合に成立する恒等式で、from===toはこの分岐に入らないため対象外)。入力例: {"from": "2026-07-10", "to": "2026-07-20"}
Install PlugRail Japanese Calendar →Parameter Type Description from*string 起点日 YYYY-MM-DD。例: "2026-07-10"。 to*string 終点日 YYYY-MM-DD。例: "2026-07-20"。fromより前の日付も指定可(結果は負の営業日数になります)。 calendarstring "standard"(既定)または"banking"(銀行休業日も除外)。 extra_closed_datesarray 顧客固有の追加休業日(YYYY-MM-DD の配列)。例: ["2026-12-29", "2026-12-30"] include_fromboolean fromを営業日数に含めるか。既定はfalse。 include_toboolean toを営業日数に含めるか。既定はtrue。 From the publisher:Counts business days between two dates on a joint calendar: days after start up to and including end (inclusive=true also counts start). Negative if end is before start. Lists weekday holidays in range. Max 10 years. Deterministic, no AI. Price: $0.001 USDC per call via x402 (Base); the first 5 calls per day per client are free.
Install Business Day Calendars →Parameter Type Description start*string Start date YYYY-MM-DD end*string End date YYYY-MM-DD inclusivestring true to count the start date too calendarsstring Comma list of calendars; a day is a business day only if open in all. XNYS (NYSE), FED (Fedwire/FedACH), TARGET2 (EUR), UK-ENG. Aliases: NYSE, US, ACH, EUR, UK. Default FED. From the publisher:Count the business days between two dates, excluding weekends. Use it to turn a calendar deadline into a working-day deadline. Public holidays are not excluded, so the count is an upper bound. ($0.005 per call)
Install WebRef (paid) →Parameter Type Description from*string start date, YYYY-MM-DD to*string end date, YYYY-MM-DD
Related tools
The same action under a namespaced name on other servers.
Tool lists are read from the live servers (or, for packaged servers, from their documentation) each morning, so this reflects what they exposed at the last refresh. Search all tools.