Sunrise-Sunset.org
Server Details
Sunrise, sunset, twilight, golden hour and moon times for any place on Earth. Free, no API key.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-06-18
- URL
- Repository
- sunrise-sunset-org/api
- GitHub Stars
- 0
TDQS
Score is being calculated.
Available Tools
2 toolsget_sun_timesSunrise & sunset timesRead-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. Free data by sunrise-sunset.org. Attribution with a link to https://sunrise-sunset.org is required when displaying this data.
| Name | Required | Description | Default |
|---|---|---|---|
| tz | No | IANA timezone like 'Europe/Madrid'. Omit to use the local timezone of the coordinates, resolved automatically (recommended). | |
| lat | Yes | Latitude in decimal degrees. | |
| lng | Yes | Longitude in decimal degrees. | |
| date | No | 'today' (default), 'tomorrow' or YYYY-MM-DD. Relative dates resolve in the local timezone of the coordinates. |
get_sun_times_rangeSunrise & sunset times for a date rangeRead-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. Free data by sunrise-sunset.org. Attribution with a link to https://sunrise-sunset.org is required when displaying this data.
| Name | Required | Description | Default |
|---|---|---|---|
| tz | No | IANA timezone like 'Europe/Madrid'. Omit to use the local timezone of the coordinates, resolved automatically (recommended). | |
| lat | Yes | Latitude in decimal degrees. | |
| lng | Yes | Longitude in decimal degrees. | |
| date_end | Yes | Last day (inclusive), YYYY-MM-DD. The range covers at most 366 days counting both ends, so date_end can be at most 365 days after date_start. | |
| date_start | Yes | First day, YYYY-MM-DD. |
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
2 tool updates
- First observed
get_sun_times - First observed
get_sun_times_range
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 MCP — wraps the sunrisesunset.io API (free, no auth)
Current time by timezone, astronomy events, and moon phases
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables 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.24 npmMIT
- AlicenseAqualityCmaintenanceEnables timezone conversion, astronomical calculations, and date utilities through natural language, supporting sunrise/sunset, moon phases, business days, and more.9154 npm1ISC
- AlicenseAqualityAmaintenanceCalculate the altitude, rise, and set times of celestial objects (Sun, Moon, planets, stars, and deep-space objects) for any location on Earth.15MIT
- AlicenseNot gradedqualityDmaintenanceProvides astronomical data including ISS tracking, moon phases, NASA APOD, near-Earth objects, exoplanets, space weather, and upcoming celestial events without requiring an API key.MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.