Spiral gives your agent every tool with one account. Browse the tools →

Gemini CLI · Listings

How to Use FEMA USA Structures building records in Gemini CLI

Returns pages of USA Structures records from FEMA's hosted ArcGIS view. Use it to assemble a building inventory or summarize recorded building uses across the returned counties.

Prompts to try with FEMA USA Structures building records in Gemini CLI

Copy an example into Gemini CLI, or ask in your own words.

Use FEMA USA Structures building records to collect education structures for Wake County, North Carolina, and add a county summary to this project's planning report.

FEMA USA Structures building recordsGemini CLI
Try asking
  • Use FEMA USA Structures building records to collect commercial structures for Harris County, Texas, and build an address-coverage table in this project.

  • Use FEMA USA Structures building records to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from FEMA USA Structures building records and tell me what changed since last week.

  • Check FEMA USA Structures building records and summarize what you find in three bullet points.

How to set up FEMA USA Structures building records 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:

    gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start gemini and run:

    /mcp auth spiral
  3. Check it

    In Gemini CLI, run /mcp. From your shell:

    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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run FEMA USA Structures building records

    One request; the result comes back by polling or a webhook.

    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": "gis-fema-hub-arcgis-com/building-footprints/records_list",
        "input": {
          "fips": "<fips>"
        }
      }'

Then paste one of the prompts above: Gemini CLI finds FEMA USA Structures building records on Spiral, shows the price and runs it.

FEMA USA Structures building records providers and prices

Spiral runs FEMA USA Structures building records through Alexandria. Open a card for today's price, with every fee included.

AlexandriaListings
FEMA / ORNL USA Structures · Records list
gis-fema-hub-arcgis-com/building-footprints/records_list

Settings you can ask for

Ask Gemini CLI for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Page size1 to 20002000

Rows per page; the view's maxRecordCount is 2000.

Every API field of FEMA / ORNL USA Structures · Records list is on its tool page: open its card above.

What can you do with FEMA USA Structures building records in Gemini CLI?

Build a public-facility inventory with a documented FEMA USA Structures publication behind it. A coding agent can turn returned building records or publication metadata into imports, review tables, and refresh checks in your project.

Public-building planning inventory

Check the state publication, collect government building records, and recheck selected structures before preparing a public-facility inventory. Keep the publication context alongside the resulting counts.

Education building review

Build a county summary of education structures, inspect selected building details, and check whether FEMA has published a newer state inventory before the next planning cycle.

Commercial building summary

Summarize commercial structure records for a local economic-development brief. Check the source publication first, then recheck buildings selected as examples so the brief reflects their recorded attributes.

Emergency planning baseline

Prepare a baseline of government, education, and commercial structures for comparison with a separately supplied hazard map. Check publication status and review selected building records before calculating exposure summaries.

Inventory refresh review

Watch state publication metadata for revisions, refresh the affected building inventory, and inspect selected records behind changed totals. Use the review to explain which source publication underlies each report.

Public-facility address coverage audit

Measure address coverage among government and education structure records. Recheck a sample of incomplete records and compare the findings after the next state publication.

Questions about FEMA USA Structures building records in Gemini CLI

Can Gemini CLI use FEMA USA Structures building records?

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run FEMA USA Structures building records like any built-in tool.

How much does FEMA USA Structures building records 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 FEMA USA Structures building records in Gemini CLI?

No. Spiral runs FEMA USA Structures building records on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up FEMA USA Structures building records in Gemini CLI?

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

Does Gemini CLI wait while FEMA USA Structures building records runs?

FEMA USA Structures building records runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.

Does USA Structures include every building?

Its stated coverage is buildings larger than 450 square feet across the United States and its territories. Small sheds and other structures below that threshold fall outside its stated scope.

How often does USA Structures change?

FEMA describes the inventory as updated annually. It should not be read as a daily record of construction or demolition.

What information accompanies the building inventory?

The current dataset description reports population attributes, building code, and county information across all states and territories. These attributes support area-level planning and exposure summaries.

How precisely do the building outlines match imagery?

The 2024 technical paper reports horizontal offsets of up to 5 meters in the source satellite imagery. It warns that the resulting outlines will not align with every target image.

Why do some buildings lack street addresses?

The technical paper says missing addresses often reflect gaps in available open address data. A building can therefore appear in the inventory without a street address.

Get started

Start using FEMA USA Structures building records in Gemini CLI

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Gemini CLI:

Set up Gemini CLI

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options