QuakeIndex for AI assistants
QuakeIndex runs a public Model Context Protocol server, so an AI assistant can answer earthquake questions from the same data as this site: USGS's, with its age and its source attached to every answer. Free, read-only, no key and no sign-up.
The endpoint
https://quakeindex.com/mcp Streamable HTTP transport, stateless, no authentication. Point any MCP client that supports remote servers at that address.
Connect it
Claude
- In Claude (web or desktop): Settings → Connectors → Add custom connector.
- Name it
QuakeIndex, paste the endpoint above as the URL, and add it. There is no sign-in step. - In a chat, enable QuakeIndex from the tools menu and ask, for example, "was that an earthquake in Oakland just now?"
In Claude Code:
claude mcp add --transport http quakeindex https://quakeindex.com/mcp ChatGPT
- Settings → Apps & Connectors → Advanced settings, and turn on Developer mode.
- Back in Apps & Connectors, choose Create. Name it
QuakeIndex, paste the endpoint as the MCP server URL, and set authentication to No authentication. - Pick QuakeIndex from the tools in a new chat.
Menu names in both assistants change often; the endpoint does not.
Cursor
Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in a project):
{
"mcpServers": {
"quakeindex": {
"url": "https://quakeindex.com/mcp"
}
}
} The tools
| Tool | Answers |
|---|---|
latest_earthquakes | The most recent earthquakes, by minimum magnitude and hours back, optionally US only. |
earthquakes_near | Earthquakes within a radius of coordinates, a ZIP code, or a town and state, with distances. |
earthquake_details | One event by USGS id, including every revision we observed ("magnitude revised from 4.1 to 3.9"). |
place_activity | The QuakeIndex score for a state or county, its label, and the normal range for a week. |
was_that_an_earthquake | yes, not_yet_reported or no for shaking felt a few minutes ago — the same three answers, and the same rule for what could be felt at that location, as /felt/. Smaller quakes recorded nearby are listed as too small to feel. |
largest_on_record | The largest earthquakes in our copy of the USGS catalogue for a state, county, town or ZIP code. |
Questions to try
| Ask | The assistant calls |
|---|---|
| "I just felt shaking in San Francisco, 94103, about five minutes ago. Was that an earthquake?" | was_that_an_earthquake with zip: "94103", minutes_ago: 5 |
| "Have there been any earthquakes near Ridgecrest, CA in the last month?" | earthquakes_near with city: "Ridgecrest", state: "CA", days: 30 |
| "Is earthquake activity in Nevada normal this week?" | place_activity with state: "NV" |
| "What are the largest earthquakes on record in Kern County, California?" | largest_on_record with place: "Kern County, CA" |
| "Any earthquakes of magnitude 4 or more in the US today? Tell me more about the biggest one." | latest_earthquakes with us_only: true, min_magnitude: 4, then earthquake_details with its id |
The rules every answer carries
- A source and an age. Every result names USGS, says when QuakeIndex last confirmed the feed, gives the newest event it holds, and says
stalewhen the feed has not been confirmed for five minutes. - Links. Every event links its QuakeIndex page and its USGS event page, which is the record of authority. Each result also names the QuakeIndex page that keeps its answer current, and QuakeIndex links carry tags saying which tool they came from.
- No predictions. The score describes activity already recorded, against the place's own history. Method →
- No warnings. QuakeIndex is not an alerting service. For early warning use ShakeAlert and the MyShake app.
- "Not yet reported" is not "no". A small earthquake can take several minutes to reach the USGS catalogue, and the tool says so.
Limits
- Rate. 60 requests a minute per address, with bursts of 20. Hosted
assistants whose users all call from the assistant's own published addresses (Claude
calls from Anthropic's range,
160.79.104.0/21) get a shared budget of 1,200 a minute per address instead. Over the limit the server returns HTTP 429 with aRetry-Afterheader. - Size. At most 50 events per answer. Every list says how many events matched in total and whether it was cut short.
- Arguments. An argument outside its range, of the wrong kind, or not one the tool takes is refused with a message that names the allowed values. Nothing is silently changed.
- Coverage. Recent events are those in the USGS real-time feed that
QuakeIndex has ingested (about two years). "Largest on record" reads QuakeIndex's copy
of the USGS catalogue, whose span every answer states. Place lookups cover the United
States;
latest_earthquakescovers the world.
Troubleshooting
- The connector will not add. Use
https://quakeindex.com/mcpexactly, with no trailing slash:/mcp/(with the slash) is this page. Choose no authentication. - Opening the endpoint in a browser shows "method_not_allowed". That is expected: MCP clients talk to it with POST.
- "not_yet_reported". Nothing is in the USGS catalogue yet, and small earthquakes take minutes to arrive. Ask again in a few minutes; it is not a no.
- An answer says the data is stale. QuakeIndex has not confirmed the USGS feed for five minutes. The answer is about the past and says so; USGS's own map is the fallback.
- A place is not found. ZIP codes are the Census ZIP code areas; some PO-box-only ZIPs have none, so try the town and state instead.
Privacy
The server receives only what the assistant sends to run a lookup (the tool and its arguments, such as a ZIP code), never your conversation. Arguments are used to answer that request and are not stored. Details are in the privacy policy.
Try it without an assistant
curl -s https://quakeindex.com/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"was_that_an_earthquake","arguments":{"zip":"94103","minutes_ago":10}}}' Attribution
The earthquake data is USGS's and is public domain. For our computed figures — the score and the per-place statistics — please cite QuakeIndex and link the page. See the terms.
Support
Something wrong, or a question the tools should answer? Email team at voittovirta.com (contact page). QuakeIndex is published by Voitto Virta LLC.