Sismos en Chile (USGS)
Último sismo, sismos de la semana o históricos en Chile con magnitud, profundidad, lugar, hora de Chile, alerta PAGER y bandera de tsunami del USGS.
get_chile_earthquakes
Úsala por MCP
- Conecta el servidor
https://mcp.betterllama.com/mcpen tu cliente (configuración por cliente). - Pídele a tu agente, por ejemplo:
- «¿Cuál fue el último sismo en Chile?»
- «Sismos de magnitud 5 o más este mes cerca de Antofagasta»
- O llama la herramienta
get_chile_earthquakescon estos argumentos:
{
"minMagnitude": 4.5,
"maxItems": 5
}No necesitas ninguna clave para esta herramienta.
Beta: gratis y sin registro mientras probamos el servicio.
Llamada directa por HTTP (JSON-RPC)
Sin cliente MCP, envía un POST al mismo servidor:
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
# Llama una herramienta del servidor MCP de Better Llama por 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"])El texto de la respuesta es un JSON con results, count, warnings, attribution y source.
Ejemplo de respuesta
Resultados reales devueltos por la fuente (2026-11-12), abreviados:
{
"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."
}Parámetros
| Argumento | Descripción | Tipo |
|---|---|---|
fromDate | Desde (AAAA-MM-DD, hora de Chile) — Vacío = 7 días antes de 'Hasta'. Rango máximo 10 años. | string |
toDate | Hasta (AAAA-MM-DD, hora de Chile) — Vacío = hoy. | string |
minMagnitude | Magnitud mínima — Por defecto 2.5. Máximo: 10 | number |
maxMagnitude | Magnitud máxima — Opcional. Máximo: 10 | number |
region | Zona — Caja geográfica de búsqueda. Valores: chile, chile_islas, radio; Por defecto: "chile" | string |
onlyChile | Solo sismos ubicados en Chile — Descarta eventos cuyo lugar USGS está fuera de Chile. Por defecto activado salvo en 'radio'. / Drops events whose USGS place is outside Chile. On by default except for 'radio'. | boolean |
latitude | Latitud (radio) — Ej. -33.45 (Santiago). Máximo: 90 | number |
longitude | Longitud (radio) — Ej. -70.66. Máximo: 180 | number |
radiusKm | Radio (km) — Por defecto 100 km. Máximo: 2000 | integer |
maxDepthKm | Profundidad máxima (km) — Opcional. Máximo: 1000 | integer |
minAlertLevel | Alerta PAGER mínima — Solo eventos con alerta de impacto PAGER del USGS igual o superior. Valores: green, yellow, orange, red | string |
tsunamiOnly | Solo con bandera de tsunami — Bandera informativa del USGS; NO es una alerta oficial del SHOA/SENAPRED. Por defecto: false | boolean |
feltOnly | Solo sismos percibidos (reportes 'Did You Feel It?') — Eventos con al menos un reporte de percepción. Por defecto: false | boolean |
orderBy | Orden — Orden de los resultados. Valores: time, time-asc, magnitude; Por defecto: "time" | string |
maxItems | Máximo de resultados a devolver (1-500). Por defecto 20. Por defecto: 20; Máximo: 500 | integer |
Fuente y atribución
Fuente: U.S. Geological Survey (USGS), Earthquake Hazards Program — dominio público. Sitio de la fuente: earthquake.usgs.gov/fdsnws/event/1.
Preguntas frecuentes
¿De dónde salen los datos de sismos?
Del catálogo ComCat del U.S. Geological Survey (USGS), de dominio público. No usa datos de sismologia.cl, y las magnitudes y ubicaciones del USGS pueden diferir de las del Centro Sismológico Nacional. No requiere API key.
¿Es un sistema de alerta de tsunami?
No. Es una herramienta de datos, no un sistema de alerta temprana ni de tsunami oficial: tsunamiFlag es la bandera informativa del USGS. Ante una emergencia sigue a SENAPRED y al SHOA.
¿Qué filtros puedo usar?
Fechas en hora de Chile (por defecto los últimos 7 días, con un rango máximo de 10 años), magnitud mínima y máxima (mínima 2,5 por defecto), Chile continental, Chile con islas o un radio alrededor de un punto, profundidad máxima, nivel de alerta PAGER, solo tsunami, solo percibidos y orden por fecha o magnitud.
¿Cuánto cuesta?
Gratis durante la beta, sin registro, con un límite de 60 solicitudes por minuto por IP. Si más adelante hay planes pagados, los anunciaremos antes en betterllama.com.