Date Math Calculator is an MCP server published by com.apished, hosted at apished.com. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 6 tools, including datemath_add, datemath_age, datemath_businessdays, datemath_dayofweek, datemath_diff.
Date arithmetic: day differences, business days, age, leap years, day-of-week, add/subtract.
30 connections through 4 shared values. Tap any node.
Inferred from the host name and headers: what a server runs on, not who runs it.
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.
| Parameter | Type | Description |
|---|---|---|
| date * | string | YYYY-MM-DD |
| days | integer | |
| years | integer | |
| months | integer |
{
"name": "datemath_add",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"date"
],
"properties": {
"date": {
"type": "string",
"description": "YYYY-MM-DD"
},
"days": {
"type": "integer"
},
"years": {
"type": "integer"
},
"months": {
"type": "integer"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "string"
}
}None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
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.
| Parameter | Type | Description |
|---|---|---|
| asOf | string | YYYY-MM-DD, defaults to today |
| birthDate * | string | YYYY-MM-DD |
{
"name": "datemath_age",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"birthDate"
],
"properties": {
"asOf": {
"type": "string",
"description": "YYYY-MM-DD, defaults to today"
},
"birthDate": {
"type": "string",
"description": "YYYY-MM-DD"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "integer"
}
}Counts days in [from, to] (inclusive on both ends) whose weekday is in weekdays (default mon-fri) and which aren't in holidays.
| Parameter | Type | Description |
|---|---|---|
| to * | string | YYYY-MM-DD |
| from * | string | YYYY-MM-DD |
| holidays | ["null","array"] | YYYY-MM-DD dates to exclude |
| weekdays | ["null","array"] | sun/mon/tue/wed/thu/fri/sat, default mon-fri |
{
"name": "datemath_businessdays",
"description": "Counts days in [from, to] (inclusive on both ends) whose weekday is in weekdays (default mon-fri) and which aren't in holidays.",
"inputSchema": {
"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
},
"outputSchema": {
"type": "integer"
}
}Day of the week for date: both the weekday name and its ISO 8601 weekday number (1=Monday..7=Sunday).
| Parameter | Type | Description |
|---|---|---|
| date * | string | YYYY-MM-DD |
{
"name": "datemath_dayofweek",
"description": "Day of the week for date: both the weekday name and its ISO 8601 weekday number (1=Monday..7=Sunday).",
"inputSchema": {
"type": "object",
"required": [
"date"
],
"properties": {
"date": {
"type": "string",
"description": "YYYY-MM-DD"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"dayOfWeek",
"isoWeekday"
],
"properties": {
"dayOfWeek": {
"type": "string"
},
"isoWeekday": {
"type": "integer"
}
},
"additionalProperties": false
}
}Day difference between two YYYY-MM-DD dates: to minus from, in whole days. Negative if to is before from.
| Parameter | Type | Description |
|---|---|---|
| to * | string | YYYY-MM-DD |
| from * | string | YYYY-MM-DD |
{
"name": "datemath_diff",
"description": "Day difference between two YYYY-MM-DD dates: to minus from, in whole days. Negative if to is before from.",
"inputSchema": {
"type": "object",
"required": [
"from",
"to"
],
"properties": {
"to": {
"type": "string",
"description": "YYYY-MM-DD"
},
"from": {
"type": "string",
"description": "YYYY-MM-DD"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "integer"
}
}Checks whether year is a leap year in the Gregorian calendar.
| Parameter | Type | Description |
|---|---|---|
| year * | integer |
{
"name": "datemath_leapyear",
"description": "Checks whether year is a leap year in the Gregorian calendar.",
"inputSchema": {
"type": "object",
"required": [
"year"
],
"properties": {
"year": {
"type": "integer"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "boolean"
}
}Names, descriptions and schemas were written by the server and are shown as data.
Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators.