get_timezone

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

Get timezone and current local time for coordinates or city name. Returns timezone name, UTC offset, and current time. Use for scheduling across time zones.

Parameters

NameTypeRequiredDescription
latitudenumberyesLatitude
longitudenumberyesLongitude

Example call

Arguments

{
  "latitude": 40.7128,
  "longitude": -74.006
}

curl

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

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_timezone', {
  "latitude": 40.7128,
  "longitude": -74.006
});

More examples

{
  "latitude": 51.5074,
  "longitude": -0.1278
}

Response shape

Always returns: timezone, local_time, utc_offset_hours

FieldTypeDescription
timezonestringIANA timezone name
local_timestringCurrent local time in ISO format
utc_offset_hoursnumberUTC offset in hours (may include decimal for minutes)
Full JSON Schema
{
  "type": "object",
  "properties": {
    "timezone": {
      "type": "string",
      "description": "IANA timezone name"
    },
    "local_time": {
      "type": "string",
      "description": "Current local time in ISO format"
    },
    "utc_offset_hours": {
      "type": "number",
      "description": "UTC offset in hours (may include decimal for minutes)"
    }
  },
  "required": [
    "timezone",
    "local_time",
    "utc_offset_hours"
  ]
}

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026