Earthquakes in Chile (USGS)
Latest, weekly or historical earthquakes in Chile with magnitude, depth, place, Chile time, PAGER alert and USGS tsunami flag.
get_chile_earthquakes
Use it over MCP
- Connect the server
https://mcp.betterllama.com/mcpin your client (setup per client). - Ask your agent, for example:
- «What was the latest earthquake in Chile?»
- «Magnitude 5+ earthquakes this month near Antofagasta»
- Or call the tool
get_chile_earthquakeswith these arguments:
{
"minMagnitude": 4.5,
"maxItems": 5
}This tool needs no key.
Beta: free and with no sign-up while we test the service.
Direct HTTP call (JSON-RPC)
Without an MCP client, POST to the same server:
curl -s https://mcp.betterllama.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": "get_chile_earthquakes", "arguments": {"minMagnitude": 4.5, "maxItems": 5}}}'import json, requests
# Call a Better Llama MCP tool over HTTP (JSON-RPC)
URL = "https://mcp.betterllama.com/mcp"
HEADERS = {"Accept": "application/json, text/event-stream"}
def call(tool, arguments):
body = {"jsonrpc": "2.0", "id": 1, "method": "tools/call",
"params": {"name": tool, "arguments": arguments}}
r = requests.post(URL, json=body, headers=HEADERS, timeout=120)
r.raise_for_status()
result = r.json()["result"]
data = json.loads(result["content"][0]["text"])
if result.get("isError"):
raise RuntimeError(data["error"])
return data
data = call("get_chile_earthquakes", {"minMagnitude": 4.5, "maxItems": 5})
for row in data["results"]:
print(row)
print(data["attribution"])The answer text is JSON with results, count, warnings, attribution and source.
Example response
Real results returned by the source (2026-11-12), shortened:
{
"results": [
{
"kind": "sismo",
"id": "us7000txni",
"timeUtc": "2026-11-11T20:45:04.390Z",
"timeChile": "2026-11-11T17:45:04-03:00",
"magnitude": 4.5,
"magnitudeType": "mb",
"place": "41 km SSE of Camiña, Chile",
"latitude": -19.6783,
"longitude": -69.3312,
"depthKm": 112.957,
"inChile": true,
"tsunamiFlag": false,
"feltReports": 1,
"eventType": "earthquake",
"url": "https://earthquake.usgs.gov/earthquakes/eventpage/us7000txni",
"source": "USGS",
"attribution": "Fuente: U.S. Geological Survey (USGS) Earthquake Hazards Program, ComCat — dominio público."
},
{
"kind": "sismo",
"id": "us7000txmq",
"timeUtc": "2026-11-11T19:21:17.374Z",
"timeChile": "2026-11-11T16:21:17-03:00",
"magnitude": 5,
"magnitudeType": "mb",
"place": "48 km NW of Ancud, Chile",
"latitude": -41.5234,
"longitude": -74.1759,
"depthKm": 34.893,
"inChile": true,
"tsunamiFlag": false,
"feltReports": 4,
"eventType": "earthquake",
"url": "https://earthquake.usgs.gov/earthquakes/eventpage/us7000txmq",
"source": "USGS",
"attribution": "Fuente: U.S. Geological Survey (USGS) Earthquake Hazards Program, ComCat — dominio público."
}
],
"attribution": "Fuente: U.S. Geological Survey (USGS), Earthquake Hazards Program — dominio público."
}Parameters
| Argument | Description | Type |
|---|---|---|
fromDate | From (YYYY-MM-DD, Chile time) — Empty = 7 days before 'To'. Maximum range 10 years. | string |
toDate | To (YYYY-MM-DD, Chile time) — Empty = today. | string |
minMagnitude | Minimum magnitude — Default 2.5. Max: 10 | number |
maxMagnitude | Maximum magnitude — Optional. Max: 10 | number |
region | Area — Geographic search box. Values: chile, chile_islas, radio; Default: "chile" | string |
onlyChile | Only earthquakes located in Chile — Discards events whose USGS place is a neighboring country. On by default except for 'radio'. | boolean |
latitude | Latitude (radius) — E.g. -33.45 (Santiago). Max: 90 | number |
longitude | Longitude (radius) — E.g. -70.66. Max: 180 | number |
radiusKm | Radius (km) — Default 100 km. Max: 2000 | integer |
maxDepthKm | Maximum depth (km) — Optional. Max: 1000 | integer |
minAlertLevel | Minimum PAGER alert — Only events with a USGS PAGER impact alert equal or higher. Values: green, yellow, orange, red | string |
tsunamiOnly | Only with tsunami flag — Informational USGS flag; it is NOT an official SHOA/SENAPRED alert. Default: false | boolean |
feltOnly | Only felt earthquakes ('Did You Feel It?' reports) — Events with at least one felt report. Default: false | boolean |
orderBy | Order — Order of the results. Values: time, time-asc, magnitude; Default: "time" | string |
maxItems | Maximum number of results to return (1-500). Default 20. Default: 20; Max: 500 | integer |
Source and attribution
Fuente: U.S. Geological Survey (USGS), Earthquake Hazards Program — dominio público. Source site: earthquake.usgs.gov/fdsnws/event/1.
FAQ
Where does the earthquake data come from?
From the U.S. Geological Survey (USGS) ComCat catalog, in the public domain. It does not use sismologia.cl data, and USGS magnitudes and locations may differ from Chile's Centro Sismológico Nacional. No API key needed.
Is it a tsunami warning system?
No. It is a data tool, not an official early-warning or tsunami system: tsunamiFlag is the USGS informational flag. In an emergency, follow SENAPRED and SHOA.
Which filters can I use?
Dates in Chile time (last 7 days by default, up to a 10-year range), minimum and maximum magnitude (2.5 minimum by default), mainland Chile, Chile with islands or a radius around a point, maximum depth, PAGER alert level, tsunami-only, felt-only and ordering by time or magnitude.
How much does it cost?
Free during the beta, with no sign-up and a limit of 60 requests per minute per IP. If paid plans come later, we will announce them on betterllama.com first.