← Registry

API Tools

sunrise-sunset.org

Provides sunrise, sunset, twilight, moonrise, moonset, moon phase, and related solar/lunar data for any coordinates and date or date range.

1 endpoint2 known toolsFirst detected October 15, 2026Last detected November 14, 2026

ENDPOINT 1

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

No auth detected

MCP server metadata

Name
sunrise-sunset
Version
1.1.0
Capabilities
tools
Server instructions

Sun and moon times for any location on Earth. Call get_sun_times for one day, or get_sun_times_range for up to 366 consecutive days in one call. Coordinates are decimal degrees; times come back in the local timezone of the location. Data by Sunrise-Sunset.org (https://sunrise-sunset.org), free to use with attribution.

Known tools 2

get_sun_times

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.

Inferred read-only
get_sun_times_range

Same per-day data as get_sun_times but for an inclusive date range (up to 366 days) in a single call.

Inferred read-only

CONNECT WITH APPROVAL

Client installation

Review this server and its permissions before adding it. Secret placeholders must be set locally.

Codex

~/.codex/config.toml

[mcp_servers.sunrise-sunset]
url = "https://api.sunrise-sunset.org/mcp"
enabled = true
Claude Code

.mcp.json

{
  "mcpServers": {
    "sunrise-sunset": {
      "type": "http",
      "url": "https://api.sunrise-sunset.org/mcp"
    }
  }
}
Claude Desktop

Settings → Connectors → Add custom connector

Name: sunrise-sunset
Remote MCP URL: https://api.sunrise-sunset.org/mcp

Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.

Cursor

.cursor/mcp.json

{
  "mcpServers": {
    "sunrise-sunset": {
      "url": "https://api.sunrise-sunset.org/mcp"
    }
  }
}
Visual Studio Code

.vscode/mcp.json

Add to Visual Studio Code
{
  "servers": {
    "sunrise-sunset": {
      "type": "http",
      "url": "https://api.sunrise-sunset.org/mcp"
    }
  }
}
Generic MCP

Client-specific MCP configuration

{
  "name": "sunrise-sunset",
  "transport": "streamable-http",
  "url": "https://api.sunrise-sunset.org/mcp"
}
MCP Inspector

Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.

TRUST AND VERIFICATION EVIDENCE

Loading Trust v2 evidence…

Checking the associated registrable domain. The BuiltWith key remains server-side.

Indexed

Evidence is source-attributed and does not guarantee that a third-party server is safe. Risk labels are conservative metadata heuristics.