[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Earth Search Sentinel-2 imagery availability](https://spiral.ai/integrations/opencode/earth-search-sentinel-2-imagery-availability)

# How to Use Earth Search Sentinel-2 imagery availability in opencode

Summarizes Sentinel-2 scene availability by month, cloud-cover bucket, and satellite. Use it to check archive density before choosing dates for an imagery comparison.

|  |  |
| --- | --- |
| Model | Earth Search Sentinel-2 imagery availability |
| Available through | Alexandria |
| Category | Listings |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Earth Search Sentinel-2 imagery availability in opencode

- Use Earth Search Sentinel-2 imagery availability for Golden Gate Park, within longitude -122.49 to -122.48 and latitude 37.765 to 37.775, from January through December 2025. Add a monthly archive coverage table to this project.
- Use Earth Search Sentinel-2 imagery availability to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Earth Search Sentinel-2 imagery availability and tell me what changed since last week.
- Check Earth Search Sentinel-2 imagery availability and summarize what you find in three bullet points.
- Pull the newest data from Earth Search Sentinel-2 imagery availability and give me the result as a table.

## How to set up Earth Search Sentinel-2 imagery availability 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.

```bash
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.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
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.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Earth Search Sentinel-2 imagery availability**: 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": "earth-search-aws-element84-com/satellite-imagery/scene_availability",
    "input": {
      "geometry": {}
    }
  }'
```

Then paste one of the prompts above: opencode finds Earth Search Sentinel-2 imagery availability on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/opencode

## Earth Search Sentinel-2 imagery availability tools and prices

- [Element 84 Earth Search (Sentinel-2 L2A) · Scene availability](https://spiral.ai/tools/alexandria/earth-search-aws-element84-com/satellite-imagery/scene_availability) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| end |  | — | Window end, YYYY-MM-DD (UTC), inclusive. Defaults to today. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
| start |  | — | Window start, YYYY-MM-DD (UTC). Earth Search holds Sentinel-2 L2A from 2015-06-27. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
| collection | auto, sentinel-2-c1-l2a, sentinel-2-l2a | — | `sentinel-2-c1-l2a` (Collection 1, default), `sentinel-2-l2a` (legacy archive, denser before 2023) or `auto` (c1, falling back to the legacy collection when c1 matches nothing). |

## What can you do with Earth Search Sentinel-2 imagery availability in opencode?

Build a map that connects dated Sentinel-2 imagery with vegetation comparisons for a public land boundary. A coding agent can add archive coverage and raster metadata to the project so users can inspect the evidence behind each comparison.

### Plan crop scouting

Check acquisition availability, choose suitable scenes, inspect their band metadata, and compare vegetation indices with image clips to decide where field inspection would help.

### Review restoration progress

Compare vegetation indices and dated images for a restoration boundary. Check archive density and source resolutions before selecting acquisitions for a progress report.

### Compare park vegetation across seasons

Find acquisitions from comparable seasonal windows, check their processing metadata, and pair vegetation calculations with clips. Use availability summaries to identify periods with too little imagery for a useful comparison.

### Document vegetation after a wildfire

Select acquisitions before and after a fire, verify source bands and resolutions, and present vegetation indices beside dated clips. Check imagery availability before committing to a reporting interval.

### Prepare a land condition report

Support a public or commercial land assessment with dated imagery and vegetation comparisons. Include the acquisition coverage and raster metadata so a reviewer can examine the underlying evidence.

### Build a satellite imagery lesson

Use a public park to demonstrate archive gaps, scene selection, band resolution, vegetation calculations, and image interpretation. Let students compare a numerical vegetation signal with the corresponding image.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## Earth Search Sentinel-2 imagery availability in other agents

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

## More opencode guides

- [Earth Search Sentinel-2 image clip](https://spiral.ai/integrations/opencode/earth-search-sentinel-2-image-clip)
- [Earth Search Sentinel-2 scene details](https://spiral.ai/integrations/opencode/earth-search-sentinel-2-scene-details)
- [DataSF record count](https://spiral.ai/integrations/opencode/datasf-record-count)
- [Earth Search Sentinel-2 scene search](https://spiral.ai/integrations/opencode/earth-search-sentinel-2-scene-search)
- [DataSF dataset search](https://spiral.ai/integrations/opencode/datasf-dataset-search)
- [Earth Search Sentinel-2 vegetation indices](https://spiral.ai/integrations/opencode/earth-search-sentinel-2-vegetation-indices)

## Questions about Earth Search Sentinel-2 imagery availability in opencode

**Can opencode use Earth Search Sentinel-2 imagery availability?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Earth Search Sentinel-2 imagery availability like any built-in tool.

**How much does Earth Search Sentinel-2 imagery availability 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 Earth Search Sentinel-2 imagery availability in opencode?**

No. Spiral runs Earth Search Sentinel-2 imagery availability on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Earth Search Sentinel-2 imagery availability in opencode?**

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

**Does opencode wait while Earth Search Sentinel-2 imagery availability runs?**

Earth Search Sentinel-2 imagery availability runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Where does Sentinel-2 provide systematic land coverage?**

Systematic continental land coverage, including inland waters, extends from 56 degrees south to 82.8 degrees north. Archive completeness at a particular location still depends on the catalog.

**How often can a location have new imagery?**

The nominal mission is designed for a five-day revisit at the equator. The AWS registry describes additions usually arriving within a few hours of upstream availability, rather than promising delivery within a fixed time after acquisition.

**How much detail can Sentinel-2 resolve?**

Level-2A bands and associated image products have resolutions of 10, 20, or 60 meters. These are atmospherically corrected surface reflectance products.

**Does the catalog cloud percentage describe my selected area?**

The STAC cloud-cover percentage describes the entire scene. A low scene percentage does not establish that a smaller park, field, or restoration site is clear.

**Does an empty search prove there was no imagery?**

No. Element 84 documents missing catalog items, so an empty result cannot prove that no acquisition occurred. Collection 1 also has a processing boundary: its COGs use baseline 5.0 or later.

