[Integrations](https://spiral.ai/integrations) › [Gemini CLI](https://spiral.ai/integrations/gemini-cli) › [Launch Library upcoming launches](https://spiral.ai/integrations/gemini-cli/launch-library-upcoming-launches)

# How to Use Launch Library upcoming launches in Gemini CLI

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.

|  |  |
| --- | --- |
| Model | Launch Library upcoming launches |
| Available through | Alexandria |
| Category | News & Media |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Launch Library upcoming launches in Gemini CLI

- 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.
- 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 Gemini CLI

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

### Use Spiral's MCP server

1. **Add the server**: Or add it to `~/.gemini/settings.json` yourself:

```bash
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `gemini` and run:

```text
/mcp auth spiral
```

3. **Check it**: In Gemini CLI, run `/mcp`. From your shell:

```bash
gemini mcp list
```

### Use the Spiral skill

1. **Send Gemini CLI 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 Launch Library upcoming launches**: 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": "ll-thespacedevs-com/space-launches/upcoming_launches",
    "input": {
      "limit": 10
    }
  }'
```

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

Setup guide in the docs: https://spiral.ai/docs/quickstarts/gemini-cli

## Launch Library upcoming launches tools and prices

- [Launch Library 2 · Upcoming launches](https://spiral.ai/tools/alexandria/ll-thespacedevs-com/space-launches/upcoming_launches) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| limit | 1 to 25 | 10 | Launches per page. |
| rocket |  | — | Rocket name fragment, matched case-insensitively against the launcher's full name, such as Starship or Falcon 9. |
| search |  | — | Free text matched against launch, mission, provider and rocket names, such as 'Flight 15' or 'Starlink'. |
| status |  | — | Only launches in these statuses. |
| provider |  | — | Launch service provider, such as SpaceX, Rocket Lab, ULA, Blue Origin. Other names must match the API's exact provider name. |
| continuation |  | — | Cursor from a previous call's continuation. |

## What can you do with Launch Library upcoming launches in Gemini CLI?

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.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Gemini CLI guides](https://spiral.ai/integrations/gemini-cli)

## Launch Library upcoming launches in other agents

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

## More Gemini CLI guides

- [Launch Library people in space](https://spiral.ai/integrations/gemini-cli/launch-library-people-in-space)
- [Launch Library upcoming space events](https://spiral.ai/integrations/gemini-cli/launch-library-upcoming-space-events)
- [Launch Library past launches](https://spiral.ai/integrations/gemini-cli/launch-library-past-launches)
- [Library of Congress audio collections](https://spiral.ai/integrations/gemini-cli/library-of-congress-audio-collections)
- [Launch Library launch details](https://spiral.ai/integrations/gemini-cli/launch-library-launch-details)
- [Library of Congress recording details](https://spiral.ai/integrations/gemini-cli/library-of-congress-recording-details)

## Questions about Launch Library upcoming launches in Gemini CLI

**Can Gemini CLI use Launch Library upcoming launches?**

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

**How much does Launch Library upcoming launches cost in Gemini CLI?**

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

**Do I need an Alexandria account to use Launch Library upcoming launches in Gemini CLI?**

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 Gemini CLI?**

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

**Does Gemini CLI wait while Launch Library upcoming launches runs?**

Launch Library upcoming launches runs in the background. Gemini CLI 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.

