[Integrations](https://spiral.ai/integrations) › [Cursor](https://spiral.ai/integrations/cursor) › [USNO solar eclipses by year](https://spiral.ai/integrations/cursor/usno-solar-eclipses-by-year)

# How to Use USNO solar eclipses by year in Cursor

Returns solar eclipse dates and types for a calendar year, with documented coverage from 1800 through 2050. Use it to find events for a calendar or research timeline, then investigate local circumstances separately.

|  |  |
| --- | --- |
| Model | USNO solar eclipses by year |
| Available through | Alexandria |
| Category | Industry Data |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with USNO solar eclipses by year in Cursor

- Use USNO solar eclipses by year for 2027 and populate this project's event list with the returned eclipse dates and types.
- Use USNO solar eclipses by year to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from USNO solar eclipses by year and tell me what changed since last week.
- Check USNO solar eclipses by year and summarize what you find in three bullet points.
- Pull the newest data from USNO solar eclipses by year and give me the result as a table.

## How to set up USNO solar eclipses by year in Cursor

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

### Use Spiral's MCP server

1. **Add the hosted server**: Use Add to Cursor on the console's Agents & MCP page, or add this to `.cursor/mcp.json` (one project) or `~/.cursor/mcp.json` (every project):

```json
{
  "mcpServers": {
    "spiral": { "url": "https://api.spiral.ai/mcp" }
  }
}
```

2. **Sign in**: Open Cursor Settings › MCP, click Connect next to spiral, sign in to Spiral and click Authorize. No API key. Spiral then shows as connected, with its tools listed.

### Use the Spiral skill

1. **Send Cursor 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.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run USNO solar eclipses by year**: One request; the result comes back by polling or a webhook.

```bash
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_eclipses_in_year",
    "input": {
      "year": 1800
    }
  }'
```

Then paste one of the prompts above: Cursor finds USNO solar eclipses by year on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/cursor

## USNO solar eclipses by year tools and prices

- [USNO astronomical data (Sun, Moon, eclipses, seasons) · Solar eclipses in year](https://spiral.ai/tools/alexandria/aa-usno-navy-mil/astronomy/solar_eclipses_in_year) (Alexandria): $0.00873 per call.

## What can you do with USNO solar eclipses by year in Cursor?

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.

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

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

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Cursor guides](https://spiral.ai/integrations/cursor)

## USNO solar eclipses by year in other agents

- [Amp](https://spiral.ai/integrations/amp/usno-solar-eclipses-by-year)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/usno-solar-eclipses-by-year)
- [Claude](https://spiral.ai/integrations/claude-desktop/usno-solar-eclipses-by-year)
- [Claude Code](https://spiral.ai/integrations/claude-code/usno-solar-eclipses-by-year)
- [Cline](https://spiral.ai/integrations/cline/usno-solar-eclipses-by-year)
- [Codex](https://spiral.ai/integrations/codex/usno-solar-eclipses-by-year)
- [Devin](https://spiral.ai/integrations/devin/usno-solar-eclipses-by-year)
- [dots](https://spiral.ai/integrations/dots/usno-solar-eclipses-by-year)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/usno-solar-eclipses-by-year)
- [Gemini](https://spiral.ai/integrations/gemini/usno-solar-eclipses-by-year)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/usno-solar-eclipses-by-year)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/usno-solar-eclipses-by-year)
- [goose](https://spiral.ai/integrations/goose/usno-solar-eclipses-by-year)
- [Grok](https://spiral.ai/integrations/grok/usno-solar-eclipses-by-year)
- [Grok Build](https://spiral.ai/integrations/grok-build/usno-solar-eclipses-by-year)
- [Hermes](https://spiral.ai/integrations/hermes/usno-solar-eclipses-by-year)
- [Instinct](https://spiral.ai/integrations/instinct/usno-solar-eclipses-by-year)
- [Manus](https://spiral.ai/integrations/manus/usno-solar-eclipses-by-year)
- [Muse](https://spiral.ai/integrations/muse/usno-solar-eclipses-by-year)
- [Muse Code](https://spiral.ai/integrations/muse-code/usno-solar-eclipses-by-year)
- [n8n](https://spiral.ai/integrations/n8n/usno-solar-eclipses-by-year)
- [Notion](https://spiral.ai/integrations/notion/usno-solar-eclipses-by-year)
- [OpenClaw](https://spiral.ai/integrations/openclaw/usno-solar-eclipses-by-year)
- [opencode](https://spiral.ai/integrations/opencode/usno-solar-eclipses-by-year)
- [Perplexity](https://spiral.ai/integrations/perplexity/usno-solar-eclipses-by-year)
- [Raycast](https://spiral.ai/integrations/raycast/usno-solar-eclipses-by-year)
- [VS Code](https://spiral.ai/integrations/vscode/usno-solar-eclipses-by-year)
- [Windsurf](https://spiral.ai/integrations/windsurf/usno-solar-eclipses-by-year)
- [Zapier](https://spiral.ai/integrations/zapier/usno-solar-eclipses-by-year)

## More Cursor guides

- [USNO local solar eclipse circumstances](https://spiral.ai/integrations/cursor/usno-local-solar-eclipse-circumstances)
- [Where the ISS at ISS orbital elements](https://spiral.ai/integrations/cursor/where-the-iss-at-iss-orbital-elements)
- [USNO equinoxes and solstices](https://spiral.ai/integrations/cursor/usno-equinoxes-and-solstices)
- [Where the ISS at ISS positions by time](https://spiral.ai/integrations/cursor/where-the-iss-at-iss-positions-by-time)
- [USNO daily Sun and Moon times](https://spiral.ai/integrations/cursor/usno-daily-sun-and-moon-times)
- [Where the ISS at country and time zone](https://spiral.ai/integrations/cursor/where-the-iss-at-country-and-time-zone)

## Questions about USNO solar eclipses by year in Cursor

**Can Cursor use USNO solar eclipses by year?**

Yes. Add Spiral to Cursor as an MCP server, and Cursor can find and run USNO solar eclipses by year like any built-in tool.

**How much does USNO solar eclipses by year cost in Cursor?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Cursor plan is separate.

**Do I need an Alexandria account to use USNO solar eclipses by year in Cursor?**

No. Spiral runs USNO solar eclipses by year 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 solar eclipses by year in Cursor?**

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

**Does Cursor wait while USNO solar eclipses by year runs?**

USNO solar eclipses by year runs in the background. Cursor 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.

