- TIMINGS
- DURATION
- PLANNING
- HUMAN
Short answer
How can I find the total daylight hours for a specific date and place?
Your AI uses the get_sunrise_sunset tool to pull exact sunrise and sunset times based on the latitude and longitude you provide. It then calculates the total daylight duration for that specific date. You'll get the precise window of light for any coordinate.
Solar data outcomes
What you get from the AI
The AI processes your location data into these specific results.
TIMINGS
Exact solar windows
The AI identifies the specific times for sunrise and sunset. You get the precise moments light begins and ends for your coordinates.
DURATION
Total daylight length
The agent calculates the total number of hours and minutes of sunlight. This helps you measure solar exposure for a specific day.
PLANNING
Solar exposure assessment
Use the calculated daylight duration to plan activities or solar energy needs. The AI provides the raw data needed for these decisions.
HUMAN
Manual verification
You decide if the solar data meets your project requirements. The AI provides the math, but you handle the final application.
The workflow
What your AI does when the request arrives.
The AI handles the math and the data retrieval so you don't have to look up almanacs.
Receive coordinates
Your agent takes the latitude and longitude you provide in your prompt.
get_sunrise_sunsetFetch solar data
The AI calls the tool to pull the specific sunrise and sunset times for that location.
get_sunrise_sunsetCalculate duration
The agent subtracts the sunrise time from the sunset time to find the total daylight length.
get_sunrise_sunsetDeliver results
The AI presents the final daylight duration and solar window in your chat interface.
get_sunrise_sunset
Try it
Copy these to start.
Use these prompts to trigger the solar calculations immediately.
Starting points
Swap the bracketed text with your actual target coordinates and dates.
Sunrise-Sunset Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_h5QVzZiOuKY354MuvcVnIyjZwY4zxU3WwytiY6cR/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — Sunrise-Sunset capabilities are ready to use.
{
"mcpServers": {
"sunrise-sunset-mcp": {
"url": "https://edge.vinkius.com/vk_preview_h5QVzZiOuKY354MuvcVnIyjZwY4zxU3WwytiY6cR/mcp"
}
}
}Calculate the total daylight duration for latitude 40.7128 and longitude -74.0060 on July 4th.
What are the sunrise and sunset times in London (51.5074, -0.1278) for tomorrow?
Find the total hours of daylight for the coordinates 34.0522, -118.2437 on December 21st.
How much daylight will I have in Tokyo (35.6762, 139.6503) on the spring equinox?
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Sunrise-Sunset once, then ask.
Click the link to connect the MCP to your client. Your credentials stay encrypted, and you can start asking for solar data immediately.
Connect Sunrise-Sunset to your AIFAQ
How this task behaves
- 01
Can the AI predict solar eclipses?
No. The tool only provides sunrise, sunset, and daylight duration data.
- 02
Does the AI change my location settings?
No. The AI only uses the coordinates you provide in the chat to perform calculations.
- 03
Can I get weather data too?
No. This specific MCP is limited to solar timing and daylight duration.
- 04
Do I need to provide coordinates or just city names?
The tool requires specific latitude and longitude to function accurately.
- 05
Can the AI save this data to a spreadsheet?
The AI can generate the text for you to copy, but it cannot directly write to your files unless you use a different MCP for that.
More questions about Sunrise-Sunset? The Connector page answers them. See everything the Sunrise-Sunset Connector can do
Connect Sunrise-Sunset to Claude, Cursor, ChatGPT & more
