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

opencode · News & Media

How to Use Launch Library upcoming launches in opencode

Returns scheduled rocket flights with mission, rocket, launch window, pad, and status information. Use it to find the next flights and identify launches worth investigating further.

Prompts to try with Launch Library upcoming launches in opencode

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

Use Launch Library upcoming launches to fetch the next five Rocket Lab flights and populate my project's mission table with rocket, mission, scheduled time, and status.

Launch Library upcoming launchesopencode
Try asking
  • Use Launch Library upcoming launches to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Launch Library upcoming launches and tell me what changed since last week.

  • Check Launch Library upcoming launches and summarize what you find in three bullet points.

  • Pull the newest data from Launch Library upcoming launches and give me the result as a table.

How to set up Launch Library upcoming launches 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 Launch Library upcoming launches

    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": "ll-thespacedevs-com/space-launches/upcoming_launches",
        "input": {
          "limit": 10
        }
      }'

Then paste one of the prompts above: opencode finds Launch Library upcoming launches on Spiral, shows the price and runs it.

Launch Library upcoming launches providers and prices

Spiral runs Launch Library upcoming launches through Alexandria. Open a card for today's price, with every fee included.

AlexandriaNews & Media
Launch Library 2 · Upcoming launches
ll-thespacedevs-com/space-launches/upcoming_launches

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Limit1 to 2510

Launches per page.

Every API field of Launch Library 2 · Upcoming launches is on its tool page: open its card above.

What can you do with Launch Library upcoming launches in opencode?

Build a spaceflight page that combines launch schedules, mission records, public astronaut rosters, and station assignments. Use returned statuses and timing precision to keep tentative missions visibly tentative.

Prepare a daily spaceflight briefing

Combine scheduled launches and events, recent flight outcomes, current astronauts, and station assignments. Add launch details for the missions that deserve a closer explanation.

Populate a planetarium information board

Show the next launches and space events beside recent results and current station crews. Let visitors open mission details or see the broader roster of astronauts in space.

Build a classroom spaceflight worksheet

Ask students to compare a completed launch with a scheduled mission, explain an upcoming spacewalk, and distinguish the current astronaut roster from station expedition roles.

Check a spaceflight article before publication

Check launch schedules and outcomes, inspect the relevant mission record, and verify public astronaut and station assignments. Check separately scheduled activities before calling a docking or spacewalk a launch.

Plan launch watch parties

Find scheduled flights, inspect mission details and available video links, and compare launch windows before choosing which missions to feature.

Research a rocket's recent record

Review completed flights and recorded outcomes for Falcon 9 or Electron, then inspect individual missions and compare them with the next scheduled flights.

Compare launch schedule revisions

Compare saved launch windows and statuses with newly returned records, then inspect launch details to explain changes in a mission briefing.

Questions about Launch Library upcoming launches in opencode

Can opencode use Launch Library upcoming launches?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Launch Library upcoming launches like any built-in tool.

How much does Launch Library upcoming launches 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 Launch Library upcoming launches in opencode?

No. Spiral runs Launch Library upcoming launches on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Launch Library upcoming launches in opencode?

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

Does opencode wait while Launch Library upcoming launches runs?

Launch Library upcoming launches runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

Does Launch Library cover every rocket launch?

The Space Devs reports coverage of all orbital launches. Suborbital coverage is selective, so the database is not a complete record of every suborbital rocket flight.

How quickly does Launch Library change?

Updates normally happen several times a day as information becomes available. During launches and events, records can change multiple times within an hour.

How far back does the launch history go?

Orbital launch history extends to Sputnik 1 in 1957. The Space Devs says all orbital rocket launches since then are included.

Are scheduled launch dates always confirmed?

No. Launch Library explicitly defines To Be Determined dates as placeholders or rough estimates, so a timestamp alone does not establish a confirmed launch appointment.

Why can an upcoming list contain a completed launch or event?

Launch Library keeps launches and events in upcoming results for 24 hours. This lets applications collect final information, including launch outcomes.

Get started

Start using Launch Library upcoming launches 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