How to Use USNO equinoxes and solstices in Claude Code
Returns the dates and times of equinoxes, solstices, perihelion, and aphelion. Use it to build an astronomical calendar or check seasonal milestones, including Earth's closest and farthest orbital points.
Prompts to try with USNO equinoxes and solstices in Claude Code
Copy an example into Claude Code, or ask in your own words.
Use USNO equinoxes and solstices for 2027 and add the returned seasonal and orbital events to this project's astronomy calendar, with times labeled in Universal Time.
Use USNO equinoxes and solstices to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from USNO equinoxes and solstices and tell me what changed since last week.
Check USNO equinoxes and solstices and summarize what you find in three bullet points.
Pull the newest data from USNO equinoxes and solstices and give me the result as a table.
How to set up USNO equinoxes and solstices in Claude Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
This adds Spiral to the current project. Add --scope user to use it in every project.
claude mcp add --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.
Use the Spiral skill
- Send Claude Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run USNO equinoxes and solstices
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "aa-usno-navy-mil/astronomy/seasons", "input": { "year": 1700 } }'
Then paste one of the prompts above: Claude Code finds USNO equinoxes and solstices on Spiral, shows the price and runs it.
USNO equinoxes and solstices providers and prices
Spiral runs USNO equinoxes and solstices through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Claude Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Year | 1700 to 2100 | Calendar year, 1700 to 2100. | |
| Dst | on or off | Apply US daylight saving time rules (1967 onward) on top of tz_offset_hours. Defaults to false. USNO only knows the US rules, so for other countries pass the offset in force on the date instead. | |
| Tz offset hours | -12 to 14 | Hours east of Greenwich (UT offset), -12 to 14: -5 for US Eastern Standard Time, 1 for Central European Time, 5.5 for India. Defaults to 0 (UT). Times are on this fixed offset unless dst applies. |
Every API field of USNO astronomical data (Sun, Moon, eclipses, seasons) · Seasons is on its tool page: open its card above.
What can you do with USNO equinoxes and solstices in Claude Code?
Add calculated USNO event times to a calendar, lesson, or observing planner in your project. A coding agent can turn returned dates and event details into tables, calendar entries, and comparisons for supported places and years.
Astronomical calendar export
Create dated calendar entries for primary lunar phases, equinoxes, solstices, Earth's orbital extremes, and yearly solar eclipses. Keep eclipse listings separate from claims about visibility at a venue.
Planetarium program research
Prepare a planetarium program with lunar milestones, seasonal events, and eclipse dates. Add daily sky times for the venue and a supported historical eclipse as a worked example.
Astronomy classroom exercises
Give students calculated event times to sort, compare, and plot. Exercises can compare lunar cycles, seasonal dates, daylight intervals, and how one eclipse appears from different cities.
Astronomy article fact-checking
Check a draft's full Moon dates, seasonal milestones, eclipse classifications, local eclipse timing, or sunrise claims against the corresponding USNO calculation.
Seasonal daylight comparison
Identify equinox and solstice dates, then compare sunrise and sunset intervals in Paris on those dates. Add primary lunar phases to an exhibit explaining separate solar and lunar cycles.
More on USNO equinoxes and solstices and Claude Code
Overview
USNO equinoxes and solstices in other agents
Questions about USNO equinoxes and solstices in Claude Code
Can Claude Code use USNO equinoxes and solstices?
Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run USNO equinoxes and solstices like any built-in tool.
How much does USNO equinoxes and solstices cost in Claude Code?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.
Do I need an Alexandria account to use USNO equinoxes and solstices in Claude Code?
No. Spiral runs USNO equinoxes and solstices on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up USNO equinoxes and solstices in Claude Code?
About two minutes: add the hosted server, then sign in.
Does Claude Code wait while USNO equinoxes and solstices runs?
USNO equinoxes and solstices runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.
Are USNO event times observations or calculations?
USNO calculates astronomical events for requested dates. Its Moon phase calculations cover 1700 through 2100, so the results include historical events and future predictions.
How far back does USNO's eclipse coverage go?
The yearly solar eclipse list covers 1800 through 2050. Local coverage is less clear: the API guide specifies 2017–2024, while the calculator page lists 2017–2026.
Does an eclipse in the yearly list mean it was visible from my city?
The yearly service identifies eclipse dates and types. Location-specific contact times, the Sun's position, and obscuration come from the local circumstances calculation.
What does USNO mean by a primary Moon phase?
It means one of four events: new Moon, first quarter, full Moon, or last quarter. A date-based list contains at most 99 such events, rather than 99 daily illumination readings.
Can calculated sunrise and sunset times differ from what I see?
USNO says rise and set times can be off by a minute or more even under ideal conditions because atmospheric refraction varies. Mountains, observer height, and high latitudes can increase the difference.
Start using USNO equinoxes and solstices in Claude Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Claude Code:
set up https://spiral.ai/SKILL.md


