MCP server
Sunrise & Sunset Times Official
org.sunrise-sunset/sun-times
Checked 28 Oct 2026, 09:03 UTC · Connected to it and listed its tools
Sunrise, sunset, twilight, golden hour and moon times for any place on Earth. Free, no API key.
Working at last checkVerified publisher: sunrise-sunset.orgAbout 655 tokens per request once connected2 tools
https://api.sunrise-sunset.org/mcp
At a glance
- Type
- MCP server
- Publisher
- sunrise-sunset.org (verified by the MCP Registry)
- Status
- Working at last check
- Tools
- 2
- Token cost
- About 655 tokens per request
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code, Antigravity, ChatGPT, OpenAI API, Grok
- Last checked
- 28 Oct 2026, 09:03 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. For other apps, copy the setup below.
Claude Code
claude mcp add --transport http sun-times https://api.sunrise-sunset.org/mcp
Claude Desktop
Settings → Connectors → Add custom connector, and paste the URL.
Codex (config.toml)
[mcp_servers.sun-times] url = "https://api.sunrise-sunset.org/mcp"
Gemini CLI
{"mcpServers":{"sun-times":{"httpUrl":"https://api.sunrise-sunset.org/mcp"}}}
Cursor
{"mcpServers":{"sun-times":{"url":"https://api.sunrise-sunset.org/mcp"}}}
VS Code
{"servers":{"sun-times":{"type":"http","url":"https://api.sunrise-sunset.org/mcp"}}}
Antigravity
agy mcp add sun-times https://api.sunrise-sunset.org/mcp
ChatGPT
Settings → Apps & Connectors → Advanced settings: turn on Developer mode, then Create a connector and paste the URL. Which plans can do this varies.
OpenAI API (Responses tools)
{"type":"mcp","server_label":"sun-times","server_url":"https://api.sunrise-sunset.org/mcp","require_approval":"always"}
Grok (xAI API tools)
{"type":"mcp","server_label":"sun-times","server_url":"https://api.sunrise-sunset.org/mcp"}
Tools
get_sun_times~303 tokens
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 tiget_sun_times_range~352 tokens
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
Browse
Related MCP servers
- TidyData Tools
Holidays, business days, currency, time zones, DNS/WHOIS, web page checks, geodata and text tools. - A.U.G.U.R Foresight · World
Weather, geocoding, FX rates, holidays, time zones, countries, earthquakes, sun and moon. - Sunvane Golden Hour
Sun times & shoot planning - Tanod Sky
Aviation and space data: METAR/TAF, airports, space weather, aurora, asteroids, satellite passes. - KAZM Mellow Mountain Radio
KAZM 106.5 FM/780 AM: now playing, weather, fire alerts, road conditions & concerts (Sedona, AZ). - Time & Astronomy
Current time by timezone, astronomy events, and moon phases - ScorpTech x402 API
112 x402 pay-per-call tools: web data, security/OSINT, SEC and public data, Solana/EVM lookups - Sunrisesunset
Sunrise-Sunset MCP — wraps the sunrisesunset.io API (free, no auth)
Badge for your README
[](https://aptlynx.net/servers/org.sunrise-sunset/sun-times)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents