astronomy-mcp-server: get moon phase
astronomy_get_moon_phaseReport the Moon phase for an instant: illuminated fraction, phase name, synodic age in days since the new moon, phase angle, and the next four quarter phases (new, first quarter, full, last quarter) with timestamps. Answers "what is the moon phase tonight" and "when is the next full moon" in one call without iteration. The time defaults to now; pass an IANA timezone to also receive observer-local timestamps. The phase is geocentric — no observer location is needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | No | Instant to evaluate as an ISO 8601 UTC string, e.g. "2024-12-15T00:00:00Z". Defaults to now. A value with no zone designator is read as UTC, not the local zone of the server process. | |
| timezone | No | IANA timezone for localized output, e.g. "America/Los_Angeles". When omitted, output is UTC-only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when the call failed. Absent on success. | |
| age_days | No | Synodic age in days since the previous new moon. | |
| time_utc | No | The instant the phase was computed for, in ISO 8601 UTC. | |
| phase_name | No | Human-readable phase name (New Moon, Waxing Crescent, First Quarter, …, Waning Crescent). | |
| time_local | No | The same instant in the observer-local timezone with offset, present only when a timezone was supplied. | |
| next_quarters | No | The next four lunar quarter phases (new/first/full/last) in chronological order. | |
| phase_angle_degrees | No | Moon phase angle in degrees: 0 = new, 90 = first quarter, 180 = full, 270 = last quarter. | |
| illuminated_fraction | No | Fraction of the lunar disc illuminated, 0 to 1. |