How to Use JPL Horizons state vectors in Notion
Returns Cartesian position and velocity relative to a chosen origin at specified times. Use it for three-dimensional plots, distance and speed calculations, or simulation comparisons.
Prompts to try with JPL Horizons state vectors in Notion
Copy an example into Notion, or ask in your own words.
Each day, use JPL Horizons state vectors for Voyager 1 relative to Earth at midnight. Report its distance, calculate the change since yesterday, and label the units and time scale.
Every Monday at 9am: use JPL Horizons state vectors to look this up and give me the result as a table.
Pull the latest numbers from JPL Horizons state vectors and tell me what changed since last week.
Check JPL Horizons state vectors and summarize what you find in three bullet points.
Pull the newest data from JPL Horizons state vectors and give me the result as a table.
How to set up JPL Horizons state vectors in Notion
Pick the way that suits you. Each takes about two minutes.
Use the Spiral skill
- Send Notion 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 Spiral's MCP server
- Allow custom MCP servers
A workspace owner opens Settings › Connections, then the Manage tab, and turns on Enable custom MCP servers. Where members may install only approved connections, also add Spiral under Approved connections › Add approved connection › Custom MCP server with the URL below.
- Add Spiral to a custom agent
Open the custom agent (or create one), then Settings › Tools & Access › Add connection › Custom MCP server. Paste this URL, name it Spiral, keep OAuth and click Connect.
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Spiral opens: sign in, pick the organization and click Authorize. No API key. Spiral gives the connection its own key; Notion never sees it, and you can remove it under Settings › Connected apps in the console.
- Run JPL Horizons state vectors in a workflow step
Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds JPL Horizons state vectors, prices it and runs it each time the step fires.
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 JPL Horizons state vectors
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": "ssd-jpl-nasa-gov/ephemerides/state_vectors", "input": { "target": "<target>" } }'
Then paste one of the prompts above: Notion finds JPL Horizons state vectors on Spiral, shows the price and runs it.
JPL Horizons state vectors providers and prices
Spiral runs JPL Horizons state vectors through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Notion for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Units | km_s or au_d | km_s or au_d. | |
| Reference plane | ecliptic or equator | ecliptic (J2000 ecliptic, default) or equator (ICRF equatorial). |
Every API field of JPL Horizons ephemerides · State vectors is on its tool page: open its card above.
What can you do with JPL Horizons state vectors in Notion?
Produce recurring observing briefs and dated distance reports for selected solar system targets. A scheduled agent can calculate upcoming geometry and compare newly returned object information while accounting for Horizons' different update schedules.
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.
More on JPL Horizons state vectors and Notion
Overview
JPL Horizons state vectors in other agents
Questions about JPL Horizons state vectors in Notion
Can Notion use JPL Horizons state vectors?
Yes. Add Spiral to Notion as an MCP server, and Notion can find and run JPL Horizons state vectors like any built-in tool.
How much does JPL Horizons state vectors cost in Notion?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Notion plan is separate.
Do I need an Alexandria account to use JPL Horizons state vectors in Notion?
No. Spiral runs JPL Horizons state vectors 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 state vectors in Notion?
About two minutes: allow custom MCP servers, then add Spiral to a custom agent, then sign in to Spiral and approve.
Does Notion wait while JPL Horizons state vectors runs?
JPL Horizons state vectors runs in the background. Notion 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.
Start using JPL Horizons state vectors in Notion
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Notion:
set up https://spiral.ai/SKILL.md


