[Integrations](https://spiral.ai/integrations) › [Claude](https://spiral.ai/integrations/claude-desktop) › [JPL Horizons orbital elements](https://spiral.ai/integrations/claude-desktop/jpl-horizons-orbital-elements)

# How to Use JPL Horizons orbital elements in Claude

Returns instantaneous orbital geometry, including eccentricity, inclination, and semimajor axis. Use it to compare orbit shapes at specified dates or examine how an orbit changes over time.

|  |  |
| --- | --- |
| Model | JPL Horizons orbital elements |
| 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 JPL Horizons orbital elements in Claude

- Use JPL Horizons orbital elements to compare Earth's and Mars's orbit shapes around the Sun on December 1, 2026. Explain eccentricity, inclination, and semimajor axis.
- Use JPL Horizons orbital elements to look this up and give me the result as a table.
- Pull the latest numbers from JPL Horizons orbital elements and tell me what changed since last week.
- Check JPL Horizons orbital elements and summarize what you find in three bullet points.
- Pull the newest data from JPL Horizons orbital elements and give me the result as a table.

## How to set up JPL Horizons orbital elements in Claude

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

### Use the Claude connector

1. **Add Spiral to Claude**: Click Add Spiral in Claude above. Claude opens Add custom connector with Spiral and its URL filled in; check them and click Continue. Without the link: in Claude open Customize › Connectors › Add › Add custom connector and paste this URL:

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

2. **Keep the detected sign-in and click Add**: Claude finds Spiral's sign-in by itself: leave Sign in now and Use Claude's published identity selected.

3. **Click Connect**: The connector page opens. Connect takes you to Spiral in your browser.

### Use the Spiral skill

1. **Send Claude 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 JPL Horizons orbital elements**: 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": "ssd-jpl-nasa-gov/ephemerides/osculating_elements",
    "input": {
      "target": "<target>"
    }
  }'
```

Then paste one of the prompts above: Claude finds JPL Horizons orbital elements on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/claude-desktop

## JPL Horizons orbital elements tools and prices

- [JPL Horizons ephemerides · Osculating elements](https://spiral.ai/tools/alexandria/ssd-jpl-nasa-gov/ephemerides/osculating_elements) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| step |  | — | Step between rows: 30 m, 1 h, 6 h, 1 d, 1 mo, 1 y (default 1 d). At most 500 rows per call. |
| stop |  | — | Stop time. Omit for one row at start. UTC for observer tables, TDB for vectors and elements: YYYY-MM-DD, YYYY-MM-DD HH:MM or YYYY-MM-DDTHH:MM:SSZ, years 1000 to 3000. |
| start |  | — | Start time (or the single instant when stop is omitted; default now). UTC for observer tables, TDB for vectors and elements: YYYY-MM-DD, YYYY-MM-DD HH:MM or YYYY-MM-DDTHH:MM:SSZ, years 1000 to 3000. |
| units | km_s, au_d | — | km_s or au_d. |
| center |  | — | Central body: 10 Sun (default), 399 Earth (for the Moon or Earth satellites), 599 Jupiter, or site@body. |
| reference_plane | ecliptic, equator | — | ecliptic (J2000 ecliptic, default) or equator (ICRF equatorial). |

## What can you do with JPL Horizons orbital elements in Claude?

Get an observing plan or a dated explanation of a solar system object's motion. A chat app can explain Horizons identities, physical facts, sky positions, and orbital geometry in the same conversation.

### Prepare a planetarium presentation

Identify Mars, collect its physical summary, and calculate its sky position for the presentation date. Use orbital geometry and three-dimensional coordinates to connect the audience's view with Mars's position around the Sun.

### Build an asteroid briefing

Resolve Apophis and its historical designation, summarize available physical and orbit information, and calculate its sky position for a chosen date. Add orbit elements and Earth-relative vectors to explain its geometry and distance.

### Create a lesson on orbit geometry

Identify Earth and Mars, compare their physical summaries, and examine their orbit elements and positions on matching dates. Contrast the resulting spatial diagram with their apparent sky positions as seen from Earth.

### Check an orbital simulation

Confirm the simulated target's identity and inspect its source summary. Compare modeled orbital elements and Cartesian positions and velocities with Horizons results at the same epochs.

### Explain a spacecraft's journey

Identify Voyager 1 and read its trajectory notes before building a dated mission explainer. Use Earth-view coordinates, heliocentric orbit geometry, and position and velocity vectors to describe its direction, distance, and motion.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Claude guides](https://spiral.ai/integrations/claude-desktop)

## JPL Horizons orbital elements in other agents

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

## More Claude guides

- [JPL Horizons observer ephemeris](https://spiral.ai/integrations/claude-desktop/jpl-horizons-observer-ephemeris)
- [JPL Horizons state vectors](https://spiral.ai/integrations/claude-desktop/jpl-horizons-state-vectors)
- [JPL Horizons object lookup](https://spiral.ai/integrations/claude-desktop/jpl-horizons-object-lookup)
- [MIT Election Lab dataset details](https://spiral.ai/integrations/claude-desktop/mit-election-lab-dataset-details)
- [JPL Horizons object details](https://spiral.ai/integrations/claude-desktop/jpl-horizons-object-details)
- [MIT Election Lab dataset search](https://spiral.ai/integrations/claude-desktop/mit-election-lab-dataset-search)

## Questions about JPL Horizons orbital elements in Claude

**Can Claude use JPL Horizons orbital elements?**

Yes. Add Spiral to Claude as an MCP server, and Claude can find and run JPL Horizons orbital elements like any built-in tool.

**How much does JPL Horizons orbital elements cost in Claude?**

$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 plan is separate.

**Do I need an Alexandria account to use JPL Horizons orbital elements in Claude?**

No. Spiral runs JPL Horizons orbital elements on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up JPL Horizons orbital elements in Claude?**

About two minutes: add Spiral to Claude, then keep the detected sign-in and click Add, then click Connect.

**Does Claude wait while JPL Horizons orbital elements runs?**

JPL Horizons orbital elements runs in the background. Claude starts the run, checks on it and gives you the json when it's ready.

**Which objects does Horizons cover?**

Horizons covers planets, natural satellites, asteroids, comets, the Sun, selected spacecraft, dynamical points, and system barycenters. Its spacecraft catalog covers selected missions.

**How fresh are the data?**

The small-body database updates hourly with new objects and orbit solutions. Spacecraft trajectories may update weekly or monthly and represent tracking fits and predictions.

**Can one name identify several objects?**

Yes. Juno can match spacecraft and an asteroid, while Halley can match both a comet and an asteroid; confirm the object category and identifier before interpreting its data.

**How far into the past or future does coverage extend?**

Each target has its own available trajectory interval. JPL reports coverage boundaries in Barycentric Dynamical Time, so there is no single date range that applies to every object.

**Can I extrapolate an orbit indefinitely from one set of elements?**

No. JPL warns that two-body extrapolation from osculating elements can produce large errors, especially for planetary satellites and comets, with error generally increasing farther from the elements' epoch.

