Time zone and local time for any city
Find the time zone and current local time in up to 10 cities by name ("Cebu", "São Paulo", "Springfield" + country). 7,000+ cities. Use for "what time is it in" questions and to get the IANA zone the other tools need.
MCP tool city_timeHTTP POST /v1/city25 free calls a day, then $0.001
Try it
Runs the real tool over MCP. Edit the arguments and run. Uses your daily free calls.
city_time
result
{
"at": "2026-11-08T01:55:09.445Z",
"results": [
{
"query": "Cebu",
"found": true,
"best": {
"name": "Cebu",
"country": "PH",
"region": "Cebu",
"timezone": "Asia/Manila",
"population": 806817,
"match": "exact",
"local_time": "2026-11-08T09:55:09+08:00",
"weekday": "Sunday",
"utc_offset": "+08:00"
},
"alternatives": []
}
]
}
The result shown before you run is a saved example response.
Use it from your agent
Add the MCP server once and your agent can call city_time and the other 19 tools.
Claude Code
One command in your terminal.
claude mcp add --transport http date-math https://date-math.datemath.workers.dev/mcp
Any MCP client
Claude Desktop, Cursor, VS Code, Windsurf.
{
"mcpServers": {
"date-math": {
"url": "https://date-math.datemath.workers.dev/mcp"
}
}
}HTTP + x402
POST JSON; pay the 402 with any x402 client.
curl -X POST https://date-math.datemath.workers.dev/v1/city \
-H "Content-Type: application/json" \
-d '{"cities":["Cebu","London","New York"]}'