Is it a business day?
Is a date a business day? If not, why (weekend, or which public holiday). Also the next and previous business day, and the month's business-day count, first and last business day. Use for office-open checks, shipping cut-offs, settlement dates. Country holidays, custom holidays and custom workweeks (e.g. Sun–Thu, Mon–Sat).
MCP tool business_dayHTTP POST /v1/business_day25 free calls a day, then $0.001
Try it
Runs the real tool over MCP. Edit the arguments and run. Uses your daily free calls.
business_day
result
{
"date": "2026-12-25",
"weekday": "Friday",
"is_business_day": false,
"reason": "holiday",
"holiday": "Christmas Day",
"next_business_day": "2026-12-28",
"previous_business_day": "2026-12-24",
"month": {
"business_days": 21,
"first_business_day": "2026-12-01",
"last_business_day": "2026-12-31",
"business_day_number": null
}
}
The result shown before you run is a saved example response.
Use it from your agent
Add the MCP server once and your agent can call business_day and the other 19 tools.
Claude Code
One command in your terminal.
claude mcp add --transport http date-math https://date-math.datemath.workers.dev/mcp
Any MCP client
Claude Desktop, Cursor, VS Code, Windsurf.
{
"mcpServers": {
"date-math": {
"url": "https://date-math.datemath.workers.dev/mcp"
}
}
}HTTP + x402
POST JSON; pay the 402 with any x402 client.
curl -X POST https://date-math.datemath.workers.dev/v1/business_day \
-H "Content-Type: application/json" \
-d '{"date":"2026-12-25","country":"PH"}'