current_time
Pack: timeapi-io · Endpoint: https://gateway.pipeworx.io/timeapi-io/mcp
Return the current date and time for a given IANA timezone (e.g. America/New_York): year, month, day, hour, minute, second, millisecond, dayOfWeek, dstActive.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
timeZone | string | yes |
Example call
Arguments
{
"timeZone": "America/New_York"
}
curl
curl -X POST https://gateway.pipeworx.io/timeapi-io/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"current_time","arguments":{"timeZone":"America/New_York"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('current_time', {
"timeZone": "America/New_York"
});
More examples
{
"timeZone": "Europe/London"
}
Response shape
Full JSON Schema
{
"type": "object",
"description": "Current time in specified timezone"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"timeapi-io": {
"url": "https://gateway.pipeworx.io/timeapi-io/mcp"
}
}
}
See Getting Started for client-specific install steps.