Add daylight hours to your app
Give your agent sunrise, sunset and daylight length for any coordinates and date. Call it as an MCP tool — astronomical accuracy, no math to code. You switch it on with a single toggle — no SDK and no endpoint wiring — and it answers over MCP or REST using the same key as every other skill.
A real response from the Daylight Hours Skill — exactly what your agent gets back when it makes the call.
{
"latitude": 40.7128,
"longitude": -74.006,
"date": "2024-06-21"
}Enable Daylight Hours and your app or agent can add daylight hours to your app on demand — no SDK, no endpoint wiring. It answers over MCP or REST using the same key as every other skill.
Over MCP, Daylight Hours appears to your model as the daylightduration tool it invokes whenever a task needs it — you don't write the glue, the agent reaches for it.
Prefer to call it directly? Any language that can send a GET can hit Daylight Hours to add daylight hours to your app inline in your own server-side code.
Once enabled, this skill is reachable two ways — pick whichever fits how you build. Both use the same key.
It appears to your model as a callable tool. No extra code — the agent invokes it when a task needs it.
daylightdurationCall it from your server with one request and your key. Node, Python, Go — anything that can send a GET.
GET /v1/daylightdurationHow to connect it over MCP or REST.
The same key runs from your first prototype to millions of calls — on APIVerve's rails, 99.9% uptime.
See pricing