get_earthquake
Pack: usgs-earthquakes · Endpoint: https://gateway.pipeworx.io/usgs-earthquakes/mcp
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.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
event_id | string | yes | USGS event id, e.g. “us7000n7n8”. |
Example call
Arguments
{
"event_id": "us7000n7n8"
}
curl
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":"get_earthquake","arguments":{"event_id":"us7000n7n8"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_earthquake', {
"event_id": "us7000n7n8"
});
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.