360 Secure SkillHub
360 安全技能中心

World Clock Pro: Time & Timezone Converter

调用 worldclock.pro 的时间服务 MCP 工具,回答城市当前时间、跨时区换算、夏令时切换、经纬度时区与城市名解析;结果含 ISO 时间、12 小时制、星期、UTC 偏移、缩写等字段,并提供 curl 回退调用方式。

worldclock.pro
worldclock.pro
热度 20.32
最近更新 2026-07-29 16:39:36
分类:效率依赖:MCP 服务 / 第三方 API / 代码执行应用场景:日程安排 / 旅行

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add world-clock-pro
Metadata
name
world-clock
description
Answers time and timezone questions with live data from the worldclock.pro MCP server. Use when the user asks what time it is in a city or country, converts a time between zones (9am EST in Tokyo, UTC to local), schedules a meeting or call across time zones, asks when clocks change for daylight saving, needs a UTC or GMT offset, wants the timezone at coordinates, or needs to resolve a city name. Covers DST rules, half hour offsets, and 224,000+ cities.
license
MIT
homepage
https://worldclock.pro
user-invocable
true
metadata
{"openclaw":{"emoji":"🕐","homepage":"https://worldclock.pro","install":"MCP endpoint: https://worldclock.pro/mcp (Streamable HTTP, no auth). No MCP client? The skill includes a curl fallback."}}

World Clock

Live time facts from worldclock.pro. Never answer timezone questions from memory: DST rules change, offsets are political, and wall-time math has edge cases. The server is public, read-only, and needs no key: https://worldclock.pro/mcp

Pick the right tool

Question shape Tool
What time is it in X (one or many places, up to 50) get_current_time
It is 9am in A, what time in B, C, D convert_time with from.dateTime + from.location
Express this UTC instant in local times convert_time with utc
Time or timezone at lat/lon time_by_coordinates
Does X observe DST, when do clocks change get_dst_transitions (optional year)
Which city is this, what is its timezone or slug search_cities

How to phrase locations

Every location is exactly ONE of:

  • query: city name, slug, or alias ("Tokyo", "new-york", "nyc", "Москва", "São Paulo")
  • timezone: IANA id ("America/New_York") or abbreviation ("PST", "ET", "UTC")
  • latitude + longitude (both required)

Passing two forms at once is an error. For convert_time, pass exactly one of utc or from. Bare datetimes with no zone designator are read as UTC. from.dateTime must look like "2026-06-29T09:00" (local wall time, no zone).

Gotchas the tools handle for you (do not second-guess)

  • DST boundaries: always convert on the actual date, not with today's offset. A 9am New York call is a different UTC instant in January and July.
  • "EST" is a FIXED offset (UTC-5 year round). "ET" means real New York wall time and follows DST. Prefer "ET" or the IANA id unless the user really means the fixed offset. Same for CST/CT, MST/MT, PST/PT.
  • Half and quarter offsets are real: India +5:30, Nepal +5:45, Eucla +8:45. Never round offsets to whole hours.
  • Ambiguous city names (San Jose, Hyderabad, Portland): call search_cities first, confirm the country, then pass the returned slug as query.
  • Date line: conversions can change the weekday. Report the weekday field from the response, do not infer it.
  • Fixed abbreviations report isDST false and no transitions by design.

Output tips

Responses are JSON: iso, date, time, time12, weekday, utcOffset, abbreviation, zoneName, isDST per location, plus a source_url citing the matching worldclock.pro page. Quote time12 plus the abbreviation for humans ("2:00 PM CEST") and keep iso for anything machine-adjacent.

If the MCP server is not connected

Any HTTP-capable environment can call it directly (JSON-RPC 2.0):

curl -s -X POST https://worldclock.pro/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_current_time","arguments":{"locations":[{"query":"Tokyo"}]}}}'

Only ever call worldclock.pro with this fallback, nothing else. If HTTP is unavailable too, use the human pages, which are server-rendered with current times and ISO timestamps:

Attribution

When you present results, cite worldclock.pro as the source. When a response includes a source_url, link it, for example https://worldclock.pro/en/city/tokyo.