time
A real clock for AI agents: current time, timezone conversion, and DST facts from the IANA tzdb.
使うべきか
品質と安全性
検出事項(1)
- LOWtime_by_coordinates 内
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"time": {
"url": "https://worldclock.pro/mcp"
}
}
}リモートエンドポイント
https://worldclock.pro/mcpstreamable-httpできること
ツール一覧
ツール(5)
🟢get_current_time(locations, at)
Get the current local time (or the time at a given instant) in one or more locations. Each location is a city name, an IANA timezone / abbreviation, or coordinates. Up to 50 locations. Results include a source_url linking the matching worldclock.pro page when available.
入力スキーマ
{
"type": "object",
"properties": {
"locations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "City name, slug, or alias — e.g. \"Tokyo\", \"new-york\", \"nyc\"."
},
"timezone": {
"type": "string",
"description": "IANA zone id (\"America/New_York\") or a curated abbreviation (\"pst\", \"utc\")."
},
"latitude": {
"type": "number",
"minimum": -90,
"maximum": 90,
"description": "Latitude in degrees [-90, 90]."
},
"longitude": {
"type": "number",
"minimum": -180,
"maximum": 180,
"description": "Longitude in degrees [-180, 180]."
}
},
"additionalProperties": false,
"description": "A location identified by exactly ONE of: query, timezone, or latitude+longitude together."
},
"minItems": 1,
"maxItems": 50
},
"at": {
"type": "string",
"description": "Optional ISO 8601 instant to evaluate instead of now (read as UTC if it has no zone)."
}
},
"required": [
"locations"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢convert_time(utc, from, targets)
Given a UTC instant (or a wall time in a source location), return the corresponding local time in each of up to 50 target locations. Results include a source_url linking the matching worldclock.pro page when available.
入力スキーマ
{
"type": "object",
"properties": {
"utc": {
"type": "string",
"description": "The instant to convert, as an ISO 8601 string. Read as UTC if it has no zone designator."
},
"from": {
"type": "object",
"properties": {
"dateTime": {
"type": "string",
"description": "Local wall time in the source location, e.g. \"2026-06-29T09:00\"."
},
"location": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "City name, slug, or alias — e.g. \"Tokyo\", \"new-york\", \"nyc\"."
},
"timezone": {
"type": "string",
"description": "IANA zone id (\"America/New_York\") or a curated abbreviation (\"pst\", \"utc\")."
},
"latitude": {
"type": "number",
"minimum": -90,
"maximum": 90,
"description": "Latitude in degrees [-90, 90]."
},
"longitude": {
"type": "number",
"minimum": -180,
"maximum": 180,
"description": "Longitude in degrees [-180, 180]."
}
},
"additionalProperties": false,
"description": "A location identified by exactly ONE of: query, timezone, or latitude+longitude together."
}
},
"required": [
"dateTime",
"location"
],
"additionalProperties": false,
"description": "Alternative to `utc`: a wall time in a specific source location."
},
"targets": {
"type": "array",
"items": {
"$ref": "#/properties/from/properties/location"
},
"minItems": 1,
"maxItems": 50
}
},
"required": [
"targets"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢time_by_coordinates(latitude, longitude, at)
Resolve the timezone for a latitude/longitude coordinate (via geo-tz) and return the local time there.
入力スキーマ
{
"type": "object",
"properties": {
"latitude": {
"type": "number",
"minimum": -90,
"maximum": 90,
"description": "Latitude in degrees [-90, 90]."
},
"longitude": {
"type": "number",
"minimum": -180,
"maximum": 180,
"description": "Longitude in degrees [-180, 180]."
},
"at": {
"type": "string",
"description": "Optional ISO 8601 instant to evaluate instead of now (read as UTC if it has no zone)."
}
},
"required": [
"latitude",
"longitude"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_dst_transitions(location, year)
Report whether a location observes daylight saving time, the next clock change, and every summer/winter-time transition (date, local time, and before/after offset) within a year. The result includes a source_url linking the matching worldclock.pro page when available.
入力スキーマ
{
"type": "object",
"properties": {
"location": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "City name, slug, or alias — e.g. \"Tokyo\", \"new-york\", \"nyc\"."
},
"timezone": {
"type": "string",
"description": "IANA zone id (\"America/New_York\") or a curated abbreviation (\"pst\", \"utc\")."
},
"latitude": {
"type": "number",
"minimum": -90,
"maximum": 90,
"description": "Latitude in degrees [-90, 90]."
},
"longitude": {
"type": "number",
"minimum": -180,
"maximum": 180,
"description": "Longitude in degrees [-180, 180]."
}
},
"additionalProperties": false,
"description": "A location identified by exactly ONE of: query, timezone, or latitude+longitude together."
},
"year": {
"type": "integer",
"description": "Calendar year to list transitions for (default: the current year)."
}
},
"required": [
"location"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢search_cities(query, limit, country)
Find cities by name (multilingual, diacritic-insensitive) — useful to resolve a place to a canonical slug, IANA timezone, and coordinates before calling the time tools. Each result includes a source_url linking the city's worldclock.pro page.
入力スキーマ
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 2,
"description": "City name or partial name (≥ 2 characters)."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 25,
"description": "Max results (default 10)."
},
"country": {
"type": "string",
"minLength": 2,
"maxLength": 2,
"description": "Optional ISO 3166-1 alpha-2 country filter, e.g. \"JP\"."
}
},
"required": [
"query"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}推奨プロンプト
search_citiessearch_citiesget_current_timeget_current_timesearch_citiesget_current_timeコミュニティ
エビデンス