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

NameTypeDescription
date requiredstringStart date, ISO or "today".
daysintegerDays to add.
weeksintegerWeeks to add.
monthsintegerMonths to add.
yearsintegerYears 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:

call_tool arguments
{
  "name": "math__add_to_date",
  "arguments": {
    "date": "…"
  }
}

Or connect the Calculators server directly, which lists 28 tools including this one:

Run in your terminal
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 ….

More from Calculators