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

opencode · Public Records

How to Use CelesTrak satellite orbit search in opencode

Finds available GP orbital elements by satellite name or launch designator. Use it to discover catalog numbers and retrieve orbit data for matching satellites, rocket bodies, or debris.

Prompts to try with CelesTrak satellite orbit search in opencode

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

Use CelesTrak satellite orbit search for COSMOS 2251 DEB and add returned objects to this project's SGP4 ground track view.

CelesTrak satellite orbit searchopencode
Try asking
  • Use CelesTrak satellite orbit search to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from CelesTrak satellite orbit search and tell me what changed since last week.

  • Check CelesTrak satellite orbit search and summarize what you find in three bullet points.

  • Pull the newest data from CelesTrak satellite orbit search and give me the result as a table.

How to set up CelesTrak satellite orbit search in opencode

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

Use Spiral's MCP server

  1. Add the server

    Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

    opencode mcp add spiral --global --url https://api.spiral.ai/mcp
  2. Sign in

    Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode 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 CelesTrak satellite orbit search

    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": "celestrak-org/satellites/gp_search",
        "input": {
          "name": "<name>"
        }
      }'

Then paste one of the prompts above: opencode finds CelesTrak satellite orbit search on Spiral, shows the price and runs it.

CelesTrak satellite orbit search providers and prices

Spiral runs CelesTrak satellite orbit search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaPublic Records

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Limit1 to 500100

Most element sets to return (default 100).

Every API field of CelesTrak GP orbital elements and SATCAT · Gp search is on its tool page: open its card above.

What can you do with CelesTrak satellite orbit search in opencode?

Build a satellite view that combines SGP4 ground tracks with cataloged launch and ownership details. Use category and name results to populate the view, then inspect individual objects by catalog number.

Space station reference dashboard

Build a station view from category or name results, then retrieve individual orbit and catalog records. Present calculated ground tracks alongside recorded launch and ownership details.

GPS constellation research

Compare operational GPS orbit elements, find named spacecraft, and inspect individual catalog records. Use the results to explain the constellation's orbital structure and launch history.

Recent launch research brief

Start with recent-launch orbit data, find objects associated with a launch, and inspect selected objects by catalog number. Combine available elements with SATCAT launch and object-type records.

Named debris population study

Research COSMOS 2251 debris using category results, name searches, and individual object lookups. Compare available orbital elements with cataloged object identities and decay records.

Ground track application

Feed elements for a known satellite, a name search, or a selected category into SGP4 to calculate ground tracks for a requested time.

Orbit parser verification

Exercise an orbit application's parser with a single object, multiple name matches, and category results. Check element units and preserve the epoch used for propagation.

Questions about CelesTrak satellite orbit search in opencode

Can opencode use CelesTrak satellite orbit search?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run CelesTrak satellite orbit search like any built-in tool.

How much does CelesTrak satellite orbit search cost in opencode?

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

Do I need an Alexandria account to use CelesTrak satellite orbit search in opencode?

No. Spiral runs CelesTrak satellite orbit search on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up CelesTrak satellite orbit search in opencode?

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

Does opencode wait while CelesTrak satellite orbit search runs?

CelesTrak satellite orbit search runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

Where does CelesTrak's orbit data come from?

Its GP elements are fitted from US Space Surveillance Network observations using SGP4. CelesTrak documents ingesting those elements through Space Track and 18 SPCS.

How often does CelesTrak update its data?

CelesTrak checks GP updates every two hours. SATCAT is updated manually once or twice a day, so catalog changes and orbit updates follow different schedules.

Does SATCAT contain entries for unassigned catalog numbers?

No. SATCAT entries exist only for cataloged objects; missing catalog numbers do not receive blank records.

Does orbit data include a satellite's current coordinates?

GP data supplies mean elements intended for SGP4. A position or ground track must be calculated by propagating those elements to the requested time.

Can I find an object without its exact name?

Yes. Both CelesTrak's GP search and SATCAT search support portions of satellite names, so a distinctive name fragment can identify matching objects.

Get started

Start using CelesTrak satellite orbit search in opencode

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

Paste this into opencode:

Set up opencode

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