Time & Astronomy
Current time by timezone, astronomy events, and moon phases
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"time": {
"url": "https://time.memoryapi.org/mcp"
}
}
}Remote endpoints
https://time.memoryapi.org/mcpstreamable-httpWhat it can do
Tool inventory
Tools (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.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"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
}
}
}Recommended Prompts
get_current_timeget_current_timeCommunity
Evidence