count_earthquakes
Pack: usgs-earthquakes · Endpoint: https://gateway.pipeworx.io/usgs-earthquakes/mcp
Count earthquakes matching a filter without returning the events — fast for questions like “how many M5+ quakes in the last month near X”. Same filters as search_earthquakes (time, magnitude, circular area). Keyless.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
start_time | string | no | ISO date/time lower bound. Defaults to 30 days ago. |
end_time | string | no | ISO date/time upper bound. Defaults to now. |
min_magnitude | number | no | Minimum magnitude (e.g. 5 for M5+). |
max_magnitude | number | no | Maximum magnitude. |
latitude | number | no | Center latitude for a circular search. |
longitude | number | no | Center longitude for a circular search. |
max_radius_km | number | no | Search radius in km around latitude/longitude. |
Example call
curl -X POST https://gateway.pipeworx.io/usgs-earthquakes/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"count_earthquakes","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"usgs-earthquakes": {
"url": "https://gateway.pipeworx.io/usgs-earthquakes/mcp"
}
}
}
See Getting Started for client-specific install steps.