Home / Servers / Calculators / add_to_date
Add to date
An MCP tool from the Calculators server, hosted on mcp.hjlabs.in.
Add or subtract days, weeks, months or years to a date (calendar-aware: Jan 31 + 1 month = Feb 28/29). Negative amounts subtract. Returns the date and its weekday.
Name on the gateway: math__add_to_date · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
date required | string | Start date, ISO or "today". |
days | integer | Days to add. |
weeks | integer | Weeks to add. |
months | integer | Months to add. |
years | integer | Years to add. |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "math__add_to_date",
"arguments": {
"date": "…"
}
}Or connect the Calculators server directly, which lists 28 tools including this one:
claude mcp add --transport http hj-math https://mcp.hjlabs.in/mcp/math \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the add to date tool with date set to ….