Skip to main content
Glama

earthquake-mcp-server

Server Details

Search USGS and EMSC seismic data — real-time feeds, event queries, and earthquake counts.

Status
Healthy
Last Tested
Transport
Streamable HTTP
URL
Repository
cyanheads/earthquake-mcp-server
GitHub Stars
1

Glama MCP Gateway

Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.

MCP client
Glama
MCP server

Full call logging

Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.

Tool access control

Enable or disable individual tools per connector, so you decide what your agents can and cannot do.

Managed credentials

Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.

Usage analytics

See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.

100% free. Your data is private.
Tool DescriptionsA

Average 4.7/5 across 4 of 4 tools scored.

Server CoherenceA
Disambiguation5/5

Each tool targets a distinct operation: counting, fetching a single event by ID, retrieving real-time feeds, and performing filtered searches. There is no overlap or ambiguity.

Naming Consistency4/5

All tools use snake_case and the common prefix 'earthquake_', but the verbs are not uniformly structured: two use 'get_', one uses a bare verb ('count'), and one uses a noun as verb ('search'). This minor inconsistency slightly detracts from a perfect pattern.

Tool Count5/5

Four tools cover the core needs for an earthquake data server: counting, detail, real-time feeds, and search. This is a well-scoped, focused set without unnecessary bloat.

Completeness5/5

The tools provide complete coverage for querying earthquake data: statistical counts, individual event details, curated real-time feeds, and flexible filtered searches across catalogs. No obvious gaps for the intended domain.

Available Tools

4 tools
earthquake_countCount EarthquakesA
Read-onlyIdempotent
Inspect

Count earthquakes matching filters without fetching full records. Use for statistical queries ("how many M5+ earthquakes in 2025?") or to gauge result size before calling earthquake_search. When exceeds_limit is true, the count exceeds 20,000 and a full search would be truncated — narrow filters before fetching. USGS returns the max_allowed cap (20,000); EMSC count endpoint does not return this field (max_allowed will be null). USGS-specific filters (alert_level, min_felt, min_significance) are ignored when source=emsc.

ParametersJSON Schema
NameRequiredDescriptionDefault
sourceNoData source. "usgs" covers global events with PAGER, DYFI, and ShakeMap metadata. "emsc" covers the European-Mediterranean region.usgs
end_timeNoEnd of time range as ISO 8601. Defaults to current time if omitted.
latitudeNoLatitude for radius search. Requires longitude and radius_km.
min_feltNoMinimum number of DYFI (Did You Feel It?) reports. Use to count events with confirmed public impact. Only available from USGS.
longitudeNoLongitude for radius search. Requires latitude and radius_km.
radius_kmNoSearch radius in kilometers from the lat/lon point. Converted to degrees for EMSC (1° ≈ 111.2 km).
start_timeNoStart of time range as ISO 8601 (e.g. "2026-01-01" or "2026-05-23T00:00:00"). Defaults to 30 days before end_time if omitted.
alert_levelNoMinimum PAGER alert level. PAGER estimates economic loss and casualties. "green" = minimal impact; "red" = extreme. Only available from USGS.
max_depth_kmNoMaximum depth in kilometers.
min_depth_kmNoMinimum depth in kilometers. Shallow quakes (0–70 km) typically cause more surface damage than deep quakes (>300 km).
max_magnitudeNoMaximum magnitude.
min_magnitudeNoMinimum magnitude (Richter or equivalent). M2.5+ is felt by some people; M5+ can cause damage; M7+ is major.
min_significanceNoMinimum USGS significance score (0–2000+). Combines magnitude, felt reports, and PAGER estimates. Significant events typically score 600+. Only available from USGS.

Output Schema

ParametersJSON Schema
NameRequiredDescription
countYesNumber of events matching the query.
sourceYesData source used.
max_allowedYesMaximum events the API would return for a full fetch. 20000 for USGS. Null for EMSC — the EMSC count endpoint does not return this field.
exceeds_limitYesTrue when count exceeds 20000 — a full earthquake_search would be truncated. For EMSC, evaluated against the known 20000 limit since max_allowed is not returned. Narrow filters to retrieve all matching events.
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations (readOnlyHint, openWorldHint, idempotentHint) are present and consistent. Description adds significant context: explains USGS vs EMSC differences, field behaviors (max_allowed, ignored filters), and truncation warning. No contradictions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Description is 4 sentences, front-loaded with purpose. Every sentence provides necessary information without redundancy. No fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 13 parameters, full schema coverage, and presence of output schema, the description adequately covers purpose, usage, source differences, and truncation behavior. No missing critical information.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description adds value by noting that USGS-specific filters are ignored when source=emsc, which is not fully covered in individual parameter descriptions. This enhances parameter understanding.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Count earthquakes matching filters without fetching full records', specifying the verb 'Count', resource 'earthquakes', and contrasting with 'earthquake_search'. It includes example queries, ensuring no confusion with sibling tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states use for statistical queries and to gauge result size before calling earthquake_search. Warns about truncation when exceeds_limit is true and advises narrowing filters. Also clarifies source-specific behavior (USGS vs EMSC).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

earthquake_get_eventGet Earthquake Event DetailA
Read-onlyIdempotent
Inspect

Fetch detail for a specific earthquake by USGS event ID. Returns felt reports count (DYFI), ShakeMap maximum intensity (MMI), PAGER alert level, tsunami flag, and magnitude type. Event IDs appear in the "id" field of earthquake_get_feed and earthquake_search results. This tool is USGS-only — EMSC events have no per-event detail endpoint.

ParametersJSON Schema
NameRequiredDescriptionDefault
event_idYesUSGS event ID, e.g. "hv74966427" or "us6000sznj". Found in the "id" field of earthquake_get_feed and earthquake_search results.

Output Schema

ParametersJSON Schema
NameRequiredDescription
eventYesFull earthquake event detail.
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already indicate readOnlyHint, openWorldHint, and idempotentHint. The description adds valuable behavioral context by listing the specific data fields returned and the USGS-only limitation. No destructive behavior is mentioned, consistent with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise at four sentences, each serving a clear purpose: defining the tool, listing outputs, explaining ID sourcing, and noting a limitation. No redundancy or wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given that the tool has only one parameter, full schema coverage, a known output schema (not shown but exists), clear annotations, and a simple use case, the description covers all necessary context: what it does, what it returns, where IDs come from, and a notable exclusion (EMSC). No gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema already provides a detailed description of the event_id parameter (type, examples, source). The tool description reinforces this by mentioning event IDs appear in the 'id' field of other tools, adding minimal extra value. Schema coverage is 100%, so baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Fetch detail for a specific earthquake by USGS event ID' and lists the specific fields returned (DYFI, MMI, PAGER alert level, etc.). It distinguishes from sibling tools by noting that event IDs come from earthquake_get_feed and earthquake_search results.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context for when to use this tool: after obtaining an event ID from earthquake_get_feed or earthquake_search. It also warns that EMSC events are not supported due to no per-event endpoint. However, it does not explicitly name alternatives or state when not to use it beyond the USGS-only constraint.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

earthquake_get_feedGet USGS Earthquake FeedA
Read-onlyIdempotent
Inspect

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. For historical or filtered queries, use earthquake_search instead.

ParametersJSON Schema
NameRequiredDescriptionDefault
time_windowNoTime 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.day
magnitude_tierNoMinimum 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.2.5

Output Schema

ParametersJSON Schema
NameRequiredDescription
countYesNumber of events in the feed.
eventsYesEarthquake events, newest first.
feed_urlYesSource feed URL.
generated_atYesISO 8601 UTC timestamp when this feed was generated by USGS.
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already provide readOnlyHint, openWorldHint, and idempotentHint. The description adds valuable behavioral context: the feeds are CDN-cached, faster, and more available; explains the 'all' tier includes microseisms; and points out that the 'significant' tier is based on a USGS curation, not just magnitude. No contradiction with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise (3 sentences) and front-loaded with the primary action. Every sentence provides essential information without redundancy or fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has an output schema and the input schema is fully documented, the description covers all necessary context: use cases, performance characteristics, data volume expectations, and alternatives. No gaps are apparent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, and the description goes beyond by explaining the meaning of each enum value (e.g., 'all' includes microseisms, '1.0' is M1.0+, 'significant' is a curated selection). For time_window, it provides typical event count expectations (hour: 0-10, month: >10,000 for 'all'). This adds significant semantic value.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool fetches USGS earthquake feeds by magnitude tier and time window, using specific verbs and resources. It distinguishes from the sibling tool 'earthquake_search' by noting that these feeds are pre-computed for real-time queries, not for historical or filtered searches.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit guidance on when to use this tool ('what's happening now' queries) and when to use the alternative (earthquake_search for historical/filtered queries). It also notes performance and data volume characteristics (CDN-cached, event counts per time window) to aid decision-making.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Discussions

No comments yet. Be the first to start the discussion!

Try in Browser

Your Connectors

Sign in to create a connector for this server.