Skip to main content
Glama

Sunrise-Sunset.org

Server Details

Sunrise, sunset, twilight, golden hour and moon times for any place on Earth. Free, no API key.

If you are the author of this connector, you can claim ownership by verifying the domain or GitHub account it belongs to. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
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 tools
get_sun_timesSunrise & sunset times
Read-only
Inspect

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
tzNoIANA timezone like 'Europe/Madrid'. Omit to use the local timezone of the coordinates, resolved automatically (recommended).
latYesLatitude in decimal degrees.
lngYesLongitude in decimal degrees.
dateNo'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 range
Read-only
Inspect

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
tzNoIANA timezone like 'Europe/Madrid'. Omit to use the local timezone of the coordinates, resolved automatically (recommended).
latYesLatitude in decimal degrees.
lngYesLongitude in decimal degrees.
date_endYesLast 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_startYesFirst day, YYYY-MM-DD.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 2 tool updates
    • First observedget_sun_times
    • First observedget_sun_times_range

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables 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 npm
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables timezone conversion, astronomical calculations, and date utilities through natural language, supporting sunrise/sunset, moon phases, business days, and more.
    9
    154 npm
    1
    ISC
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides 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
Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.