Dennery AgentNative

All API connectors

US Naval Observatory sun, moon and phases

Sunrise, sunset, moonrise, moonset, twilight and moon phases for a place and date, from the US Naval Observatory.

No API key needed to call

Source
US Naval Observatory Astronomical Applications API
Licence and terms
US Government work; terms not verified
Coverage
worldwide
Refresh cadence
Answers are shared and cached for 21600 seconds.

Questions you can ask

Operations

Sun and moon times for a place and date

Answers: when do the sun and moon rise, set and transit at this latitude and longitude on this date, and what is the moon phase and illumination?

daterequired, string, YYYY-MM-DD.
latrequired, number
lngrequired, number
tzoptional, integer, default 0, Hours offset from UTC for the times returned.

Example: When does the sun set in Washington DC on 4 December 2026?

Over MCP

{"tool":"call_connector_operation","arguments":{"connector":"usno","operation":"sun_moon_times","params":{"date":"2026-12-04","lat":38.89,"lng":-77.03,"tz":-5}}}

Over HTTP

curl '/v1/connectors/usno/sun_moon_times?date=2026-12-04&lat=38.89&lng=-77.03&tz=-5'

Upcoming moon phases

Answers: when are the next new moon, first quarter, full moon and last quarter after a date?

daterequired, string
countoptional, integer, default 4

Example: When is the next full moon after 4 December 2026?

Over MCP

{"tool":"call_connector_operation","arguments":{"connector":"usno","operation":"moon_phases","params":{"date":"2026-12-04","count":4}}}

Over HTTP

curl '/v1/connectors/usno/moon_phases?date=2026-12-04&count=4'

Source notice

Source: U.S. Naval Observatory, Astronomical Applications Department. Not endorsed by the US Navy. Terms text was not quoted here: see the terms page.