time

A real clock for AI agents: current time, timezone conversion, and DST facts from the IANA tzdb.

我該用這個嗎

品質與安全性

A
說明品質
94%
結構描述完整度
97%
命名品質
96%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

發現項目(1)

  • LOWTool 'time_by_coordinates' description lacks action verb在 time_by_coordinates 中

根據工具定義與協定合規性的自動化分析。

上下文成本

~1,432Token(工具定義)
~2.4 KB典型回應大小
中等的注意力影響(128k 上下文的 1.12%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `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_research
Search for information about [topic] using time
預期的工具: search_cities
find_specific
Find [specific item] using time
預期的工具: search_cities
retrieve_data
Get details about [item] from time
預期的工具: get_current_time
fetch_info
Fetch [information type] using time
預期的工具: get_current_time
research_workflow
Search for [topic], then get detailed information about the top results using time
預期的工具: search_citiesget_current_time

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本5 個工具
已驗證未記錄版本5 個工具