Unix Timestamp
live UtilityConvert between Unix timestamps and ISO dates, get the current time, and humanize a date as relative (2 hours ago / in 3 days). UTC, keyless, offline.
Tools
from_timestamp Convert a Unix timestamp to an ISO-8601 UTC date + human forms. Auto-detects seconds vs milliseconds by magnitude (override with `unit`). Keyless, offline.
No parameters required.
Try it
to_timestamp Convert an ISO-8601 (or other parseable) date string to a Unix timestamp (seconds + milliseconds). Keyless, offline.
No parameters required.
Try it
now The current UTC time as ISO-8601 and Unix timestamp (seconds + milliseconds).
No parameters required.
Try it
relative_time Humanize a date/time relative to now (or a given `from`): "2 hours ago", "in 3 days". Keyless, offline.
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/timestamp/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' curl -X POST https://gateway.pipeworx.io/timestamp/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"from_timestamp","arguments":{}}}' Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("from_timestamp", {}); // Or ask in plain English:
const answer = await px.ask("convert between unix timestamps and iso dates, get the current time, and humanize a date as relative (2 hours ago / in 3 days)");