Sun Position SkillSun Position Skill

OnlineCredit Usage:1 per callTool:SunPositionSkill

The tool

Give your agent solar geometry. Call it as an MCP tool to read the sun's altitude, azimuth and distance for any location, date and time.

Once your client is connected to the VerveKit MCP server, this appears in its tool list as SunPositionSkill. It is read-only and open-world: it fetches, it never mutates anything on your side, so most clients will call it without asking you to confirm.

Tool call
{
  "name": "SunPositionSkill",
  "arguments": {
    "lat": "37.7749",
    "lon": "-122.4194"
  }
}

What that looks like in a conversation

You don't name the tool — the model picks it. Asking about 37.7749 in the terms this source covers is enough for it to reach for SunPositionSkill on its own.

Connecting

One server URL covers every skill in the catalog, including this one. Authorization is OAuth — the client opens a browser once and there is no key to paste into a config file.

Client config
{
  "mcpServers": {
    "vervekit": {
      "url": "https://api.vervekit.com/v1/mcp"
    }
  }
}
Endpoint
https://api.vervekit.com/v1/mcp

Per-client setup — Claude Desktop, Cursor, VS Code, ChatGPT — is on the MCP setup page.

Arguments

These are the properties on the tool's inputSchema, so a well-behaved client validates them before the call is made.

ArgumentTypeExampleDescription
latRequirednumber37.7749The latitude of the location
lonRequirednumber-122.4194The longitude of the location
datePremiumstring01-16-2026The date to get the sun position data for (MM-DD-YYYY)
timestring14:30The time of day for the calculation (HH:mm format, 24-hour), read in the timezone of the coordinates. Defaults to 00:00 if not provided
timezonestringAmerica/Los_AngelesIANA timezone to read the date and time in, such as America/Los_Angeles. Defaults to the timezone of the coordinates

What the model gets back

The result carries a structuredContent object matching the tool's declared outputSchema, so a client can read fields without parsing prose. status is "ok" on success and error is null; a null field means the value wasn't available for that input, not that the call failed.

Result
{
  "status": "ok",
  "error": null,
  "data": {
    "date": "01-16-2026",
    "time": "14:30",
    "timezone": "America/Los_Angeles",
    "timestampUTC": "2026-01-16T22:30:00.000Z",
    "coordinates": {
      "latitude": 37.7749,
      "longitude": -122.4194
    },
    "sun": {
      "altitude": 0.41616137328975444,
      "azimuth": 0.5817558808515568,
      "altitudeDegrees": 23.844,
      "azimuthDegrees": 33.332,
      "compassBearing": 213.332,
      "isDaylight": true,
      "declination": -20.7961,
      "rightAscension": 19.9228,
      "hourAngle": 2.174,
      "distance": 0.983786
    },
    "equationOfTime": -9.88,
    "airMass": 2.454,
    "clearSky": {
      "directNormal": 702.4,
      "globalHorizontal": 284.9
    },
    "shadowRatio": 2.254,
    "panelAim": {
      "tilt": 66.07,
      "azimuth": 213.44
    }
  }
}

Fields

Fields marked Premium need a paid plan. On a plan without them the key is absent rather than wrong, so a model never reasons over a substituted value.
FieldTypeExampleDescription
datestring01-16-2026Date the position was calculated for
timestring14:30Time of day the position was calculated for
timezonestringAmerica/Los_AngelesIANA timezone the date and time were read in, resolved from the coordinates unless one was given
timestampUTCstring2026-01-16T22:30:00.000ZThe instant the position was calculated for, in UTC, so the answer is unambiguous
coordinatesobject{…}The point on Earth the position was calculated from
coordinates.latitudenumber37.7749Latitude used for the calculation
coordinates.longitudenumber-122.4194Longitude used for the calculation
sunobject{…}Where the sun sits in the sky at that time and place
sun.altitudenumber0.41616137328975444Height of the sun above the horizon, in radians; negative when the sun is below the horizon. Multiply by 180/PI for degrees
sun.azimuthnumber0.5817558808515568Direction of the sun, in radians measured from due south and increasing westward. Multiply by 180/PI for degrees, then add 180 for a compass bearing
sun.altitudeDegreesnumber23.844Height of the sun above the horizon in degrees; negative when below
sun.azimuthDegreesnumber33.332Direction of the sun in degrees from due south, increasing westward
sun.compassBearingnumber213.332Direction of the sun as a compass bearing, 0 for north and 180 for south
sun.isDaylightbooleantrueWhether the sun is above the horizon at this time and place
sun.declinationPremiumnumber-20.7961Angle of the sun north or south of the celestial equator, in degrees
sun.rightAscensionPremiumnumber19.9228Position of the sun along the celestial equator, in hours
sun.hourAnglePremiumnumber2.174Hours since the sun crossed the local meridian; negative before solar noon
sun.distancePremiumnumber0.983786Distance from Earth to the sun in astronomical units
equationOfTimePremiumnumber-9.88Minutes a sundial reads ahead of the clock at this date; negative when it reads behind
airMassPremiumnumber2.454How much atmosphere the sunlight crosses, as a multiple of straight overhead; null after dark
clearSkyPremiumobject{…}Cloudless-sky irradiance estimate in watts per square metre; null after dark
clearSky.directNormalPremiumnumber702.4Irradiance on a surface aimed straight at the sun, which is what a tracker sees
clearSky.globalHorizontalPremiumnumber284.9Irradiance on a flat horizontal surface
shadowRatioPremiumnumber2.254Length of the shadow cast by an object, per unit of its height; null after dark
panelAimPremiumobject{…}Where to point a solar panel to face the sun squarely at this moment; null after dark
panelAim.tiltPremiumnumber66.07Degrees to tilt the panel back from vertical
panelAim.azimuthPremiumnumber213.44Compass bearing to point the panel at

Failure modes

Errors come back as tool errors with a sentence the model can act on, not a bare status code.

StatusWhat it means
400 / 422The arguments didn't validate. The message names the offending one.
401The OAuth session is invalid or expired — reconnect the server.
403Out of credits. Not a bad key — the month's allowance is spent.
404This skill isn't part of VerveKit. Check the catalog.
429Brief rate limit. Retrying after a moment succeeds.

Other ways to use Sun Position Skill

Set up Sun Position Skill on VerveKit, or reach the same source a different way. Your VerveKit account and credits work on all of them — one key, one balance.

Call it as a REST APIOne HTTPS endpoint and an X-API-Key header, with SDKs for Node, Python and .NET.APIVerveReference →
Use it in Google Sheets or ExcelA =VERVE() formula fills a column — no script, no export, recalculates in place.VerveSheetsReference →
Ground an agent on itA cited, machine-checkable fact your model can't produce on its own.VerveContextReference →

Frequently asked questions

Do I have to tell the agent to use SunPositionSkill?

No. The tool's name and description are in the model's context once the server is connected, so it selects the tool when the question calls for it. Naming it explicitly works too and is useful when you want to force the call.

Does connecting the server expose every tool at once?

Yes — one connection lists the whole VerveKit catalog. Clients with a tool budget can usually filter the list; the credit cost is per call, so an unused tool costs nothing.

What does a call cost?

1 credit each time the tool actually runs. A model that reasons about the tool without calling it costs nothing.

Is there a REST version of this?

Yes — the same source is available as a plain HTTPS endpoint on APIVerve, linked above. Same data, same credits, same account.

What's Next?

Continue your journey with these recommended resources

Was this page helpful?