← sunrise-sunset.org

INDIVIDUAL MCP TOOL

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.

sunrise-sunset.orgnone authenticationAvailability not checked

LIVE ENDPOINT

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

No auth detected

Connect to this endpoint to inspect the live schema for get_sun_times_range and invoke it with your own arguments.

Indexed input schema

{}

Risk classification

Inferred read-only · medium confidence · heuristic, not a guarantee.

  • No write-capable action terms were found; this is not proof that invocation has no side effects.

Parent server

sunrise-sunset.org

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.

Related tools

  • 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.