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

Grok · Public Records

How to Use USGS earthquake details in Grok

Get one earthquake's magnitude, location, depth, and available ShakeMap, PAGER, and felt-report summaries. Use a known event ID to examine shaking and estimated impacts or check how the record has changed.

Prompts to try with USGS earthquake details in Grok

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

Use USGS earthquake details for us7000dflf and explain its magnitude, depth, and available shaking and PAGER summaries in plain English.

USGS earthquake detailsGrok
Try asking
  • Use USGS earthquake details for us1000g3ub and summarize the available felt-report count, shaking intensity, and estimated impacts in a table.

  • Use USGS earthquake details to look this up and give me the result as a table.

  • Pull the latest numbers from USGS earthquake details and tell me what changed since last week.

  • Check USGS earthquake details and summarize what you find in three bullet points.

How to set up USGS earthquake details in Grok

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

Use the Grok connector

  1. Add a custom connector

    In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

    https://api.spiral.ai/mcp
  2. Sign in to Spiral and approve

    Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

  3. Check that it is connected

    Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

Use the Spiral skill

  1. Send Grok 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 USGS earthquake details

    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": "earthquake-usgs-gov/earthquakes/event",
        "input": {
          "id": "<id>"
        }
      }'

Then paste one of the prompts above: Grok finds USGS earthquake details on Spiral, shows the price and runs it.

USGS earthquake details providers and prices

Spiral runs USGS earthquake details through Alexandria. Open a card for today's price, with every fee included.

AlexandriaPublic Records
USGS Earthquake Catalog (ComCat) · Event
earthquake-usgs-gov/earthquakes/event

What can you do with USGS earthquake details in Grok?

Turn earthquake records into a brief that explains where an event occurred and what its reported measurements mean. Use the available shaking, felt-report, and loss summaries to explain impacts without confusing public observations with estimates.

Earthquake news briefs

Find events around a reported earthquake, then inspect the selected event's magnitude, depth, shaking, and available impact estimates to draft a sourced newsroom brief.

Regional earthquake timelines

Build a dated sequence for a region such as Southern California and add available shaking and felt-report summaries for selected events.

Business incident context

Prepare an earthquake briefing near a public facility such as the Port of Los Angeles, using catalog locations and available impact summaries to support further investigation.

Earth science lessons

Compare magnitude, depth, ShakeMap intensity, and public felt reports across selected earthquakes to explain the different measurements.

Catalog revision reports

Compare repeated retrievals for a regional event list or a known earthquake and report changes to magnitude, depth, location, and available impact summaries.

Historical event comparisons

Find earthquakes within defined historical windows and assemble comparable event summaries, keeping differences in catalog coverage visible.

Questions about USGS earthquake details in Grok

Can Grok use USGS earthquake details?

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run USGS earthquake details like any built-in tool.

How much does USGS earthquake details cost in Grok?

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

Do I need an Alexandria account to use USGS earthquake details in Grok?

No. Spiral runs USGS earthquake details on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up USGS earthquake details in Grok?

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

Does Grok wait while USGS earthquake details runs?

USGS earthquake details runs in the background. Grok starts the run, checks on it and gives you the json when it's ready.

Does USGS cover earthquakes outside the United States?

Yes. ComCat receives earthquake parameters and related products from seismic networks worldwide. Geographic coverage and periods of record vary by contributing catalog.

How fresh is an individual earthquake record?

USGS says event pages and GeoJSON detail are cached for one minute during the first seven days after an event, then for 15 minutes. Those are cache intervals, not a promise that new observations arrive on that schedule.

Why do so many records show a depth of exactly 10 km?

USGS sometimes assigns a depth of 10 km when the available observations cannot support a reliable depth calculation. That value can be a fixed estimate rather than a precisely measured depth.

Are PAGER fatalities and losses confirmed totals?

No. PAGER provides estimated fatalities and economic losses following significant earthquakes worldwide. Describe these as modeled impacts when preparing an earthquake brief.

Is there a limit on large historical searches?

The underlying USGS catalog service caps a query at 20,000 events and rejects queries exceeding that limit. Divide broad historical work into smaller time windows.

Get started

Start using USGS earthquake details in Grok

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

Paste this into Grok:

Set up Grok

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