How to Calculate Daylight Hours with Claude
Calculate daylight hours with Claude and ToolRouter. Day length for any location and date.
ToolSunrise SunsetClaude brings analytical precision to daylight planning by calculating golden hour windows, comparing seasonal variations across locations, and reasoning through how sunrise and sunset times affect your specific use case. Whether you are optimizing a photo shoot schedule, timing an outdoor event for the best light, or estimating solar energy potential across seasons, Claude connects the raw astronomical data to practical decisions through step-by-step analysis that shows its work.
Connect ToolRouter to Claude
1Go to Settings → Connectors → Add custom connector
2Enter the details below and click Add
Name
ToolRouterURL
https://api.toolrouter.com/mcp3Done — works on Claude chat, desktop, and mobile
Steps
Once connected (see setup above), use the Sunrise Sunset tool:
- Ask Claude: "Get sunrise and sunset times using sunrise-sunset" with your location
- Claude returns times and can calculate total daylight
- Ask: "How does this compare to the summer solstice?"
Example Prompt
Try this with Claude using the Sunrise Sunset tool
How many hours of daylight does London get today versus the summer and winter solstices? Show me the comparison.
Tips
- Ask Claude to compare daylight across multiple cities
- Track week-over-week changes as seasons shift
- Useful for SAD awareness and lifestyle planning