Earthquakes and weather alerts near a location (USGS, NWS)
hazard_alertsFor a latitude and longitude, lists recent earthquakes nearby from the USGS (magnitude, place, time, depth, tsunami flag) and, for US locations, active National Weather Service alerts (event, severity, urgency, area, timing, instructions). Defaults: 250 km radius, last 7 days, magnitude 2.5+. For emergencies follow local officials; this is a summary of official feeds.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"latitude": "<latitude>",
"longitude": "<longitude>"
},
"name": "hazard_alerts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Earthquake lookback, 1–30 days (default 7). | |
| latitude | Yes | Decimal degrees, e.g. 34.05. | |
| longitude | Yes | Decimal degrees, e.g. -118.25. | |
| radius_km | No | Earthquake search radius, 10–1000 (default 250). | |
| min_magnitude | No | Minimum magnitude, 0–9 (default 2.5). |