Spiral gives your agent every tool with one account. Browse the tools →

Claude Code · Industry Data

How to Use USNO local solar eclipse circumstances in Claude Code

Returns eclipse contact times, the Sun's position, duration, magnitude, and obscuration for a location. Use it to reconstruct what a city could see during a supported eclipse; an annual eclipse list cannot establish local visibility.

Prompts to try with USNO local solar eclipse circumstances in Claude Code

Copy an example into Claude Code, or ask in your own words.

Use USNO local solar eclipse circumstances for Dallas, Texas, on April 8, 2024, and build a table of contact times, duration, magnitude, and obscuration in this project's eclipse example.

USNO local solar eclipse circumstancesClaude Code
Try asking
  • Use USNO local solar eclipse circumstances to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from USNO local solar eclipse circumstances and tell me what changed since last week.

  • Check USNO local solar eclipse circumstances and summarize what you find in three bullet points.

  • Pull the newest data from USNO local solar eclipse circumstances and give me the result as a table.

How to set up USNO local solar eclipse circumstances in Claude Code

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. 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
  2. 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

  1. Send Claude Code this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. 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

  1. Create an API key

    In the console, under API keys.

  2. Run USNO local solar eclipse circumstances

    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/solar_eclipse_local",
        "input": {
          "date": "<date>",
          "latitude": -90,
          "longitude": -180
        }
      }'

Then paste one of the prompts above: Claude Code finds USNO local solar eclipse circumstances on Spiral, shows the price and runs it.

USNO local solar eclipse circumstances providers and prices

Spiral runs USNO local solar eclipse circumstances through Alexandria. Open a card for today's price, with every fee included.

AlexandriaIndustry Data

Settings you can ask for

Ask Claude Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Latitude-90 to 90

Decimal degrees, north positive.

Longitude-180 to 180

Decimal degrees, east positive.

Height m-90 to 10999

Height above the ellipsoid in meters, -90 to 10999. Defaults to 0.

Every API field of USNO astronomical data (Sun, Moon, eclipses, seasons) · Solar eclipse local is on its tool page: open its card above.

What can you do with USNO local solar eclipse circumstances 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.

Historical eclipse reconstruction

Build an April 8, 2024 timeline for Dallas using the annual eclipse record, local contact times, and that day's Sun and Moon events.

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.

Outdoor photography research

Find lunar milestones and local sunrise, sunset, and Moonrise times for a shoot. For an archived eclipse photograph, compare its timestamp with calculated local eclipse contacts.

Eclipse location comparison

Find a supported eclipse in the annual list, then compare local contact times, duration, and obscuration for Dallas and Austin. Use the results in an eclipse geography lesson or historical viewing report.

Questions about USNO local solar eclipse circumstances in Claude Code

Can Claude Code use USNO local solar eclipse circumstances?

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run USNO local solar eclipse circumstances like any built-in tool.

How much does USNO local solar eclipse circumstances 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 local solar eclipse circumstances in Claude Code?

No. Spiral runs USNO local solar eclipse circumstances 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 local solar eclipse circumstances in Claude Code?

About two minutes: add the hosted server, then sign in.

Does Claude Code wait while USNO local solar eclipse circumstances runs?

USNO local solar eclipse circumstances 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.

Get started

Start using USNO local solar eclipse circumstances 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 Claude Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options