[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [NASA fireball events](https://spiral.ai/integrations/claude-code/nasa-fireball-events)

# How to Use NASA fireball events in Claude Code

Returns observed fireball times and energies, plus reported locations, altitudes, and entry velocity components. Use it to investigate atmospheric events or map reported bolides; the catalog covers selected detections and is not real time.

|  |  |
| --- | --- |
| Model | NASA fireball events |
| Available through | Alexandria |
| Category | Public Records |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with NASA fireball events in Claude Code

- Use NASA fireball events to retrieve February 2013 records and build a chart of their reported impact energies in this project.
- Use NASA fireball events to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from NASA fireball events and tell me what changed since last week.
- Check NASA fireball events and summarize what you find in three bullet points.
- Pull the newest data from NASA fireball events and give me the result as a table.

## How to set up NASA fireball events in Claude Code

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

### Use Spiral's MCP server

1. **Add the hosted server**: This adds Spiral to the current project. Add `--scope user` to use it in every project.

```bash
claude mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `claude`, type `/mcp`, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

### Use the Spiral skill

1. **Send Claude Code 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 NASA fireball events**: 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": "ssd-api-jpl-nasa-gov/small-bodies/fireballs",
    "input": {
      "sort": "-date"
    }
  }'
```

Then paste one of the prompts above: Claude Code finds NASA fireball events on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/claude-code

## NASA fireball events tools and prices

- [JPL Small-Body and CNEOS Data · Fireballs](https://spiral.ai/tools/alexandria/ssd-api-jpl-nasa-gov/small-bodies/fireballs) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| sort | date, -date, energy, -energy, impact-e, -impact-e, vel, -vel, alt, -alt | -date | Sort key; prefix - for descending. |
| limit | 1 to 200 | 20 | Events to return. |
| date_max |  | — | Latest event, YYYY-MM-DD or YYYY-MM-DDThh:mm:ss (UTC). |
| date_min |  | — | Earliest event, YYYY-MM-DD or YYYY-MM-DDThh:mm:ss (UTC). |
| require_altitude |  | — | Only events with a reported altitude. |
| require_location |  | — | Only events with a reported location. |

## What can you do with NASA fireball events in Claude Code?

Build an astronomy feature using JPL encounter records, asteroid and comet properties, or atmospheric event data. Keep encounter predictions, Sentry scenarios, and observed fireballs distinct in the project's data model.

### Prepare a planetarium news brief

Combine upcoming encounters, reported fireballs, Sentry summaries, individual risk scenarios, and asteroid or comet background tables into a weekly astronomy briefing.

### Check an astronomy article

Check flyby predictions, atmospheric event records, impact probabilities, and object properties against the corresponding JPL records before publication.

### Build a classroom evidence workbook

Give students separate exercises on predicted encounters, observed atmospheric events, possible impact scenarios, and differences among asteroid or comet populations.

### Map reported atmospheric events

Plot fireballs with reported coordinates and compare their estimated impact energies and altitudes.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Claude Code guides](https://spiral.ai/integrations/claude-code)

## NASA fireball events in other agents

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

## More Claude Code guides

- [NASA Sentry asteroid risk list](https://spiral.ai/integrations/claude-code/nasa-sentry-asteroid-risk-list)
- [NHTSA VIN decoder](https://spiral.ai/integrations/claude-code/nhtsa-vin-decoder)
- [NASA Sentry asteroid impact details](https://spiral.ai/integrations/claude-code/nasa-sentry-asteroid-impact-details)
- [NHTSA WMI decoder](https://spiral.ai/integrations/claude-code/nhtsa-wmi-decoder)
- [NASA FIRMS regional fire detections](https://spiral.ai/integrations/claude-code/nasa-firms-regional-fire-detections)
- [NHTSA batch VIN decoder](https://spiral.ai/integrations/claude-code/nhtsa-batch-vin-decoder)

## Questions about NASA fireball events in Claude Code

**Can Claude Code use NASA fireball events?**

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run NASA fireball events like any built-in tool.

**How much does NASA fireball events cost in Claude Code?**

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

**Do I need an Alexandria account to use NASA fireball events in Claude Code?**

No. Spiral runs NASA fireball events on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up NASA fireball events in Claude Code?**

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

**Does Claude Code wait while NASA fireball events runs?**

NASA fireball events runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.

**Which objects does JPL's Small-Body Database cover?**

It covers all known asteroids and comets within the solar system. Identification and orbital data are included, while physical properties are selected data rather than a complete set of measurements for every object.

**How quickly do JPL orbital records change?**

JPL typically computes new small-body orbits within an hour or two after new discoveries or astrometric observations become available. That timing applies to orbital processing, not to publication of fireball detections.

**How far back and forward do the Earth close-approach tables extend?**

The published tables exclude dates before 1900 and after 2200. They also exclude encounters whose uncertainty is too large, so that date range does not guarantee a complete encounter history for every asteroid.

**What does Sentry's cumulative impact probability mean?**

It adds the probabilities of all detected potential impacts for an asteroid. An individual scenario's probability and the object's cumulative probability describe different quantities.

**Can a search change while I retrieve multiple pages?**

Yes. JPL explicitly warns that the SBDB database can change between calls used to page through search results.

