time
A real clock for AI agents: current time, timezone conversion, and DST facts from the IANA tzdb.
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (1)
- LOWin time_by_coordinates
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"time": {
"url": "https://worldclock.pro/mcp"
}
}
}Remote-Endpunkte
https://worldclock.pro/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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#"
}Empfohlene Prompts
search_citiessearch_citiesget_current_timeget_current_timesearch_citiesget_current_timeCommunity
Nachweis