Sunrise & Sunset Times
Sunrise, sunset, twilight, golden hour and moon times for any coordinates
- Pricing
- Free
- Platforms
- API
- Runs
- Remotely
- Version
- 1.1.0
- Listing updated
- 2 days ago
About Sunrise & Sunset Times
Sunrise & Sunset Times is a free MCP server for maps and travel. It runs as a hosted remote server, so there is nothing to install locally.
Polar regions are handled explicitly: each day is marked normal, midnight sun or polar night, and any event that does not occur comes back as null rather than a made-up time. Times are returned in ISO 8601 in the local time zone of the place.
Two read-only tools do the work. One returns a single day for a latitude and longitude, accepting today, tomorrow or a date; the other returns up to 366 consecutive days in one call, which suits calendars and seasonal comparisons. A range can come back with fewer days than asked when a calendar day never existed in that zone, so entries should be matched on their date field.
Each day includes sunrise, sunset, solar noon, day length, three kinds of twilight, golden and blue hour, sun azimuth and altitude, plus moonrise, moonset, moon phase and illumination. The server is remote, needs no key, and requires crediting sunrise-sunset.org where the data is shown.
Install
Run in a terminal
claude mcp add --transport http sun-times https://api.sunrise-sunset.org/mcpAdd to Settings → Connectors → Add custom connector
https://api.sunrise-sunset.org/mcpAdd to ~/.cursor/mcp.json
{
"mcpServers": {
"sun-times": {
"url": "https://api.sunrise-sunset.org/mcp"
}
}
}Add to .vscode/mcp.json
{
"servers": {
"sun-times": {
"type": "http",
"url": "https://api.sunrise-sunset.org/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"sun-times": {
"serverUrl": "https://api.sunrise-sunset.org/mcp"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"sun-times": {
"type": "http",
"url": "https://api.sunrise-sunset.org/mcp"
}
}
}Tools this server provides (2)
Taken from the project documentation; the running server may differ.
- get_sun_times
- Returns sun and moon data for one place on one day.
- get_sun_times_range
- Returns the same data for up to 366 consecutive days.
What it does
- Single-day lookup
- Full sun and moon data for one place and date.
- Range up to 366 days
- One call covers a year of days for calendars or comparisons.
- Polar day and night
- Each day carries a status, and missing events are null.
- Typed output
- Both tools declare an output schema so clients know every field.
- No key or sign-up
- Remote Streamable HTTP server with no authentication.
Good for
- Plan photography around golden hour
- See how much daylight a city loses in winter
- Find the darkest nights for stargazing
- Build a sunrise calendar for a trip
Pricing
Free
Free; attribution to sunrise-sunset.org required
Prices change. Check sunrise-sunset.org before you buy.
Sunrise & Sunset Times FAQ
Does it need an API key?
No. It is free with no key or sign-up.
Which clients can use it?
Claude, Claude Code, ChatGPT, Codex, Cursor and VS Code are documented; any remote MCP client works.
Is attribution required?
Yes, credit sunrise-sunset.org wherever people can see where the data comes from.
How many days in one call?
Up to 366 consecutive days with the range tool.
Is Sunrise & Sunset Times free?
Yes. Sunrise & Sunset Times is free to use.
How do I add Sunrise & Sunset Times to Claude Code?
Run this command in your terminal: claude mcp add --transport http sun-times https://api.sunrise-sunset.org/mcp
What are the best alternatives to Sunrise & Sunset Times?
The closest alternatives to Sunrise & Sunset Times are Agent-Native Analytics, Google Ads + Meta Ads + SEO/GEO MCP, Tapetide - Indian Stock Market MCP, World Monitor and CompanyData.
Alternatives to Sunrise & Sunset Times

Agent-Native Analytics
MCP serverOpen-source analytics app where an AI agent builds charts and dashboards from your data
- Remote
- Open source
- 7.7K GitHub stars
- Analytics and data

Google Ads + Meta Ads + SEO/GEO MCP
MCP serverHosted MCP connector for managing Google Ads, Meta Ads, GA4 and Search Console from chat
- 8 tools
- Remote
- Freemium
- 8.1K GitHub stars
- Marketing and SEO

Tapetide - Indian Stock Market MCP
MCP serverIndian NSE and BSE stock market data for AI assistants through 48 MCP tools
- 17 tools
- Remote
- Freemium
- 150 GitHub stars
- Finance and payments

World Monitor
MCP serverLive geopolitical intelligence dashboard with an API and MCP server for agents
- Remote
- Freemium
- Analytics and data

CompanyData
MCP serverSearch and enrich company records from official registers via the CompanyData API
- 3 tools
- Remote
- Paid
- 3 GitHub stars
- Analytics and data

Tutu eSIM
MCP serverLive travel eSIM plans, prices and roaming costs for 190+ countries
- 5 tools
- Remote
- Paid
- Maps and travel