Time & Astronomy
Current time by timezone, astronomy events, and moon phases
¿Debería usar esto?
Calidad y seguridad
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://time.memoryapi.org/mcp"
}
}
}Puntos de conexión remotos
https://time.memoryapi.org/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (3)
🟢get_current_time(timezone, format)
Get the current time in any timezone. Returns local datetime, UTC datetime, unix epoch, UTC offset, DST status, day of week, day of year, and week number.
Esquema de entrada
{
"type": "object",
"properties": {
"timezone": {
"type": "string",
"description": "IANA timezone name (e.g. America/New_York, Europe/London, Asia/Tokyo). Defaults to UTC.",
"default": "UTC"
},
"format": {
"type": "string",
"description": "Response format: iso (datetime only), unix (epoch only), both (default)",
"default": "both"
}
}
}🟢get_astronomy(lat, lon, date, tz)
Get sunrise, sunset, and twilight times for any location using US Naval Observatory data. Also returns moonrise and moonset.
Esquema de entrada
{
"type": "object",
"properties": {
"lat": {
"type": "number",
"description": "Latitude (default: 40.7128 — New York City)",
"default": 40.7128
},
"lon": {
"type": "number",
"description": "Longitude (default: -74.0060 — New York City)",
"default": -74.006
},
"date": {
"type": "string",
"description": "Date in YYYY-MM-DD format (default: today)"
},
"tz": {
"type": "number",
"description": "UTC offset in hours (e.g. -5 for EST, 1 for CET). Default: 0 (UTC)",
"default": 0
}
}
}🟢get_moon_phases(date, count)
Get upcoming moon phases (New Moon, First Quarter, Full Moon, Last Quarter) and current moon illumination percentage from the US Naval Observatory.
Esquema de entrada
{
"type": "object",
"properties": {
"date": {
"type": "string",
"description": "Start date in YYYY-MM-DD format (default: today)"
},
"count": {
"type": "number",
"description": "Number of phases to return (default: 4, max: 99)",
"default": 4
}
}
}Prompts recomendados
get_current_timeget_current_timeComunidad
Evidencia