astronomy-mcp
v1.0.1Solar and lunar almanac offline: sunrise, sunset, twilight, sun position and moon phase
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
solar_times
Sunrise, sunset, solar noon, civil twilight and day length for a place and date.
| Parameter | Type | Description |
|---|---|---|
lat * | number | Latitude in degrees, north positive |
lon * | number | Longitude in degrees, east positive |
date | string | Date as YYYY-MM-DD (UTC); today when omitted |
utcOffset | number | Optional local UTC offset in hours for the output, e.g. -5 or 5.5 |
sun_position
Sun altitude, azimuth, declination and subsolar point at an instant.
| Parameter | Type | Description |
|---|---|---|
lat * | number | Latitude in degrees |
lon * | number | Longitude in degrees |
datetime | string | ISO instant, e.g. 2026-06-21T12:00:00Z; now when omitted |
moon_phase
Moon phase name, illumination, age in days, and the next full and new moon dates.
| Parameter | Type | Description |
|---|---|---|
datetime | string | ISO instant; now when omitted |