Sunrise & Sunset Times
Server Details
Sunrise, sunset, twilight, golden hour and moon times for any place on Earth. Free, no API key.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- sunrise-sunset-org/mcp
- GitHub Stars
- 0
- Server Listing
- Sunrise & Sunset Times MCP server
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 2 tools
The two tools differ only in temporal scope: get_sun_times for a single date, get_sun_times_range for an inclusive multi-day window. The range description explicitly tells the agent to prefer it over repeated single calls, eliminating any selection ambiguity.
Both names follow a strict snake_case verb_noun pattern (get_sun_times / get_sun_times_range), with the range variant formed as a predictable suffix of the base name.
Two tools is below the typical 3-15 sweet spot, but for a tightly focused astronomical-times utility it is exactly the right surface: one atomic query plus one batch variant, with no filler. Nothing further would earn its place without padding the API.
Coverage is broad for the domain—sun events, all three twilights, golden/blue hour, azimuth/altitude, moonrise/moonset/phase, polar day/night handling, and a 366-day range mode. Minor gaps remain (no coordinate/place geocoding or timezone resolution, no 'next event after timestamp' search), but agents can work around these with their own inputs.
Available Tools
2 toolsget_sun_timesSunrise & sunset timesARead-onlyInspect
Sunrise, sunset, solar noon, day length, civil/nautical/astronomical twilight, dawn/dusk, first/last light, golden hour, blue hour, sunrise/sunset azimuth, solar noon altitude, moonrise/moonset, moon phase and illumination for any coordinates on Earth and any date. Times are ISO 8601 in the local timezone of the location. Polar day/night handled via sun_status (normal | midnight_sun | polar_night); events that do not occur are null.
Inputs: lat (required), lng (required), tz, date. Returns: lat, lng, date, dawn, +24 more
get_sun_times_rangeSunrise & sunset times for a date rangeARead-onlyInspect
Same per-day data as get_sun_times but for an inclusive date range (up to 366 days) in a single call. Use this instead of repeated get_sun_times calls when you need several consecutive days. The days array may contain fewer entries than the number of dates requested: calendar days that never existed in that timezone (Samoa skipped 30 December 2011 when it crossed the date line) are left out, so read each entry's date field instead of assuming one per requested date.
Inputs: lat (required), lng (required), date_end (required), date_start (required), +1 more. Returns: lat, lng, days, tzid, +1 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Discover the magic of day and night with our Sunrise & Sunset API. Get accurate sunrise, sunset,
Elevation-corrected sun, moon, twilight, solar and tide data for any point on Earth
Sunrise, sunset, day length, golden hour, moon times and phases for Poland and anywhere.
Unofficial Sunrise-Sunset MCP — wraps the sunrisesunset.io API (free, no auth)
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables querying sunrise, sunset, dawn, dusk, solar noon, golden hour, and day length for any latitude/longitude and date, returning times in the location's local timezone.75 npmMIT
- AlicenseAqualityDmaintenanceEnables timezone conversion, astronomical calculations, and date utilities through natural language, supporting sunrise/sunset, moon phases, business days, and more.914 npm1ISC
- AlicenseAqualityBmaintenanceFree, keyless Western astrology and sky data for AI assistants: current planet signs, Moon phases and void-of-course windows, birth chart planet placements, and retrograde periods with shadow dates. Positions are checked against NASA JPL Horizons.5400 npmMIT
- AlicenseAqualityBmaintenanceCalculate the altitude, rise, and set times of celestial objects (Sun, Moon, planets, stars, and deep-space objects) for any location on Earth.2144 PyPIMIT
Glama MCP Gateway
Add one secure layer between your agents and this server.