add_duration

Pack: datecalc · Endpoint: https://gateway.pipeworx.io/datecalc/mcp

Add (or subtract, with negatives) a duration to a date and return the new UTC date/time. Provide any of years/months/weeks/days/hours/minutes/seconds.

Parameters

NameTypeRequiredDescription
datestringyesBase date/time (ISO-8601).
yearsnumberno
monthsnumberno
weeksnumberno
daysnumberno
hoursnumberno
minutesnumberno
secondsnumberno

Example call

curl -X POST https://gateway.pipeworx.io/datecalc/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"add_duration","arguments":{}}}'

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "datecalc": {
      "url": "https://gateway.pipeworx.io/datecalc/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 1, 2026