date-math-mcp

v1.0.1
io.github.mrfentmen/date-math-mcp Checked 3 days ago Published 26 days ago

Business-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.

ParameterTypeDescription
end *stringEnd date, YYYY-MM-DD
start *stringStart date, YYYY-MM-DD
holidaysarrayHoliday dates, YYYY-MM-DD

add_business_days

Move a date forward or backward by a number of business days.

ParameterTypeDescription
date *stringStarting date, YYYY-MM-DD
days *integerBusiness days to add (negative goes backwards)
holidaysarrayHoliday dates, YYYY-MM-DD

date_difference

Calendar difference between two dates in years, months and days.

ParameterTypeDescription
from *stringEarlier date, YYYY-MM-DD
to *stringLater date, YYYY-MM-DD