Payroll dates that skip weekends and holidays
Upcoming pay or billing dates for monthly, semi-monthly (e.g. 15th and last day), biweekly or weekly schedules, moved off weekends and public holidays (to the previous, next or nearest business day). Use for payroll calendars, invoice due dates and recurring billing.
MCP tool pay_datesHTTP POST /v1/pay_dates25 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.
pay_dates
result
{
"schedule": "semi_monthly",
"adjust": "previous",
"count": 4,
"pay_dates": [
{
"scheduled": "2026-12-15",
"pay_date": "2026-12-15",
"weekday": "Tuesday",
"adjusted": false
}
]
}
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 pay_dates 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/pay_dates \
-H "Content-Type: application/json" \
-d '{"schedule":"semi_monthly","from":"2026-12-01","count":4,"country":"PH"}'