[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [NASA FIRMS local fire detections](https://spiral.ai/integrations/claude-code/nasa-firms-local-fire-detections)

# How to Use NASA FIRMS local fire detections in Claude Code

Returns satellite fire and hotspot detections for a selected area and time range. Use it to examine recent activity around a park, city, or public facility without collecting a whole regional file.

|  |  |
| --- | --- |
| Model | NASA FIRMS local fire detections |
| 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 FIRMS local fire detections in Claude Code

- Use NASA FIRMS local fire detections to retrieve recent observations around Yosemite National Park and add a point layer to this project's map, with acquisition time and confidence in each popup.
- Use NASA FIRMS local fire detections to retrieve recent observations around Yellowstone National Park and add a table sorted by acquisition time, retaining satellite and confidence.
- Use NASA FIRMS local fire detections to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from NASA FIRMS local fire detections and tell me what changed since last week.
- Check NASA FIRMS local fire detections and summarize what you find in three bullet points.

## How to set up NASA FIRMS local fire detections 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 FIRMS local fire detections**: 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": "firms-modaps-eosdis-nasa-gov/wildfire-detections/fires_area",
    "input": {
      "area": "<area>",
      "source": "VIIRS_SNPP_NRT"
    }
  }'
```

Then paste one of the prompts above: Claude Code finds NASA FIRMS local fire detections on Spiral, shows the price and runs it.

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

## NASA FIRMS local fire detections tools and prices

- [NASA FIRMS active fire detections · Fires area](https://spiral.ai/tools/alexandria/firms-modaps-eosdis-nasa-gov/wildfire-detections/fires_area) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| date |  | — | Last day of the range, UTC. Keyed mode passes it to the API; keyless mode only accepts dates covered by the 7-day files. Pattern: ^\d{4}-\d{2}-\d{2}$. |
| limit | 1 to 50000 | 5000 | Maximum records returned; `truncated` says when more matched. |
| map_key |  | — | FIRMS MAP_KEY (32 lowercase hex characters, free by email at /api/map_key/). Omit to use the keyless files. Pattern: ^[0-9a-f]{32}$. |
| day_range | 1 to 5 | 1 | Days of data ending at `date` (or now). Each day counts as one transaction against the key's 5000 per 10 minutes. |

## What can you do with NASA FIRMS local fire detections in Claude Code?

Build a map of recent satellite hotspots with acquisition times, sensor labels, and confidence. A coding agent can connect FIRMS observations and file checks to the project's map and data-refresh code.

### Prepare a park activity brief

Check whether the regional file changed, collect recent detections around Yosemite National Park, and summarize observation times and confidence for an analyst.

### Refresh a regional hotspot map

Check Canada's fire files for changes, download regional detections, and inspect selected areas around Jasper. Show satellite observations as points rather than drawing inferred fire boundaries.

### Build a newsroom research brief

Check for revised source files, collect regional observations, and examine the reported location of a public fire event. Separate satellite detection times from claims about when the incident began.

### Compare sensor observations

Check the available MODIS and VIIRS files, compare regional detections, and inspect a shared area around Yellowstone. Keep each sensor's pixel size and observation time visible.

### Maintain a recent observation dataset

Check regional file changes before refreshing a stored dataset. Collect all regional pages and use local queries to examine selected public parks or research areas.

### Teach satellite sampling limits

Use recent detections near Jasper and the wider Canadian region to demonstrate observation gaps and different pixel sizes. Include a file-status check to distinguish source revisions from changes in the observations being compared.

## Overview

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

## NASA FIRMS local fire detections in other agents

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

## More Claude Code guides

- [NASA FIRMS fire file status](https://spiral.ai/integrations/claude-code/nasa-firms-fire-file-status)
- [NASA FIRMS regional fire detections](https://spiral.ai/integrations/claude-code/nasa-firms-regional-fire-detections)
- [NASA Exoplanet Archive planetary system](https://spiral.ai/integrations/claude-code/nasa-exoplanet-archive-planetary-system)
- [NASA Sentry asteroid impact details](https://spiral.ai/integrations/claude-code/nasa-sentry-asteroid-impact-details)
- [NASA Exoplanet Archive planet search](https://spiral.ai/integrations/claude-code/nasa-exoplanet-archive-planet-search)
- [NASA Sentry asteroid risk list](https://spiral.ai/integrations/claude-code/nasa-sentry-asteroid-risk-list)

## Questions about NASA FIRMS local fire detections in Claude Code

**Can Claude Code use NASA FIRMS local fire detections?**

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run NASA FIRMS local fire detections like any built-in tool.

**How much does NASA FIRMS local fire detections 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 FIRMS local fire detections in Claude Code?**

No. Spiral runs NASA FIRMS local fire detections 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 FIRMS local fire detections in Claude Code?**

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

**Does Claude Code wait while NASA FIRMS local fire detections runs?**

NASA FIRMS local fire detections runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.

**How quickly does FIRMS publish satellite observations?**

NASA says global near real-time active fire data are available within three hours of satellite observation. That interval starts at observation, so it does not describe the time since a fire began.

**How precise are FIRMS detection locations?**

MODIS detections represent approximately 1 km pixels, while VIIRS detections represent approximately 375 m pixels. A detection does not mean the entire pixel is burning.

**Does an empty result mean there was no fire?**

No. NASA documents missed detections when a fire starts and ends between satellite overpasses; heavy cloud or smoke can also hide activity.

**Can FIRMS detections be counted as separate wildfires?**

No. FIRMS reports thermal anomalies at the pixel level, and NASA identifies hot smoke, agriculture, and other sources among their possible causes. These records do not provide a count of confirmed wildfire incidents.

**Where does NASA provide older fire data?**

NASA directs requests for detections older than seven days to its separate archive download. That archive is distinct from the recent regional files.

