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

Devin · Industry Data

How to Use JPL Horizons object lookup in Devin

Returns matching solar system objects with names, identifiers, categories, and aliases. Use it to distinguish targets such as the Juno spacecraft and asteroid before requesting object details or calculated positions.

Prompts to try with JPL Horizons object lookup in Devin

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

Use JPL Horizons object lookup to search for Juno, list the matching object categories and identifiers, and add an explicit target mapping to this project's astronomy catalog.

JPL Horizons object lookupDevin
Try asking
  • Use JPL Horizons object lookup to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from JPL Horizons object lookup and tell me what changed since last week.

  • Check JPL Horizons object lookup and summarize what you find in three bullet points.

  • Pull the newest data from JPL Horizons object lookup and give me the result as a table.

How to set up JPL Horizons object lookup in Devin

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

Use Spiral's MCP server

  1. Add a custom MCP

    Open Customize › MCPs. Click + and choose New MCP. Fill in:

  2. Sign in to Spiral and approve

    In Customize › MCPs, open Spiral and choose Connect. Spiral opens: sign in, pick the organization and click Authorize. No API key.

  3. Check it

    On Spiral's configuration page, click Test tools. Devin lists Spiral's tools.

Use the Spiral skill

  1. Send Devin 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 JPL Horizons object lookup

    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/lookup_object",
        "input": {
          "query": "<query>"
        }
      }'

Then paste one of the prompts above: Devin finds JPL Horizons object lookup on Spiral, shows the price and runs it.

JPL Horizons object lookup providers and prices

Spiral runs JPL Horizons object lookup through Alexandria. Open a card for today's price, with every fee included.

AlexandriaIndustry Data
JPL Horizons ephemerides · Lookup object
ssd-jpl-nasa-gov/ephemerides/lookup_object

Settings you can ask for

Ask Devin for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Groupast, com, pln, sat, sct, mb, or sb

Limit to one group: ast asteroids, com comets, pln planets, sat natural satellites, sct spacecraft, mb major bodies, sb small bodies.

Every API field of JPL Horizons ephemerides · Lookup object is on its tool page: open its card above.

What can you do with JPL Horizons object lookup in Devin?

Build a sky-position viewer, target catalog, or orbital simulation comparison using JPL Horizons data. A coding agent can turn object identities, physical summaries, and calculated motion into project files and charts.

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.

Prepare an observing run

Resolve a comet's identity and read its available physical and solution notes. Calculate sky coordinates, brightness, distance, and elevation from the observatory throughout the planned session.

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.

Clean an astronomy target catalog

Match labels such as 2004 MN4 to their recognized object names and identifiers. Attach the corresponding object summaries so similarly named spacecraft, asteroids, and comets are easier to distinguish.

Questions about JPL Horizons object lookup in Devin

Can Devin use JPL Horizons object lookup?

Yes. Add Spiral to Devin as an MCP server, and Devin can find and run JPL Horizons object lookup like any built-in tool.

How much does JPL Horizons object lookup cost in Devin?

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

Do I need an Alexandria account to use JPL Horizons object lookup in Devin?

No. Spiral runs JPL Horizons object lookup 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 object lookup in Devin?

About two minutes: add a custom MCP, then sign in to Spiral and approve, then check it.

Does Devin wait while JPL Horizons object lookup runs?

JPL Horizons object lookup runs in the background. Devin 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.

Get started

Start using JPL Horizons object lookup in Devin

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Devin:

Set up Devin

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