io.github.cyanheads/earthquake-mcp-server is an MCP server published by io.github.cyanheads, hosted at earthquake.caseyjhand.com. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 4 tools, including earthquake_get_feed, earthquake_search_events, earthquake_get_event, earthquake_count_events.
Search USGS and EMSC seismic data — real-time feeds, event queries, and earthquake counts.
428 connections through 5 shared values. Tap any node.
Fetch a USGS pre-computed real-time earthquake feed by magnitude tier and time window. These feeds are CDN-cached by USGS and faster and more available than the query API — use them for "what's happening now" queries. "all" includes microseisms (M<1); "significant" is a USGS curation based on magnitude, felt reports, and PAGER impact estimates. "hour" returns 0–10 events typically; "month" can exceed 10,000 for the "all" tier, so results are returned a page at a time: count is the page size, totalCount the whole feed, and nextCursor the input for the following page. Each page returns limit events (default 15, at most 1,000), fewer only on the last page. The cursor is opaque and must be passed back verbatim — unlike earthquake_search_events, these feeds retain the first-read generation for up to 15 minutes, subject to capacity eviction and restart. An expired cursor requires a fresh first read. For historical or filtered queries, use earthquake_search_events instead.
| Parameter | Type | Description |
|---|---|---|
| limit | number | Events to return per page. Default 15; a larger value returns at most 1,000 and says so. Applies to the first page; later pages carry the page size inside the cursor and ignore limit, so set it on the first call. |
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
| cursor | string | Opaque token for the next page, taken verbatim from a previous call's nextCursor. Omit for the first page. Do not construct, parse, or edit it — it encodes a position in the feed snapshot and is rejected if malformed. |
| time_window | string | Time window for the feed. "hour" typically returns 0–10 events; "month" can exceed 10,000 for the "all" tier. Prefer "hour" or "day" for real-time status checks. |
| magnitude_tier | string | Minimum magnitude threshold for the feed. "all" includes microseisms (M<1). "1.0" is M1.0+. "2.5" is M2.5+. "4.5" is M4.5+. "significant" is a USGS curated selection based on magnitude, felt reports, and PAGER impact estimates — not purely magnitude-based. |
{
"name": "earthquake_get_feed",
"title": "Get USGS Earthquake Feed",
"description": "Fetch a USGS pre-computed real-time earthquake feed by magnitude tier and time window. These feeds are CDN-cached by USGS and faster and more available than the query API — use them for \"what's happening now\" queries. \"all\" includes microseisms (M<1); \"significant\" is a USGS curation based on magnitude, felt reports, and PAGER impact estimates. \"hour\" returns 0–10 events typically; \"month\" can exceed 10,000 for the \"all\" tier, so results are returned a page at a time: count is the page size, totalCount the whole feed, and nextCursor the input for the following page. Each page returns limit events (default 15, at most 1,000), fewer only on the last page. The cursor is opaque and must be passed back verbatim — unlike earthquake_search_events, these feeds retain the first-read generation for up to 15 minutes, subject to capacity eviction and restart. An expired cursor requires a fresh first read. For historical or filtered queries, use earthquake_search_events instead.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "number",
"minimum": 1,
"multipleOf": 1,
"description": "Events to return per page. Default 15; a larger value returns at most 1,000 and says so. Applies to the first page; later pages carry the page size inside the cursor and ignore limit, so set it on the first call."
},
"cursor": {
"type": "string",
"description": "Opaque token for the next page, taken verbatim from a previous call's nextCursor. Omit for the first page. Do not construct, parse, or edit it — it encodes a position in the feed snapshot and is rejected if malformed."
},
"time_window": {
"enum": [
"hour",
"day",
"week",
"month"
],
"type": "string",
"default": "day",
"description": "Time window for the feed. \"hour\" typically returns 0–10 events; \"month\" can exceed 10,000 for the \"all\" tier. Prefer \"hour\" or \"day\" for real-time status checks."
},
"magnitude_tier": {
"enum": [
"all",
"1.0",
"2.5",
"4.5",
"significant"
],
"type": "string",
"default": "2.5",
"description": "Minimum magnitude threshold for the feed. \"all\" includes microseisms (M<1). \"1.0\" is M1.0+. \"2.5\" is M2.5+. \"4.5\" is M4.5+. \"significant\" is a USGS curated selection based on magnitude, felt reports, and PAGER impact estimates — not purely magnitude-based."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"anyOf": [
{
"not": {
"required": [
"error"
]
},
"required": [
"count",
"generated_at",
"events",
"feed_url"
]
},
{
"required": [
"error"
]
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"count": {
"type": "number",
"description": "Number of events returned in this page, not the whole feed."
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "JSON-RPC error code for this failure."
},
"data": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"examples": [
"invalid_cursor",
"cursor_expired",
"snapshot_too_large",
"feed_unavailable",
"feed_timeout"
],
"description": "Machine-readable failure mode. Declared by this tool: `invalid_cursor`: The feed cursor is malformed. `cursor_expired`: The retained generation expired, was evicted, or does not belong to this tenant and feed. `snapshot_too_large`: The feed exceeds retained storage capacity. `feed_unavailable`: USGS feed endpoint returns a 5xx, serves HTML or an unreadable body, or is unreachable. `feed_timeout`: USGS feed endpoint did not answer before the request deadline. Other values are possible when a failure originates below the handler."
},
"recovery": {
"type": "object",
"required": [
"hint"
],
"properties": {
"hint": {
"type": "string"
}
},
"description": "Actionable next step for the caller.",
"additionalProperties": {}
},
"retryable": {
"type": "boolean",
"description": "Whether retrying may succeed."
}
},
"additionalProperties": {}
},
"message": {
"type": "string",
"description": "Human-readable description of what went wrong."
}
},
"description": "Present when the call failed. Absent on success.",
"additionalProperties": {}
},
"events": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"title",
"magnitude",
"magnitude_type",
"time",
"updated",
"place",
"latitude",
"longitude",
"depth_km",
"felt",
"cdi",
"mmi",
"alert",
"tsunami",
"significance",
"status"
],
"properties": {
"id": {
"type": "string",
"description": "USGS or EMSC event identifier."
},
"cdi": {
"type": [
"number",
"null"
],
"description": "Maximum DYFI Community Decimal Intensity (0–12); null if uncomputed or unsupported (EMSC)."
},
"mmi": {
"type": [
"number",
"null"
],
"description": "Maximum ShakeMap Modified Mercalli intensity (1–12); null without a ShakeMap, when the ShakeMap computed no intensity, or for EMSC."
},
"auth": {
"type": "string",
"description": "Authoritative agency/network code (EMSC auth or USGS net); absent if unpublished."
},
"felt": {
"type": [
"number",
"null"
],
"description": "DYFI (Did You Feel It?) response count; null if no USGS reports or source has no DYFI (EMSC). Null does not mean unfelt."
},
"time": {
"type": "string",
"description": "ISO 8601 UTC origin time."
},
"alert": {
"anyOf": [
{
"enum": [
"green",
"yellow",
"orange",
"red"
],
"type": "string"
},
{
"type": "null"
}
],
"description": "PAGER estimated impact; null without an assessment or for EMSC."
},
"place": {
"type": "string",
"description": "Nearest named location."
},
"title": {
"type": "string",
"description": "Event summary, e.g. \"M 6.0 - Hawaii\"."
},
"status": {
"anyOf": [
{
"enum": [
"automatic",
"reviewed",
"deleted"
],
"type": "string"
},
{
"type": "null"
}
],
"description": "Review state: automatic (unverified), reviewed (analyst checked), or deleted. Null if unpublished (EMSC, or a USGS record without one of these values); such solutions remain unverified and subject to revision."
},
"tsunami": {
"type": [
"number",
"null"
],
"description": "USGS tsunami flag: 1 for large oceanic events, 0 otherwise; null if unpublished (EMSC). Not a warning or evidence of a tsunami; check NOAA tsunami.gov for alerts."
},
"updated": {
"type": "string",
"description": "ISO 8601 UTC time this record was last updated."
},
"depth_km": {
"type": [
"number",
"null"
],
"description": "Hypocenter depth in km; null if unmeasured."
},
"latitude": {
"type": "number",
"description": "Epicenter latitude in decimal degrees."
},
"event_url": {
"type": "string",
"description": "USGS event page URL. Present for USGS events only."
},
"longitude": {
"type": "number",
"description": "Epicenter longitude in decimal degrees."
},
"magnitude": {
"type": [
"number",
"null"
],
"description": "Preferred magnitude; null if not computed (title: \"M ?\")."
},
"detail_url": {
"type": "string",
"description": "URL to fetch the full GeoJSON detail record. Present in USGS list responses."
},
"event_type": {
"type": "string",
"description": "QuakeML classification (earthquake, quarry blast, explosion, etc.). EMSC codes decode to USGS names; unknown codes pass through verbatim. Certainty is separate. Absent if unpublished; either catalog includes non-tectonic events."
},
"significance": {
"type": [
"number",
"null"
],
"description": "USGS significance (0–2000+), combining magnitude, felt reports and PAGER; null if uncomputed or for EMSC."
},
"associated_ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "Other network IDs USGS lists for this event, in upstream order; earthquake_get_event accepts them. Absent when USGS lists none, and for EMSC events."
},
"magnitude_type": {
"type": "string",
"description": "Magnitude type (ml, mww, mw, mb, etc.)."
},
"source_catalog": {
"type": "string",
"description": "Solution catalog, e.g. EMSC-RTS (real-time, subject to revision). Absent for USGS."
},
"event_certainty": {
"enum": [
"known",
"suspected",
"unknown",
"unreported"
],
"type": "string",
"description": "EMSC classification certainty: known (asserted), suspected, unknown, or unreported. Suspected is not confirmed. Absent for USGS and unrecognized EMSC codes."
}
},
"description": "A single earthquake event.",
"additionalProperties": false
},
"description": "Earthquake events for this page, newest first."
},
"notice": {
"type": "string",
"description": "Guidance when a first-page limit was clamped to 1,000 (requested and applied values), when the feed or cursor position holds no events (a wider window, lower tier, or earthquake_search_events), or when more pages remain (paging with the cursor). Absent when none applies."
},
"feed_url": {
"type": "string",
"description": "Source feed URL."
},
"truncated": {
"type": "boolean",
"description": "True when the feed holds more events than this page returned. nextCursor carries the input for the following page."
},
"nextCursor": {
"type": "string",
"description": "Opaque token to pass back as the cursor input for the next page. Present only when more events remain; absent means this was the last page."
},
"totalCount": {
"type": "number",
"description": "Number of events in the whole feed, across every page."
},
"generated_at": {
"type": "string",
"description": "ISO 8601 UTC timestamp when this feed was generated by USGS."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true
}
}Search USGS or independent global EMSC seismic catalogs by time, magnitude, depth, area and source-specific filters. Both include non-tectonic events; event_type="earthquake" excludes them on USGS. Circle and independently optional box edges intersect. Unsupported EMSC filters appear in ignoredFilters. Size queries with earthquake_count_events. Returns limit events per call (at most 1,000), fewer only on the last page. Continue with offset=nextOffset and unchanged filters/order. totalCount is the full match total when known; countUnavailable marks a failed count lookup, so the total is unknown. Paging can retrieve matches beyond 20,000.
| Parameter | Type | Description |
|---|---|---|
| limit | number | Events to return per call. Default 15; a larger value returns at most 1,000 and says so. Combine with offset to retrieve match sets larger than one call can return. |
| offset | integer | Index of the first event to return, counting from 1 — offset=1 is the first match (both upstream APIs reject 0). Omit for the first page, then pass the nextOffset value from a capped result to fetch the next one. Ordering is set by order_by, so keep order_by, limit, and every filter identical across… |
| source | string | USGS includes PAGER, DYFI and ShakeMap; EMSC (European-Mediterranean Seismological Centre) is an independent global catalog, with densest station coverage around Europe/Mediterranean and no such impact products. earthquake_get_event accepts IDs from either source. |
| min_cdi | number | Minimum DYFI (Did You Feel It?) community intensity (1–12): the strongest shaking people reported for the event. An event without DYFI reports never matches. Only available from USGS. |
| min_mmi | number | Minimum ShakeMap intensity on the Modified Mercalli scale (1–12): the strongest shaking USGS modeled for the event, e.g. 7 for very strong shaking. Finds shaking a magnitude floor or alert_level misses. An event without a ShakeMap never matches; product_type "shakemap" requires one at any intensity.… |
| end_time | string | End of time range as ISO 8601, in the same forms start_time accepts. Date-only values mean midnight at the start of the named day, not the whole day. Defaults to current time if omitted. |
| latitude | number | Latitude for radius search. Requires longitude and radius_km. |
| min_felt | integer | Minimum number of DYFI (Did You Feel It?) reports. Use to find events with confirmed public impact. Only available from USGS. |
| order_by | string | Sort order. "time" returns newest first; "magnitude" returns largest first. |
| longitude | number | Longitude for radius search. Requires latitude and radius_km. |
| radius_km | number | Search radius in kilometers from the lat/lon point. 100 km covers a metro region; 500 km covers a large country. Max 20001.6, the ceiling USGS enforces. Converted to degrees for EMSC (1° ≈ 111.2 km). |
| event_type | string | Filter by upstream event classification, e.g. "earthquake" to exclude quarry blasts and explosions, or "quarry blast" to see only those; a comma-separated list such as "earthquake,explosion" matches any of them. USGS matches case-insensitively and returns zero matches for a value it does not list, w… |
| start_time | string | Start of time range as ISO 8601 (e.g. "2026-01-01" or "2026-05-23T00:00:00"). A bare year expands to January 1st and an unpadded month or day is zero-padded, with date-only values resolved to midnight (T00:00:00) on both sources. Explicit time and timezone suffixes are preserved. Defaults to 30 days… |
| alert_level | string | Minimum PAGER alert level. PAGER estimates economic loss and casualties. "green" = minimal impact; "red" = extreme. Only available from USGS. |
| max_depth_km | number | Maximum depth in kilometers. Bounded to the documented -100 to 1000 km catalog envelope. |
| max_latitude | number | Northern edge of a bounding-box search, in degrees. |
| min_depth_km | number | Minimum depth in kilometers. Bounded to the documented -100 to 1000 km catalog envelope. Shallow quakes (0–70 km) typically cause more surface damage than deep quakes (>300 km). |
| min_latitude | number | Southern edge of a bounding-box search, in degrees. Independent of the other three box parameters — supply any of them. Must not exceed max_latitude when both are given. |
| product_type | string | Required product type, e.g. "moment-tensor" (hyphenated, unlike the moment_tensor detail group); USGS only, matched case-insensitively. Blank means omitted. |
| max_longitude | number | Eastern edge of a bounding-box search, in degrees. |
| max_magnitude | number | Maximum magnitude. |
| min_longitude | number | Western edge of a bounding-box search, in degrees. Range extends beyond ±180 so a box can cross the antimeridian (e.g. min_longitude=170, max_longitude=190) — always keep min_longitude at or below max_longitude rather than inverting the pair. |
| min_magnitude | number | Minimum magnitude (Richter or equivalent). M2.5+ is felt by some people; M5+ can cause damage; M7+ is major. |
| review_status | string | USGS review status: automatic or reviewed. Blank means omitted; unsupported by EMSC. |
| magnitude_type | string | Magnitude type, e.g. "mb" or "mww"; both sources. USGS matches case-insensitively. EMSC matches its own types case-sensitively, including lowercase "mb" and "mw" and historical uppercase "ML" and "MD". Blank means omitted. |
| min_significance | integer | Minimum USGS significance score (0–2000+). Combines magnitude, felt reports, and PAGER estimates. Significant events typically score 600+. Only available from USGS. |
{
"name": "earthquake_search_events",
"title": "Search Earthquakes",
"description": "Search USGS or independent global EMSC seismic catalogs by time, magnitude, depth, area and source-specific filters. Both include non-tectonic events; event_type=\"earthquake\" excludes them on USGS. Circle and independently optional box edges intersect. Unsupported EMSC filters appear in ignoredFilters. Size queries with earthquake_count_events. Returns limit events per call (at most 1,000), fewer only on the last page. Continue with offset=nextOffset and unchanged filters/order. totalCount is the full match total when known; countUnavailable marks a failed count lookup, so the total is unknown. Paging can retrieve matches beyond 20,000.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "number",
"minimum": 1,
"multipleOf": 1,
"description": "Events to return per call. Default 15; a larger value returns at most 1,000 and says so. Combine with offset to retrieve match sets larger than one call can return."
},
"offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Index of the first event to return, counting from 1 — offset=1 is the first match (both upstream APIs reject 0). Omit for the first page, then pass the nextOffset value from a capped result to fetch the next one. Ordering is set by order_by, so keep order_by, limit, and every filter identical across pages."
},
"source": {
"enum": [
"usgs",
"emsc"
],
"type": "string",
"default": "usgs",
"description": "USGS includes PAGER, DYFI and ShakeMap; EMSC (European-Mediterranean Seismological Centre) is an independent global catalog, with densest station coverage around Europe/Mediterranean and no such impact products. earthquake_get_event accepts IDs from either source."
},
"min_cdi": {
"type": "number",
"maximum": 12,
"minimum": 1,
"description": "Minimum DYFI (Did You Feel It?) community intensity (1–12): the strongest shaking people reported for the event. An event without DYFI reports never matches. Only available from USGS."
},
"min_mmi": {
"type": "number",
"maximum": 12,
"minimum": 1,
"description": "Minimum ShakeMap intensity on the Modified Mercalli scale (1–12): the strongest shaking USGS modeled for the event, e.g. 7 for very strong shaking. Finds shaking a magnitude floor or alert_level misses. An event without a ShakeMap never matches; product_type \"shakemap\" requires one at any intensity. Only available from USGS."
},
"end_time": {
"type": "string",
"pattern": "^\\d{4}(-\\d{1,2}(-\\d{1,2})?)?([T ]\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:?\\d{2})?)?$",
"description": "End of time range as ISO 8601, in the same forms start_time accepts. Date-only values mean midnight at the start of the named day, not the whole day. Defaults to current time if omitted."
},
"latitude": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude for radius search. Requires longitude and radius_km."
},
"min_felt": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Minimum number of DYFI (Did You Feel It?) reports. Use to find events with confirmed public impact. Only available from USGS."
},
"order_by": {
"enum": [
"time",
"time-asc",
"magnitude",
"magnitude-asc"
],
"type": "string",
"default": "time",
"description": "Sort order. \"time\" returns newest first; \"magnitude\" returns largest first."
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude for radius search. Requires latitude and radius_km."
},
"radius_km": {
"type": "number",
"maximum": 20001.6,
"minimum": 0,
"description": "Search radius in kilometers from the lat/lon point. 100 km covers a metro region; 500 km covers a large country. Max 20001.6, the ceiling USGS enforces. Converted to degrees for EMSC (1° ≈ 111.2 km)."
},
"event_type": {
"type": "string",
"minLength": 1,
"description": "Filter by upstream event classification, e.g. \"earthquake\" to exclude quarry blasts and explosions, or \"quarry blast\" to see only those; a comma-separated list such as \"earthquake,explosion\" matches any of them. USGS matches case-insensitively and returns zero matches for a value it does not list, which the notice then names. Only available from USGS."
},
"start_time": {
"type": "string",
"pattern": "^\\d{4}(-\\d{1,2}(-\\d{1,2})?)?([T ]\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:?\\d{2})?)?$",
"description": "Start of time range as ISO 8601 (e.g. \"2026-01-01\" or \"2026-05-23T00:00:00\"). A bare year expands to January 1st and an unpadded month or day is zero-padded, with date-only values resolved to midnight (T00:00:00) on both sources. Explicit time and timezone suffixes are preserved. Defaults to 30 days before end_time (or before the current time) if omitted — applied server-side so USGS and EMSC honor the same window."
},
"alert_level": {
"enum": [
"green",
"yellow",
"orange",
"red"
],
"type": "string",
"description": "Minimum PAGER alert level. PAGER estimates economic loss and casualties. \"green\" = minimal impact; \"red\" = extreme. Only available from USGS."
},
"max_depth_km": {
"type": "number",
"maximum": 1000,
"minimum": -100,
"description": "Maximum depth in kilometers. Bounded to the documented -100 to 1000 km catalog envelope."
},
"max_latitude": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Northern edge of a bounding-box search, in degrees."
},
"min_depth_km": {
"type": "number",
"maximum": 1000,
"minimum": -100,
"description": "Minimum depth in kilometers. Bounded to the documented -100 to 1000 km catalog envelope. Shallow quakes (0–70 km) typically cause more surface damage than deep quakes (>300 km)."
},
"min_latitude": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Southern edge of a bounding-box search, in degrees. Independent of the other three box parameters — supply any of them. Must not exceed max_latitude when both are given."
},
"product_type": {
"type": "string",
"description": "Required product type, e.g. \"moment-tensor\" (hyphenated, unlike the moment_tensor detail group); USGS only, matched case-insensitively. Blank means omitted."
},
"max_longitude": {
"type": "number",
"maximum": 360,
"minimum": -360,
"description": "Eastern edge of a bounding-box search, in degrees."
},
"max_magnitude": {
"type": "number",
"maximum": 10,
"minimum": -1,
"description": "Maximum magnitude."
},
"min_longitude": {
"type": "number",
"maximum": 360,
"minimum": -360,
"description": "Western edge of a bounding-box search, in degrees. Range extends beyond ±180 so a box can cross the antimeridian (e.g. min_longitude=170, max_longitude=190) — always keep min_longitude at or below max_longitude rather than inverting the pair."
},
"min_magnitude": {
"type": "number",
"maximum": 10,
"minimum": -1,
"description": "Minimum magnitude (Richter or equivalent). M2.5+ is felt by some people; M5+ can cause damage; M7+ is major."
},
"review_status": {
"type": "string",
"description": "USGS review status: automatic or reviewed. Blank means omitted; unsupported by EMSC."
},
"magnitude_type": {
"type": "string",
"description": "Magnitude type, e.g. \"mb\" or \"mww\"; both sources. USGS matches case-insensitively. EMSC matches its own types case-sensitively, including lowercase \"mb\" and \"mw\" and historical uppercase \"ML\" and \"MD\". Blank means omitted."
},
"min_significance": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Minimum USGS significance score (0–2000+). Combines magnitude, felt reports, and PAGER estimates. Significant events typically score 600+. Only available from USGS."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"anyOf": [
{
"not": {
"required": [
"error"
]
},
"required": [
"count",
"source",
"events"
]
},
{
"required": [
"error"
]
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"count": {
"type": "number",
"description": "Number of events returned."
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "JSON-RPC error code for this failure."
},
"data": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"examples": [
"invalid_range",
"invalid_radius",
"invalid_bounding_box",
"source_unavailable",
"source_timeout",
"upstream_rejected",
"upstream_rejected_no_reason"
],
"description": "Machine-readable failure mode. Declared by this tool: `invalid_range`: Minimum magnitude or depth exceeds its maximum, or start_time is after end_time. `invalid_radius`: latitude or longitude provided without radius_km, or vice versa. `invalid_bounding_box`: min_latitude exceeds max_latitude, or min_longitude exceeds max_longitude. `source_unavailable`: Selected source API returns a 5xx, serves HTML or an unreadable body, or is unreachable. `source_timeout`: Selected source API did not answer before the request deadline. `upstream_rejected`: The source API rejected the query parameters and explained why in its response body. `upstream_rejected_no_reason`: The source API rejected the query but its response body carried no usable explanation. Other values are possible when a failure originates below the handler."
},
"recovery": {
"type": "object",
"required": [
"hint"
],
"properties": {
"hint": {
"type": "string"
}
},
"description": "Actionable next step for the caller.",
"additionalProperties": {}
},
"retryable": {
"type": "boolean",
"description": "Whether retrying may succeed."
}
},
"additionalProperties": {}
},
"message": {
"type": "string",
"description": "Human-readable description of what went wrong."
}
},
"description": "Present when the call failed. Absent on success.",
"additionalProperties": {}
},
"events": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"title",
"magnitude",
"magnitude_type",
"time",
"updated",
"place",
"latitude",
"longitude",
"depth_km",
"felt",
"cdi",
"mmi",
"alert",
"tsunami",
"significance",
"status"
],
"properties": {
"id": {
"type": "string",
"description": "USGS or EMSC event identifier."
},
"cdi": {
"type": [
"number",
"null"
],
"description": "Maximum DYFI Community Decimal Intensity (0–12); null if uncomputed or unsupported (EMSC)."
},
"mmi": {
"type": [
"number",
"null"
],
"description": "Maximum ShakeMap Modified Mercalli intensity (1–12); null without a ShakeMap, when the ShakeMap computed no intensity, or for EMSC."
},
"auth": {
"type": "string",
"description": "Authoritative agency/network code (EMSC auth or USGS net); absent if unpublished."
},
"felt": {
"type": [
"number",
"null"
],
"description": "DYFI (Did You Feel It?) response count; null if no USGS reports or source has no DYFI (EMSC). Null does not mean unfelt."
},
"time": {
"type": "string",
"description": "ISO 8601 UTC origin time."
},
"alert": {
"anyOf": [
{
"enum": [
"green",
"yellow",
"orange",
"red"
],
"type": "string"
},
{
"type": "null"
}
],
"description": "PAGER estimated impact; null without an assessment or for EMSC."
},
"place": {
"type": "string",
"description": "Nearest named location."
},
"title": {
"type": "string",
"description": "Event summary, e.g. \"M 6.0 - Hawaii\"."
},
"status": {
"anyOf": [
{
"enum": [
"automatic",
"reviewed",
"deleted"
],
"type": "string"
},
{
"type": "null"
}
],
"description": "Review state: automatic (unverified), reviewed (analyst checked), or deleted. Null if unpublished (EMSC, or a USGS record without one of these values); such solutions remain unverified and subject to revision."
},
"tsunami": {
"type": [
"number",
"null"
],
"description": "USGS tsunami flag: 1 for large oceanic events, 0 otherwise; null if unpublished (EMSC). Not a warning or evidence of a tsunami; check NOAA tsunami.gov for alerts."
},
"updated": {
"type": "string",
"description": "ISO 8601 UTC time this record was last updated."
},
"depth_km": {
"type": [
"number",
"null"
],
"description": "Hypocenter depth in km; null if unmeasured."
},
"latitude": {
"type": "number",
"description": "Epicenter latitude in decimal degrees."
},
"event_url": {
"type": "string",
"description": "USGS event page URL. Present for USGS events only."
},
"longitude": {
"type": "number",
"description": "Epicenter longitude in decimal degrees."
},
"magnitude": {
"type": [
"number",
"null"
],
"description": "Preferred magnitude; null if not computed (title: \"M ?\")."
},
"detail_url": {
"type": "string",
"description": "URL to fetch the full GeoJSON detail record. Present in USGS list responses."
},
"event_type": {
"type": "string",
"description": "QuakeML classification (earthquake, quarry blast, explosion, etc.). EMSC codes decode to USGS names; unknown codes pass through verbatim. Certainty is separate. Absent if unpublished; either catalog includes non-tectonic events."
},
"significance": {
"type": [
"number",
"null"
],
"description": "USGS significance (0–2000+), combining magnitude, felt reports and PAGER; null if uncomputed or for EMSC."
},
"associated_ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "Other network IDs USGS lists for this event, in upstream order; earthquake_get_event accepts them. Absent when USGS lists none, and for EMSC events."
},
"magnitude_type": {
"type": "string",
"description": "Magnitude type (ml, mww, mw, mb, etc.)."
},
"source_catalog": {
"type": "string",
"description": "Solution catalog, e.g. EMSC-RTS (real-time, subject to revision). Absent for USGS."
},
"event_certainty": {
"enum": [
"known",
"suspected",
"unknown",
"unreported"
],
"type": "string",
"description": "EMSC classification certainty: known (asserted), suspected, unknown, or unreported. Suspected is not confirmed. Absent for USGS and unrecognized EMSC codes."
}
},
"description": "A single earthquake event.",
"additionalProperties": false
},
"description": "Matching earthquake events."
},
"notice": {
"type": "string",
"description": "Guidance when limit was clamped to 1,000, when the page is empty, or when more pages remain. On an empty first page, USGS may name unlisted type filters and EMSC may suggest a lowercase magnitude_type spelling. Absent when none applies."
},
"source": {
"enum": [
"usgs",
"emsc"
],
"type": "string",
"description": "Data source used."
},
"queryEcho": {
"type": "object",
"required": [
"source",
"limit",
"order_by"
],
"properties": {
"limit": {
"type": "number",
"description": "Applied result limit sent upstream, after any clamp."
},
"offset": {
"type": "number",
"description": "1-based paging offset sent upstream. Absent when the first page was fetched."
},
"source": {
"enum": [
"usgs",
"emsc"
],
"type": "string",
"description": "Data source queried."
},
"min_cdi": {
"type": "number",
"description": "Applied minimum DYFI community intensity (CDI); absent for EMSC."
},
"min_mmi": {
"type": "number",
"description": "Applied minimum ShakeMap intensity (MMI); absent for EMSC."
},
"end_time": {
"type": "string",
"description": "Applied end time; absent means upstream current-time default."
},
"latitude": {
"type": "number",
"description": "Circle latitude, degrees."
},
"min_felt": {
"type": "number",
"description": "Applied minimum DYFI response count; absent for EMSC."
},
"order_by": {
"type": "string",
"description": "Sort order sent upstream."
},
"longitude": {
"type": "number",
"description": "Circle longitude, degrees."
},
"radius_km": {
"type": "number",
"description": "Search radius in km sent upstream (converted to degrees for EMSC)."
},
"event_type": {
"type": "string",
"description": "Applied event type; absent for EMSC."
},
"start_time": {
"type": "string",
"description": "Applied start time; defaults to 30 days before end/now."
},
"alert_level": {
"type": "string",
"description": "Applied minimum PAGER alert; absent for EMSC."
},
"max_depth_km": {
"type": "number",
"description": "Applied maximum depth, km."
},
"max_latitude": {
"type": "number",
"description": "Northern bounding-box edge sent upstream, in degrees."
},
"min_depth_km": {
"type": "number",
"description": "Applied minimum depth, km."
},
"min_latitude": {
"type": "number",
"description": "Southern bounding-box edge sent upstream, in degrees."
},
"product_type": {
"type": "string",
"description": "Applied required product; USGS only."
},
"max_longitude": {
"type": "number",
"description": "Eastern bounding-box edge sent upstream, in degrees."
},
"max_magnitude": {
"type": "number",
"description": "Applied maximum magnitude."
},
"min_longitude": {
"type": "number",
"description": "Western bounding-box edge sent upstream, in degrees."
},
"min_magnitude": {
"type": "number",
"description": "Applied minimum magnitude."
},
"review_status": {
"enum": [
"automatic",
"reviewed"
],
"type": "string",
"description": "Applied review status; USGS only."
},
"magnitude_type": {
"type": "string",
"description": "Applied magnitude type."
},
"min_significance": {
"type": "number",
"description": "Applied minimum significance; absent for EMSC."
}
},
"description": "Echo of the effective parameters sent to the upstream API, including server-resolved defaults. Use to diagnose unexpected or empty results — a filter absent here was not sent upstream.",
"additionalProperties": false
},
"truncated": {
"type": "boolean",
"description": "Page filled the applied limit and more matches remain or may remain. Continue with nextOffset. Without totalCount, more events may remain but are not confirmed."
},
"nextOffset": {
"type": "number",
"description": "Next 1-based offset; keep other inputs unchanged. Present if more events remain or may remain with unknown total; absent on last page."
},
"totalCount": {
"type": "number",
"description": "Full match total, inferred from a nonempty short upstream page (or empty first page), otherwise counted for full pages. Absent for empty later pages or failed counts; countUnavailable marks failures."
},
"ignoredFilters": {
"type": "array",
"items": {
"type": "string",
"description": "Name of an input filter that was not applied."
},
"description": "USGS-only filters supplied in the input but not sent upstream because source=emsc does not support them. The result set is NOT constrained by these — re-run with source=usgs to apply them. Absent when every supplied filter was applied."
},
"countUnavailable": {
"type": "boolean",
"description": "True if the count lookup failed; events are unaffected, totalCount unknown. Retry earthquake_count_events with identical filters. Absent if count succeeded or was unnecessary."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true
}
}Fetch one earthquake by event ID: a USGS ID, or an EMSC ID (an origin date and seven-digit sequence, e.g. "20190706_0000043"). Returns the same normalized event a search result carries. For a USGS event it adds a projection of the analysis products only the single-event response holds: PAGER impact alert and report link, ShakeMap peak intensity and ground motion, DYFI felt-report totals, focal mechanism from a moment tensor or a standalone focal-mechanism product, landslide and liquefaction alerts, origin quality (azimuthal gap, station count, location uncertainty, depth type), and finite-fault rupture dimensions. Product groups are omitted when no projected field is available — a small automatic event typically carries only origin quality, while a large reviewed one has most of it. Opt into more with include: alternative origin solutions, magnitude solutions, phase arrivals, the USGS aftershock forecast, or the PAGER loss estimates behind the alert with population exposure by shaking intensity; a requested group that is not returned is listed in unavailable_includes. EMSC publishes none of these products, so an EMSC event has no detail and lists every requested group as not_published. Event IDs appear in the "id" field of earthquake_get_feed and earthquake_search_events results; a USGS event's associated_ids are also accepted.
| Parameter | Type | Description |
|---|---|---|
| include | array | Optional groups: origins (every contributed origin solution, no extra request), magnitudes and arrivals (one shared phase-data download; every arrival of the preferred origin, nearest first), aftershock_forecast (one extra request), pager (fatality and economic-loss brackets with probabilities, and … |
| event_id * | string | USGS event ID, e.g. "hv74966427" or "us6000sznj", or EMSC event ID, e.g. "20190706_0000043". Found in the "id" field of earthquake_get_feed and earthquake_search_events results. |
{
"name": "earthquake_get_event",
"title": "Get Earthquake Event Detail",
"description": "Fetch one earthquake by event ID: a USGS ID, or an EMSC ID (an origin date and seven-digit sequence, e.g. \"20190706_0000043\"). Returns the same normalized event a search result carries. For a USGS event it adds a projection of the analysis products only the single-event response holds: PAGER impact alert and report link, ShakeMap peak intensity and ground motion, DYFI felt-report totals, focal mechanism from a moment tensor or a standalone focal-mechanism product, landslide and liquefaction alerts, origin quality (azimuthal gap, station count, location uncertainty, depth type), and finite-fault rupture dimensions. Product groups are omitted when no projected field is available — a small automatic event typically carries only origin quality, while a large reviewed one has most of it. Opt into more with include: alternative origin solutions, magnitude solutions, phase arrivals, the USGS aftershock forecast, or the PAGER loss estimates behind the alert with population exposure by shaking intensity; a requested group that is not returned is listed in unavailable_includes. EMSC publishes none of these products, so an EMSC event has no detail and lists every requested group as not_published. Event IDs appear in the \"id\" field of earthquake_get_feed and earthquake_search_events results; a USGS event's associated_ids are also accepted.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"event_id"
],
"properties": {
"include": {
"type": "array",
"items": {
"enum": [
"origins",
"magnitudes",
"arrivals",
"aftershock_forecast",
"pager"
],
"type": "string"
},
"description": "Optional groups: origins (every contributed origin solution, no extra request), magnitudes and arrivals (one shared phase-data download; every arrival of the preferred origin, nearest first), aftershock_forecast (one extra request), pager (fatality and economic-loss brackets with probabilities, and people exposed at each intensity by country; two or three extra requests). Omit for the default response."
},
"event_id": {
"type": "string",
"minLength": 1,
"description": "USGS event ID, e.g. \"hv74966427\" or \"us6000sznj\", or EMSC event ID, e.g. \"20190706_0000043\". Found in the \"id\" field of earthquake_get_feed and earthquake_search_events results."
}
},
"additionalProperties": false
},
"outputSchema": {
"truncated": true,
"chars": 21222
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true
}
}Count matches without event records, or size an earthquake_search_events query. Omitting start_time uses 30 days; pass explicit bounds for historical periods. queryEcho reports applied filters/window; ignoredFilters names unsupported EMSC inputs. Circle and independently optional box edges intersect. Both catalogs include non-tectonic events; event_type="earthquake" excludes them on USGS. exceeds_limit marks the 20,000-event single-request threshold, not a retrieval ceiling: search supports offset paging beyond it. max_allowed is 20,000 for USGS, null for EMSC.
| Parameter | Type | Description |
|---|---|---|
| source | string | Data source. Both catalogs are global. "usgs" covers global events with PAGER, DYFI, and ShakeMap metadata. "emsc" is an independent global catalog operated by the European-Mediterranean Seismological Centre — use it to cross-check a count from a separate network. It has no PAGER, DYFI, or ShakeMap … |
| min_cdi | number | Minimum DYFI (Did You Feel It?) community intensity (1–12): the strongest shaking people reported for the event. An event without DYFI reports never matches. Only available from USGS. |
| min_mmi | number | Minimum ShakeMap intensity on the Modified Mercalli scale (1–12): the strongest shaking USGS modeled for the event, e.g. 7 for very strong shaking. Finds shaking a magnitude floor or alert_level misses. An event without a ShakeMap never matches; product_type "shakemap" requires one at any intensity.… |
| end_time | string | End of time range as ISO 8601, in the same forms start_time accepts. Date-only values mean midnight at the start of the named day, not the whole day. Defaults to current time if omitted. |
| latitude | number | Latitude for radius search. Requires longitude and radius_km. |
| min_felt | integer | Minimum number of DYFI (Did You Feel It?) reports. Use to count events with confirmed public impact. Only available from USGS. |
| longitude | number | Longitude for radius search. Requires latitude and radius_km. |
| radius_km | number | Search radius in kilometers from the lat/lon point. Max 20001.6, the ceiling USGS enforces — half the Earth's great-circle circumference. Converted to degrees for EMSC (1° ≈ 111.2 km). |
| event_type | string | Filter by upstream event classification, e.g. "earthquake" to exclude quarry blasts and explosions from the count, or "quarry blast" to count only those; a comma-separated list such as "earthquake,explosion" counts any of them. USGS matches case-insensitively and counts zero for a value it does not … |
| start_time | string | Start of time range as ISO 8601 (e.g. "2026-01-01" or "2026-05-23T00:00:00"). A bare year expands to January 1st and an unpadded month or day is zero-padded, with date-only values resolved to midnight (T00:00:00) on both sources. Explicit time and timezone suffixes are preserved. Defaults to 30 days… |
| alert_level | string | Minimum PAGER alert level. PAGER estimates economic loss and casualties. "green" = minimal impact; "red" = extreme. Only available from USGS. |
| max_depth_km | number | Maximum depth in kilometers. Bounded to the documented -100 to 1000 km catalog envelope. |
| max_latitude | number | Northern edge of a bounding-box search, in degrees. |
| min_depth_km | number | Minimum depth in kilometers. Bounded to the documented -100 to 1000 km catalog envelope. Shallow quakes (0–70 km) typically cause more surface damage than deep quakes (>300 km). |
| min_latitude | number | Southern edge of a bounding-box search, in degrees. Independent of the other three box parameters — supply any of them. Must not exceed max_latitude when both are given. |
| product_type | string | Required product type, e.g. "moment-tensor" (hyphenated, unlike the moment_tensor detail group); USGS only, matched case-insensitively. Blank means omitted. |
| max_longitude | number | Eastern edge of a bounding-box search, in degrees. |
| max_magnitude | number | Maximum magnitude. |
| min_longitude | number | Western edge of a bounding-box search, in degrees. Range extends beyond ±180 so a box can cross the antimeridian (e.g. min_longitude=170, max_longitude=190) — always keep min_longitude at or below max_longitude rather than inverting the pair. |
| min_magnitude | number | Minimum magnitude (Richter or equivalent). M2.5+ is felt by some people; M5+ can cause damage; M7+ is major. |
| review_status | string | USGS review status: automatic or reviewed. Blank means omitted; unsupported by EMSC. |
| magnitude_type | string | Magnitude type, e.g. "mb" or "mww"; both sources. USGS matches case-insensitively. EMSC matches its own types case-sensitively, including lowercase "mb" and "mw" and historical uppercase "ML" and "MD". Blank means omitted. |
| min_significance | integer | Minimum USGS significance score (0–2000+). Combines magnitude, felt reports, and PAGER estimates. Significant events typically score 600+. Only available from USGS. |
{
"name": "earthquake_count_events",
"title": "Count Earthquakes",
"description": "Count matches without event records, or size an earthquake_search_events query. Omitting start_time uses 30 days; pass explicit bounds for historical periods. queryEcho reports applied filters/window; ignoredFilters names unsupported EMSC inputs. Circle and independently optional box edges intersect. Both catalogs include non-tectonic events; event_type=\"earthquake\" excludes them on USGS. exceeds_limit marks the 20,000-event single-request threshold, not a retrieval ceiling: search supports offset paging beyond it. max_allowed is 20,000 for USGS, null for EMSC.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"source": {
"enum": [
"usgs",
"emsc"
],
"type": "string",
"default": "usgs",
"description": "Data source. Both catalogs are global. \"usgs\" covers global events with PAGER, DYFI, and ShakeMap metadata. \"emsc\" is an independent global catalog operated by the European-Mediterranean Seismological Centre — use it to cross-check a count from a separate network. It has no PAGER, DYFI, or ShakeMap metadata; its station coverage is densest around Europe and the Mediterranean, so counts of small events differ most by region."
},
"min_cdi": {
"type": "number",
"maximum": 12,
"minimum": 1,
"description": "Minimum DYFI (Did You Feel It?) community intensity (1–12): the strongest shaking people reported for the event. An event without DYFI reports never matches. Only available from USGS."
},
"min_mmi": {
"type": "number",
"maximum": 12,
"minimum": 1,
"description": "Minimum ShakeMap intensity on the Modified Mercalli scale (1–12): the strongest shaking USGS modeled for the event, e.g. 7 for very strong shaking. Finds shaking a magnitude floor or alert_level misses. An event without a ShakeMap never matches; product_type \"shakemap\" requires one at any intensity. Only available from USGS."
},
"end_time": {
"type": "string",
"pattern": "^\\d{4}(-\\d{1,2}(-\\d{1,2})?)?([T ]\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:?\\d{2})?)?$",
"description": "End of time range as ISO 8601, in the same forms start_time accepts. Date-only values mean midnight at the start of the named day, not the whole day. Defaults to current time if omitted."
},
"latitude": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude for radius search. Requires longitude and radius_km."
},
"min_felt": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Minimum number of DYFI (Did You Feel It?) reports. Use to count events with confirmed public impact. Only available from USGS."
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude for radius search. Requires latitude and radius_km."
},
"radius_km": {
"type": "number",
"maximum": 20001.6,
"minimum": 0,
"description": "Search radius in kilometers from the lat/lon point. Max 20001.6, the ceiling USGS enforces — half the Earth's great-circle circumference. Converted to degrees for EMSC (1° ≈ 111.2 km)."
},
"event_type": {
"type": "string",
"minLength": 1,
"description": "Filter by upstream event classification, e.g. \"earthquake\" to exclude quarry blasts and explosions from the count, or \"quarry blast\" to count only those; a comma-separated list such as \"earthquake,explosion\" counts any of them. USGS matches case-insensitively and counts zero for a value it does not list, which the notice then names. Only available from USGS."
},
"start_time": {
"type": "string",
"pattern": "^\\d{4}(-\\d{1,2}(-\\d{1,2})?)?([T ]\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?(Z|[+-]\\d{2}:?\\d{2})?)?$",
"description": "Start of time range as ISO 8601 (e.g. \"2026-01-01\" or \"2026-05-23T00:00:00\"). A bare year expands to January 1st and an unpadded month or day is zero-padded, with date-only values resolved to midnight (T00:00:00) on both sources. Explicit time and timezone suffixes are preserved. Defaults to 30 days before end_time (or before the current time) if omitted — applied server-side so USGS and EMSC honor the same window."
},
"alert_level": {
"enum": [
"green",
"yellow",
"orange",
"red"
],
"type": "string",
"description": "Minimum PAGER alert level. PAGER estimates economic loss and casualties. \"green\" = minimal impact; \"red\" = extreme. Only available from USGS."
},
"max_depth_km": {
"type": "number",
"maximum": 1000,
"minimum": -100,
"description": "Maximum depth in kilometers. Bounded to the documented -100 to 1000 km catalog envelope."
},
"max_latitude": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Northern edge of a bounding-box search, in degrees."
},
"min_depth_km": {
"type": "number",
"maximum": 1000,
"minimum": -100,
"description": "Minimum depth in kilometers. Bounded to the documented -100 to 1000 km catalog envelope. Shallow quakes (0–70 km) typically cause more surface damage than deep quakes (>300 km)."
},
"min_latitude": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Southern edge of a bounding-box search, in degrees. Independent of the other three box parameters — supply any of them. Must not exceed max_latitude when both are given."
},
"product_type": {
"type": "string",
"description": "Required product type, e.g. \"moment-tensor\" (hyphenated, unlike the moment_tensor detail group); USGS only, matched case-insensitively. Blank means omitted."
},
"max_longitude": {
"type": "number",
"maximum": 360,
"minimum": -360,
"description": "Eastern edge of a bounding-box search, in degrees."
},
"max_magnitude": {
"type": "number",
"maximum": 10,
"minimum": -1,
"description": "Maximum magnitude."
},
"min_longitude": {
"type": "number",
"maximum": 360,
"minimum": -360,
"description": "Western edge of a bounding-box search, in degrees. Range extends beyond ±180 so a box can cross the antimeridian (e.g. min_longitude=170, max_longitude=190) — always keep min_longitude at or below max_longitude rather than inverting the pair."
},
"min_magnitude": {
"type": "number",
"maximum": 10,
"minimum": -1,
"description": "Minimum magnitude (Richter or equivalent). M2.5+ is felt by some people; M5+ can cause damage; M7+ is major."
},
"review_status": {
"type": "string",
"description": "USGS review status: automatic or reviewed. Blank means omitted; unsupported by EMSC."
},
"magnitude_type": {
"type": "string",
"description": "Magnitude type, e.g. \"mb\" or \"mww\"; both sources. USGS matches case-insensitively. EMSC matches its own types case-sensitively, including lowercase \"mb\" and \"mw\" and historical uppercase \"ML\" and \"MD\". Blank means omitted."
},
"min_significance": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Minimum USGS significance score (0–2000+). Combines magnitude, felt reports, and PAGER estimates. Significant events typically score 600+. Only available from USGS."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"anyOf": [
{
"not": {
"required": [
"error"
]
},
"required": [
"count",
"max_allowed",
"source",
"exceeds_limit"
]
},
{
"required": [
"error"
]
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"count": {
"type": "number",
"description": "Number of events matching the query."
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "JSON-RPC error code for this failure."
},
"data": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"examples": [
"invalid_range",
"invalid_radius",
"invalid_bounding_box",
"source_unavailable",
"source_timeout",
"upstream_rejected",
"upstream_rejected_no_reason"
],
"description": "Machine-readable failure mode. Declared by this tool: `invalid_range`: Minimum magnitude or depth exceeds its maximum, or start_time is after end_time. `invalid_radius`: latitude or longitude provided without radius_km, or vice versa. `invalid_bounding_box`: min_latitude exceeds max_latitude, or min_longitude exceeds max_longitude. `source_unavailable`: Selected source API returns a 5xx, serves HTML or an unreadable body, or is unreachable. `source_timeout`: Selected source API did not answer before the request deadline. `upstream_rejected`: The source API rejected the query parameters and explained why in its response body. `upstream_rejected_no_reason`: The source API rejected the query but its response body carried no usable explanation. Other values are possible when a failure originates below the handler."
},
"recovery": {
"type": "object",
"required": [
"hint"
],
"properties": {
"hint": {
"type": "string"
}
},
"description": "Actionable next step for the caller.",
"additionalProperties": {}
},
"retryable": {
"type": "boolean",
"description": "Whether retrying may succeed."
}
},
"additionalProperties": {}
},
"message": {
"type": "string",
"description": "Human-readable description of what went wrong."
}
},
"description": "Present when the call failed. Absent on success.",
"additionalProperties": {}
},
"notice": {
"type": "string",
"description": "On a count of zero, names supplied event_type, magnitude_type, or product_type values USGS does not list, with likely matches, or suggests a lowercase magnitude_type spelling for EMSC. Absent when neither applies."
},
"source": {
"enum": [
"usgs",
"emsc"
],
"type": "string",
"description": "Data source used."
},
"queryEcho": {
"type": "object",
"required": [
"source"
],
"properties": {
"source": {
"enum": [
"usgs",
"emsc"
],
"type": "string",
"description": "Data source queried."
},
"min_cdi": {
"type": "number",
"description": "Applied minimum DYFI community intensity (CDI); absent for EMSC."
},
"min_mmi": {
"type": "number",
"description": "Applied minimum ShakeMap intensity (MMI); absent for EMSC."
},
"end_time": {
"type": "string",
"description": "Applied end time; absent means upstream current-time default."
},
"latitude": {
"type": "number",
"description": "Circle latitude, degrees."
},
"min_felt": {
"type": "number",
"description": "Applied minimum DYFI response count; absent for EMSC."
},
"longitude": {
"type": "number",
"description": "Circle longitude, degrees."
},
"radius_km": {
"type": "number",
"description": "Search radius in km sent upstream (converted to degrees for EMSC)."
},
"event_type": {
"type": "string",
"description": "Applied event type; absent for EMSC."
},
"start_time": {
"type": "string",
"description": "Applied start time; defaults to 30 days before end/now."
},
"alert_level": {
"type": "string",
"description": "Applied minimum PAGER alert; absent for EMSC."
},
"max_depth_km": {
"type": "number",
"description": "Applied maximum depth, km."
},
"max_latitude": {
"type": "number",
"description": "Northern bounding-box edge sent upstream, in degrees."
},
"min_depth_km": {
"type": "number",
"description": "Applied minimum depth, km."
},
"min_latitude": {
"type": "number",
"description": "Southern bounding-box edge sent upstream, in degrees."
},
"product_type": {
"type": "string",
"description": "Applied required product; USGS only."
},
"max_longitude": {
"type": "number",
"description": "Eastern bounding-box edge sent upstream, in degrees."
},
"max_magnitude": {
"type": "number",
"description": "Applied maximum magnitude."
},
"min_longitude": {
"type": "number",
"description": "Western bounding-box edge sent upstream, in degrees."
},
"min_magnitude": {
"type": "number",
"description": "Applied minimum magnitude."
},
"review_status": {
"enum": [
"automatic",
"reviewed"
],
"type": "string",
"description": "Applied review status; USGS only."
},
"magnitude_type": {
"type": "string",
"description": "Applied magnitude type."
},
"min_significance": {
"type": "number",
"description": "Applied minimum significance; absent for EMSC."
}
},
"description": "Echo of the effective parameters the count covers, including server-resolved defaults. Read start_time and end_time to know which window the count spans — a filter absent here was not sent upstream.",
"additionalProperties": false
},
"max_allowed": {
"type": [
"number",
"null"
],
"description": "Upstream single-request threshold: 20000 for USGS; null because EMSC count omits it. Offset paging can retrieve larger sets."
},
"exceeds_limit": {
"type": "boolean",
"description": "Count exceeds the single-request threshold (20000 for EMSC despite null max_allowed). Use search offset paging or narrower filters."
},
"ignoredFilters": {
"type": "array",
"items": {
"type": "string",
"description": "Name of an input filter that was not applied."
},
"description": "USGS-only filters supplied in the input but not sent upstream because source=emsc does not support them. The count is NOT constrained by these — re-run with source=usgs to apply them. Absent when every supplied filter was applied."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true
}
}Query keyless USGS ComCat and independent global EMSC SeismicPortal data. earthquake_get_feed covers USGS current activity; earthquake_search_events covers historical/filtered queries, sized with earthquake_count_events. Search returns limit events per page (at most 1,000); continue with nextOffset, including beyond 20,000 matches. earthquake_get_event takes the id of any feed or search result, USGS (us6000sznj) or EMSC (20190706_0000043). USGS events add PAGER, DYFI, ShakeMap and other products, plus include groups (alternative origins, magnitudes, phase arrivals, aftershock forecast, PAGER loss estimates); EMSC events carry neither, and EMSC search discloses unsupported filters in ignoredFilters.
Names, descriptions and schemas were written by the server and are shown as data.
Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators.