[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Wildfire Risk to Communities location risk](https://spiral.ai/integrations/opencode/wildfire-risk-to-communities-location-risk)

# How to Use Wildfire Risk to Communities location risk in opencode

Returns mapped wildfire risk layers and intersecting jurisdictions for a point or polygon. Use it to screen a project area's surrounding landscape, with the source's community-scale limits in mind.

|  |  |
| --- | --- |
| Model | Wildfire Risk to Communities location risk |
| Available through | Alexandria |
| Category | Maps & Reviews |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Wildfire Risk to Communities location risk in opencode

- Use Wildfire Risk to Communities location risk at longitude -105.2705, latitude 40.0150, and add the returned mapped risk values and jurisdictions to my map's inspection panel.
- Use Wildfire Risk to Communities location risk to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Wildfire Risk to Communities location risk and tell me what changed since last week.
- Check Wildfire Risk to Communities location risk and summarize what you find in three bullet points.
- Pull the newest data from Wildfire Risk to Communities location risk and give me the result as a table.

## How to set up Wildfire Risk to Communities location risk 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 Wildfire Risk to Communities location risk**: 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": "wildfirerisk-org/wildfire-risk/wildfire_risk_for_geometry",
    "input": {
      "geometry": {}
    }
  }'
```

Then paste one of the prompts above: opencode finds Wildfire Risk to Communities location risk on Spiral, shows the price and runs it.

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

## Wildfire Risk to Communities location risk tools and prices

- [USFS Wildfire Risk to Communities · Wildfire risk for geometry](https://spiral.ai/tools/alexandria/wildfirerisk-org/wildfire-risk/wildfire_risk_for_geometry) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| layers |  | — | Image service layers to read. Default: burn_probability, risk_to_potential_structures, conditional_risk_to_potential_structures, wildfire_hazard_potential, exposure_type. |
| include_boundaries |  | — | Also look up the intersecting county, community and tribal area polygons (three FeatureServer queries). Default true. |

## What can you do with Wildfire Risk to Communities location risk in opencode?

Build a planning report that connects named communities with modeled wildfire risk and geographic comparisons. A coding agent can turn those results into tables and map annotations in your project.

### Prioritize county outreach

Find the county, compare its communities, and prepare place summaries for outreach planning. Sample the mapped landscape around proposed meeting areas to give organizers local geographic context.

### Prepare a grant risk appendix

Locate the applicant community, collect its published risk summary, and compare it with nearby communities. Add mapped risk for the proposed project boundary as supporting landscape context.

### Compare proposed growth areas

Screen proposed development polygons, identify their jurisdictions, and collect community summaries. Compare those communities within their counties to explain the regional context for a land use workshop.

### Review landscapes around public facilities

Find the communities containing public facilities, sample the surrounding mapped risk, and compare community summaries and rankings. Use the results to organize follow-up local assessments.

### Prepare tribal planning context

Find the relevant tribal area, collect its published summary, and inspect mapped risk across a proposed planning boundary. Keep the named jurisdiction and the project polygon clear in the resulting brief.

## Overview

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

## Wildfire Risk to Communities location risk in other agents

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

## More opencode guides

- [Vrbo stay quote](https://spiral.ai/integrations/opencode/vrbo-stay-quote)
- [Wildfire Risk to Communities place rankings](https://spiral.ai/integrations/opencode/wildfire-risk-to-communities-place-rankings)
- [Vrbo rental search](https://spiral.ai/integrations/opencode/vrbo-rental-search)
- [Wildfire Risk to Communities place search](https://spiral.ai/integrations/opencode/wildfire-risk-to-communities-place-search)
- [Vrbo property details](https://spiral.ai/integrations/opencode/vrbo-property-details)
- [Wildfire Risk to Communities place summary](https://spiral.ai/integrations/opencode/wildfire-risk-to-communities-place-summary)

## Questions about Wildfire Risk to Communities location risk in opencode

**Can opencode use Wildfire Risk to Communities location risk?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Wildfire Risk to Communities location risk like any built-in tool.

**How much does Wildfire Risk to Communities location risk 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 Wildfire Risk to Communities location risk in opencode?**

No. Spiral runs Wildfire Risk to Communities location risk on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Wildfire Risk to Communities location risk in opencode?**

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

**Does opencode wait while Wildfire Risk to Communities location risk runs?**

Wildfire Risk to Communities location risk runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Which parts of the United States are covered?**

The national raster datasets cover the contiguous United States, Alaska, and Hawaii. Their published spatial resolution is 30 meters.

**How recent are the wildfire conditions behind the data?**

The 2024 burn probability rasters reflect landscape conditions at the end of 2020. A recent lookup therefore does not mean the underlying vegetation or modeled likelihood has been refreshed recently.

**Does Wildfire Likelihood show today's fire danger?**

It describes annual burn probability from modeling. It does not incorporate currently forecast weather or current fire danger conditions.

**Does a 30-meter pixel provide a home-level assessment?**

Burn probability was originally modeled at 270 meters and resampled to 30 meters. The finer grid does not supply an independently modeled assessment of an individual building.

**How do Risk to Homes and Wildfire Consequence differ?**

Risk to Homes includes wildfire likelihood as well as intensity and generalized damage to a home. Wildfire Consequence describes potential damage conditional on a fire occurring, without annual burn probability.

