Sunrise & Sunset Times MCP: sun and moon data on request
Sunrise, sunset, twilight, golden hour and moon times for any place on Earth, free and with no API key. Sunrise-Sunset.org's MCP server answers for one date with `get_sun_times` or a range of up to 366 days with `get_sun_times_range`. Rather than wiring up a sunrise sunset API yourself, ask Claude, ChatGPT or Cursor through ContextGate, which records each lookup.
- Ready to connect
- Free
- 2 example tools
Add Sunrise & Sunset Times to your AI app
- 1Click Connect Sunrise & Sunset Times free. There's no sign-in, so its tools are ready at once.
- 2Both tools only return times for a place and date, so keep them on. `get_sun_times_range` matters if you plan trips or shoots across many days, since it saves your AI app from calling `get_sun_times` once per day.
- 3Add ContextGate to your AI app as a connector or MCP server. The steps for each app are on the Works with page.
- 4Ask your AI app when golden hour starts in Reykjavik on the first Saturday of next month, then open Activity to see the call.
Sun and moon times you can ask for
- Get sunrise, sunset, solar noon and day length for any location and date with `get_sun_times`.
- Find civil, nautical and astronomical twilight, golden hour and blue hour for a photo shoot.
- Pull a whole season of sun times, up to 366 days, in one `get_sun_times_range` call.
- Check moon times before a night hike or a stargazing trip.
Lookups on the record
- Activity records each lookup your AI apps make.
- Switch off either tool and your AI app won't see it.
What you get with Sunrise & Sunset Times and ContextGate
- Your AI apps can use Sunrise & Sunset TimesClaude, Cursor, ChatGPT and other AI apps reach Sunrise & Sunset Times through the one ContextGate connection you add to them.
- You choose which tools they can useSwitch off any Sunrise & Sunset Times tool you don't want used. It's hidden from your AI apps and refused if called.
- Every call is checked and recordedYour policies check each call (for example, personal data is hidden and secrets are blocked), and Activity keeps a record of it.
ContextGate sees only the tool calls that go through it, not your AI app's built-in tools or your chats.
Sunrise & Sunset Times tools
Examples of what your AI apps can do in Sunrise & Sunset Times. You'll see the exact list of tools after you connect it.