date-math-mcp
v1.0.1Business-day counting, date shifting and calendar differences with holiday support - fully local.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
business_days_between
Count weekdays between two dates, optionally skipping holidays.
| Parameter | Type | Description |
|---|---|---|
end * | string | End date, YYYY-MM-DD |
start * | string | Start date, YYYY-MM-DD |
holidays | array | Holiday dates, YYYY-MM-DD |
add_business_days
Move a date forward or backward by a number of business days.
| Parameter | Type | Description |
|---|---|---|
date * | string | Starting date, YYYY-MM-DD |
days * | integer | Business days to add (negative goes backwards) |
holidays | array | Holiday dates, YYYY-MM-DD |
date_difference
Calendar difference between two dates in years, months and days.
| Parameter | Type | Description |
|---|---|---|
from * | string | Earlier date, YYYY-MM-DD |
to * | string | Later date, YYYY-MM-DD |