date_diff
Pack: datecalc · Endpoint: https://gateway.pipeworx.io/datecalc/mcp
Compute the difference between two dates/times (UTC). Returns the signed difference in ms, seconds, minutes, hours, days and weeks, plus a human-readable summary. Accepts ISO-8601 (e.g. “2026-01-01” or “2026-01-01T12:00:00Z”).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
from | string | yes | Start date/time (ISO-8601). |
to | string | yes | End date/time (ISO-8601). |
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":"date_diff","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.