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

Codex · Public Records

How to Use GDACS disaster alert search in Codex

Returns disaster events matching a country, time period, alert level, and hazard severity. Use it for focused questions, such as which strong earthquakes affected Japan last month.

Prompts to try with GDACS disaster alert search in Codex

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

Use GDACS disaster alert search to find earthquakes of magnitude 6 or greater affecting Japan during 2025, and render the returned events in our existing results view.

GDACS disaster alert searchCodex
Try asking
  • Use GDACS disaster alert search to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from GDACS disaster alert search and tell me what changed since last week.

  • Check GDACS disaster alert search and summarize what you find in three bullet points.

  • Pull the newest data from GDACS disaster alert search and give me the result as a table.

How to set up GDACS disaster alert search in Codex

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

Use Spiral's MCP server

  1. Add the hosted server
    codex mcp add spiral --url https://api.spiral.ai/mcp
  2. Sign in

    Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.

    codex mcp login spiral

Use the Spiral skill

  1. Send Codex 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 GDACS disaster alert search

    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": "gdacs-org/disaster-alerts/search",
        "input": {
          "page": 1
        }
      }'

Then paste one of the prompts above: Codex finds GDACS disaster alert search on Spiral, shows the price and runs it.

GDACS disaster alert search providers and prices

Spiral runs GDACS disaster alert search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaPublic Records
GDACS global multi-hazard alerts · Search
gdacs-org/disaster-alerts/search

Settings you can ask for

Ask Codex for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Pagea number from 1

Page number, 100 rows per page. Default 1.

Min severitya number from 0

GDACS severity filter in the hazard's own unit.

Every API field of GDACS global multi-hazard alerts · Search is on its tool page: open its card above.

What can you do with GDACS disaster alert search in Codex?

Build a disaster event dashboard that shows GDACS assessments and available footprints alongside public infrastructure. Your coding agent can populate a historical collection, apply revisions, and add event detail views to the project.

Maintain a disaster monitoring dashboard

Check catalogue status, collect a baseline archive, search the countries being monitored, inspect selected events, and apply subsequent changes to keep the dashboard current.

Build a reviewed annual disaster archive

Use annual status information to plan collection, gather the year's events, search for review samples, inspect their details, and incorporate later revisions before publishing the analysis.

Prepare recurring country briefings

Maintain a dated event collection, check source status, find relevant country alerts, examine the events behind the briefing, and update the draft when GDACS revises them.

Review exposure around public infrastructure

Build and refresh a disaster event collection, use catalogue status to check collection scope, search relevant countries, and inspect available event footprints alongside ports, airports, or other public infrastructure.

Investigate a cyclone's development

Find a cyclone during a defined period, then inspect its episodes and available footprints to describe how GDACS assessed the event as it developed.

Assemble disaster mapping examples

Search for earthquakes or cyclones in a selected country and retrieve available event geometry for maps that distinguish modeled impact areas from confirmed damage.

Questions about GDACS disaster alert search in Codex

Can Codex use GDACS disaster alert search?

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run GDACS disaster alert search like any built-in tool.

How much does GDACS disaster alert search cost in Codex?

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

Do I need an Alexandria account to use GDACS disaster alert search in Codex?

No. Spiral runs GDACS disaster alert search on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up GDACS disaster alert search in Codex?

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

Does Codex wait while GDACS disaster alert search runs?

GDACS disaster alert search runs in the background. Codex starts the run, checks on it and gives you the json when it's ready.

Does GDACS provide confirmed disaster damage totals?

GDACS calculates potential impact using hazard characteristics, population exposure, and vulnerability. Its terms require confirmation before notifications or automatic impact estimates are used for decisions.

How fresh is GDACS information?

GDACS describes its notifications as near-real-time, but explicitly gives no guarantee of completeness or timeliness. A recent retrieval does not establish that every relevant event or revision is already present.

What does an active event mean on the GDACS homepage?

The MHEWS homepage requires an update within the last four days, except for droughts, where the window is ten days. That label reflects recent monitoring activity rather than proof that a hazard has ended.

Can a GDACS search return more than 100 events?

The upstream search returns the first 100 results and supports pagination. A single result page should not be treated as the full historical collection.

Does GDACS cover tropical cyclones outside the Atlantic?

Yes. GDACS documents worldwide tropical cyclone coverage using NOAA and Joint Typhoon Warning Center bulletins.

Get started

Start using GDACS disaster alert search in Codex

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

Paste this into Codex:

Set up Codex

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