Time & Astronomy

Current time by timezone, astronomy events, and moon phases

Should I use this

Quality & Safety

A
Description quality
100%
Schema completeness
90%
Naming quality
100%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~397Tokens (tool definitions)
~978 BTypical response size
Minimal attention impact (0.31% of 128k context)

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-http

What it can do

Tool inventory

Tools (3)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢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

retrieve_data
Get details about [item] from Time & Astronomy
Expected tools: get_current_time
fetch_info
Fetch [information type] using Time & Astronomy
Expected tools: get_current_time

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded3 tools
verifiedversion not recorded3 tools