[Integrations](https://spiral.ai/integrations) › [Perplexity](https://spiral.ai/integrations/perplexity) › [USNO daily Sun and Moon times](https://spiral.ai/integrations/perplexity/usno-daily-sun-and-moon-times)

# How to Use USNO daily Sun and Moon times in Perplexity

Returns Sun and Moon rise, set, and transit times, civil twilight, and lunar phase information for one place and date. Use it for daily observing or daylight planning; lunar illumination describes local noon.

|  |  |
| --- | --- |
| Model | USNO daily Sun and Moon times |
| 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 daily Sun and Moon times in Perplexity

- Use USNO daily Sun and Moon times for Paris, France, on June 21, 2027. Show sunrise, sunset, civil twilight, Moonrise, and Moonset in local time.
- Use USNO daily Sun and Moon times to look this up and give me the result as a table.
- Pull the latest numbers from USNO daily Sun and Moon times and tell me what changed since last week.
- Check USNO daily Sun and Moon times and summarize what you find in three bullet points.
- Pull the newest data from USNO daily Sun and Moon times and give me the result as a table.

## How to set up USNO daily Sun and Moon times in Perplexity

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

### Use the Perplexity connector

1. **Add a remote connector**: In Perplexity, open Plugins in the sidebar (or Customize › Connectors if you don't see Plugins yet). Choose Add custom › Add MCP connector, then Remote. Name it Spiral and paste this MCP server URL:

```text
https://api.spiral.ai/mcp
```

2. **Sign in to Spiral and approve**: Select the Spiral card on the Plugins page to start sign-in. Spiral opens: sign in, pick the organization and click Authorize. No API key.

### Use the Spiral skill

1. **Send Perplexity 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 daily Sun and Moon times**: 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/sun_moon_day",
    "input": {
      "date": "<date>",
      "latitude": -90,
      "longitude": -180
    }
  }'
```

Then paste one of the prompts above: Perplexity finds USNO daily Sun and Moon times on Spiral, shows the price and runs it.

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

## USNO daily Sun and Moon times tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| dst |  | — | 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. |

## What can you do with USNO daily Sun and Moon times in Perplexity?

Get a dated astronomy briefing for a trip, classroom lesson, or historical event. A chat app can explain USNO event times and distinguish calendar milestones from results calculated for a particular location.

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

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

## Overview

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

## USNO daily Sun and Moon times in other agents

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

## More Perplexity guides

- [USNO Moon phases](https://spiral.ai/integrations/perplexity/usno-moon-phases)
- [USNO equinoxes and solstices](https://spiral.ai/integrations/perplexity/usno-equinoxes-and-solstices)
- [StudyLight verse commentary comparison](https://spiral.ai/integrations/perplexity/studylight-verse-commentary-comparison)
- [USNO local solar eclipse circumstances](https://spiral.ai/integrations/perplexity/usno-local-solar-eclipse-circumstances)
- [StudyLight passage commentary](https://spiral.ai/integrations/perplexity/studylight-passage-commentary)
- [USNO solar eclipses by year](https://spiral.ai/integrations/perplexity/usno-solar-eclipses-by-year)

## Questions about USNO daily Sun and Moon times in Perplexity

**Can Perplexity use USNO daily Sun and Moon times?**

Yes. Add Spiral to Perplexity as an MCP server, and Perplexity can find and run USNO daily Sun and Moon times like any built-in tool.

**How much does USNO daily Sun and Moon times cost in Perplexity?**

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

**Do I need an Alexandria account to use USNO daily Sun and Moon times in Perplexity?**

No. Spiral runs USNO daily Sun and Moon times 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 daily Sun and Moon times in Perplexity?**

About two minutes: add a remote connector, then sign in to Spiral and approve.

**Does Perplexity wait while USNO daily Sun and Moon times runs?**

USNO daily Sun and Moon times runs in the background. Perplexity 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.

