Sunrise-Sunset

Sunrise-Sunset MCP Connector for Claude

D

Get precise sunrise, sunset, and twilight times for any location on Earth using latitude and longitude coordinates.

1 tools Official Updated Jun 28, 2026 Official Vinkius Partner

Connect your AI agent to the Sunrise-Sunset API to retrieve accurate solar data for any location on Earth. Whether you are planning photography shoots, calculating energy potential, or managing outdoor events, this server provides the precise astronomical data you need.

What you can do

  • Solar Events — Get exact sunrise and sunset times for any latitude and longitude.
  • Twilight Phases — Access civil, nautical, and astronomical twilight data for precise light level planning.
  • Day Length — Retrieve the total duration of daylight for any given day.
  • Timezone Integration — Get results in specific timezones using the tzid parameter.
  • Historical & Future Queries — Look up solar data for any date, past or future.

How it works

  1. Subscribe to this server
  2. Enter your API credentials
  3. Start querying solar data from Claude, Cursor, or any MCP-compatible client

Who is this for?

  • Photographers & Filmmakers — plan the perfect 'golden hour' shots with exact twilight timings.
  • Energy Analysts — calculate potential solar exposure based on day length and sun position.
  • Event Organizers — ensure outdoor activities are scheduled with perfect lighting context.
solar-dataastronomysunrisesunsetgeospatial

1 tools expose this connector's capabilities to your AI agent.

get_sunrise_sunset

Get sunrise and sunset times for a location

See how to talk to your AI agent using Sunrise-Sunset.

What time is the sunrise in London (51.5074, -0.1278) today?

I've checked the solar data for London. Today, the sunrise is at 06:42 AM and the sunset will be at 05:58 PM. Would you like the twilight timings as well?

Get the sunset and civil twilight times for Paris on December 25th, 2025.

For Paris on Christmas Day 2025, the sunset is scheduled for 04:56 PM, with civil twilight ending at 05:34 PM. It will be a short day with a total length of 8 hours and 14 minutes.

Show me the day length for Los Angeles (34.0522, -118.2437) using the 'America/Los_Angeles' timezone.

In Los Angeles today, the total day length is 12 hours and 48 minutes. The sun rises at 06:12 AM and sets at 07:00 PM local time.

Yes! Use the `get_sunrise_sunset` tool and provide the `date` parameter in YYYY-MM-DD format (e.g., '2025-12-25').

Related Connectors