MCP 서버

Date Math Calculator

com.apished/date-math-calculator
생산성 공개 · 연결 가능 MCP 2025-11-25

이 MCP로 할 수 있는 일

Performs date arithmetic including differences, age calculations, business-day counts, weekday lookup, leap-year checks, and date addition.

datemath_add
Adds years/months/days to date. years/months are applied together with end-of-month clamping — e.g. 2026-01-31 + 1 month = 2026-02-28, not an overflowed 2026-03-03. days is then applied as plain calendar-day arithmetic.
입력 스키마
{'type': 'object', 'required': ['date'], 'properties': {'date': {'type': 'string', 'description': 'YYYY-MM-DD'}, 'days': {'type': 'integer'}, 'years': {'type': 'integer'}, 'months': {'type': 'integer'}}, 'additionalProperties': False}
출력 스키마
{'type': 'string'}
datemath_age
Age in whole years as of asOf (optional, defaults to the current UTC date). A Feb-29 birthDate is treated as falling on March 1 in a non-leap asOf year.
입력 스키마
{'type': 'object', 'required': ['birthDate'], 'properties': {'asOf': {'type': 'string', 'description': 'YYYY-MM-DD, defaults to today'}, 'birthDate': {'type': 'string', 'description': 'YYYY-MM-DD'}}, 'additionalProperties': False}
출력 스키마
{'type': 'integer'}
datemath_businessdays
Counts days in [from, to] (inclusive on both ends) whose weekday is in weekdays (default mon-fri) and which aren't in holidays.
입력 스키마
{'type': 'object', 'required': ['from', 'to'], 'properties': {'to': {'type': 'string', 'description': 'YYYY-MM-DD'}, 'from': {'type': 'string', 'description': 'YYYY-MM-DD'}, 'holidays': {'type': ['null', 'array'], 'items': {'type': 'string'}, 'description': 'YYYY-MM-DD dates to exclude'}, 'weekdays': {'type': ['null', 'array'], 'items': {'type': 'string'}, 'description': 'sun/mon/tue/wed/thu/fri/sat, default mon-fri'}}, 'additionalProperties': False}
출력 스키마
{'type': 'integer'}
datemath_dayofweek
Day of the week for date: both the weekday name and its ISO 8601 weekday number (1=Monday..7=Sunday).
입력 스키마
{'type': 'object', 'required': ['date'], 'properties': {'date': {'type': 'string', 'description': 'YYYY-MM-DD'}}, 'additionalProperties': False}
출력 스키마
{'type': 'object', 'required': ['dayOfWeek', 'isoWeekday'], 'properties': {'dayOfWeek': {'type': 'string'}, 'isoWeekday': {'type': 'integer'}}, 'additionalProperties': False}
datemath_diff
Day difference between two YYYY-MM-DD dates: to minus from, in whole days. Negative if to is before from.
입력 스키마
{'type': 'object', 'required': ['from', 'to'], 'properties': {'to': {'type': 'string', 'description': 'YYYY-MM-DD'}, 'from': {'type': 'string', 'description': 'YYYY-MM-DD'}}, 'additionalProperties': False}
출력 스키마
{'type': 'integer'}
datemath_leapyear
Checks whether year is a leap year in the Gregorian calendar.
입력 스키마
{'type': 'object', 'required': ['year'], 'properties': {'year': {'type': 'integer'}}, 'additionalProperties': False}
출력 스키마
{'type': 'boolean'}
추가됨
datemath_leapyear
2026년 9월 17일 12:33 PM
추가됨
datemath_diff
2026년 9월 17일 12:33 PM
추가됨
datemath_dayofweek
2026년 9월 17일 12:33 PM
추가됨
datemath_businessdays
2026년 9월 17일 12:33 PM
추가됨
datemath_age
2026년 9월 17일 12:33 PM
추가됨
datemath_add
2026년 9월 17일 12:33 PM