Usgs Earthquakes

v0.2.1
io.github.pipeworx-io/usgs-earthquakes Checked 2 days ago Published 27 days ago

USGS Earthquake Catalog MCP (FDSNWS event API).

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_earthquakes

Search the USGS earthquake catalog (FDSNWS event API) for real-time and historical seismic events. Filter by time window, magnitude, depth, and a circular geographic area. For "last N days/hours" questions pass `days`/`hours` rather than computing start_time yourself. Returns a compact list of quakes with magnitude, location, time, coordinates, depth, and significance, plus the exact start_time/end_time and magnitude filter actually queried. Keyless.

ParameterTypeDescription
daysnumberTrailing window length in days, measured back from the exact current time (e.g. days: 7 for "the last 7 days"). Use this instead of computing a start_time for relative-window questions — it is the o…
end_timestringISO date/time upper bound, e.g. "2026-06-09". A bare date is treated as 00:00:00 UTC that day. Defaults to now.
hoursnumberTrailing window length in hours, measured back from the exact current time (e.g. hours: 168 for "the past 168 hours"). Same precedence as `days` (ignored if start_time/end_time given); takes priority…
latitudenumberCenter latitude for a circular search (use with longitude + max_radius_km).
limitnumberMax events to return (default 20, max 100).
longitudenumberCenter longitude for a circular search (use with latitude + max_radius_km).
max_depth_kmnumberMaximum hypocenter depth in km.
max_magnitudenumberMaximum magnitude.
max_radius_kmnumberSearch radius in km around latitude/longitude.
min_depth_kmnumberMinimum hypocenter depth in km.
min_magnitudenumberMinimum magnitude (e.g. 5 for M5+).
order_bystringSort order: "time" (newest first, default), "magnitude" (largest first), "time-asc", or "magnitude-asc".
start_timestringISO date/time lower bound, e.g. "2026-06-01" or "2026-06-01T00:00:00". A bare date (no time) is treated as 00:00:00 UTC that day. If given, this (with end_time) takes precedence over `days`/`hours`, w…

get_earthquake

Get full detail for a single earthquake by its USGS event id (e.g. "us7000n7n8"). Returns magnitude, location, time, depth, felt reports, tsunami flag, PAGER alert level, status, contributing networks, and detail URLs. Keyless.

ParameterTypeDescription
event_id *stringUSGS event id, e.g. "us7000n7n8".

count_earthquakes

Count earthquakes matching a filter without returning the events — fast for questions like "how many M5+ quakes in the last 7 days near X". Same filters as search_earthquakes (time, magnitude, circular area); for "last N days/hours" questions pass `days`/`hours` rather than computing start_time yourself. The response echoes the exact start_time/end_time and magnitude filter actually queried, ahead of the count itself. Keyless.

ParameterTypeDescription
daysnumberTrailing window length in days, measured back from the exact current time (e.g. days: 7 for "the last 7 days"). Use this instead of computing a start_time for relative-window questions — it is the o…
end_timestringISO date/time upper bound, e.g. "2026-06-09". A bare date is treated as 00:00:00 UTC that day. Defaults to now.
hoursnumberTrailing window length in hours, measured back from the exact current time (e.g. hours: 168 for "the past 168 hours"). Same precedence as `days` (ignored if start_time/end_time given); takes priority…
latitudenumberCenter latitude for a circular search.
longitudenumberCenter longitude for a circular search.
max_magnitudenumberMaximum magnitude.
max_radius_kmnumberSearch radius in km around latitude/longitude.
min_magnitudenumberMinimum magnitude (e.g. 5 for M5+).
start_timestringISO date/time lower bound, e.g. "2026-06-01" or "2026-06-01T00:00:00". A bare date (no time) is treated as 00:00:00 UTC that day. If given, this (with end_time) takes precedence over `days`/`hours`, w…