Sunrise & Sunset Times

by sunrise-sunset.org · org.sunrise-sunset/sun-times

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

OnlineRemote
Category
Developer tools
Connection
Remote (HTTP)
Tools
2 reported
Status
Online

Connect it to your AI

Claude Code

claude mcp add --transport http sun-times https://api.sunrise-sunset.org/mcp

Claude, ChatGPT, Cursor and other apps

Add it as a custom connector with this URL (Streamable HTTP):

https://api.sunrise-sunset.org/mcp

Cursor, VS Code and other apps (mcp.json)

{
  "mcpServers": {
    "sun-times": {
      "url": "https://api.sunrise-sunset.org/mcp"
    }
  }
}

Tools it offers

2 tools, as the server itself reported during our check on Oct 31, 2026.

  • get_sun_timesSunrise, 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 illuminati
  • get_sun_times_rangeSame 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 fe

Questions

What is the Sunrise & Sunset Times MCP server?

Sunrise, sunset, twilight, golden hour and moon times for any place on Earth. Free, no API key. It is made by sunrise-sunset.org and listed in the official MCP Registry as org.sunrise-sunset/sun-times. MCP (Model Context Protocol) is the open standard that lets AI apps like Claude, ChatGPT and Cursor use outside tools.

How do I add Sunrise & Sunset Times to Claude?

In the Claude app or claude.ai, open Settings, then Connectors, choose "Add custom connector" and paste https://api.sunrise-sunset.org/mcp. In Claude Code, run: claude mcp add --transport http sun-times https://api.sunrise-sunset.org/mcp

How do I add Sunrise & Sunset Times to ChatGPT?

ChatGPT can use remote MCP servers as connectors. In ChatGPT settings, under Apps and Connectors, turn on developer mode if asked, create a new connector and paste https://api.sunrise-sunset.org/mcp.

How do I add Sunrise & Sunset Times to Cursor?

Open Cursor settings, go to MCP, choose "Add new MCP server" (or edit ~/.cursor/mcp.json) and add: { "mcpServers": { "sun-times": { "url": "https://api.sunrise-sunset.org/mcp" } } }

Does Sunrise & Sunset Times work right now?

Yes. It responded when we last checked on 31 Oct 2026. We check remote MCP servers every day.

What can Sunrise & Sunset Times do?

It gives your AI 2 tools, including get_sun_times, get_sun_times_range. The full list is on this page.

Is this your server? Get the badge for your README
chen.media/mcp badge

Markdown (GitHub README)

[![Listed on chen.media/mcp](https://chen.media/mcp/badge/org-sunrise-sunset-sun-times.svg)](https://chen.media/mcp/org-sunrise-sunset-sun-times)

HTML (switches to dark mode on its own)

<a href="https://chen.media/mcp/org-sunrise-sunset-sun-times"><picture><source media="(prefers-color-scheme: dark)" srcset="https://chen.media/mcp/badge/org-sunrise-sunset-sun-times.svg?theme=dark"><img src="https://chen.media/mcp/badge/org-sunrise-sunset-sun-times.svg" alt="Listed on chen.media/mcp" height="40"></picture></a>

More in Developer tools

See all