time
A real clock for AI agents: current time, timezone conversion, and DST facts from the IANA tzdb.
¿Debería usar esto?
Calidad y seguridad
Hallazgos (1)
- LOWen time_by_coordinates
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"time": {
"url": "https://worldclock.pro/mcp"
}
}
}Puntos de conexión remotos
https://worldclock.pro/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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#"
}Prompts recomendados
search_citiessearch_citiesget_current_timeget_current_timesearch_citiesget_current_timeComunidad
Evidencia