Count workdays between two dates, or add N business days to a date — skipping weekends and holidays.
Free tier eligible — 500 calls/month with a free key from /pricing; x402 pay-per-call above quota.
| Parameter | Type | Required | Description |
|---|---|---|---|
mode | string | optional | Operation One of: count, add |
start | string | required | Start date YYYY-MM-DD |
end | string | optional | End date YYYY-MM-DD (count mode) |
days | integer | optional | Business days to add, may be negative (add mode) |
holidays | array | optional | Optional list of YYYY-MM-DD dates to exclude |
curl -s https://wingmanprotocol.com/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "business_days", "arguments": {"start": "example"}}}'curl -s https://wingmanprotocol.com/tools/business_days \
-H 'Content-Type: application/json' \
-d '{"start": "example"}'Edit the JSON and run it — this POSTs to https://wingmanprotocol.com/tools/business_days from your browser.
X-Payment header, or get a free key at /pricing (500 calls/month, no card, no crypto).