earthquake-mcp-server
Search USGS and EMSC seismic data — real-time feeds, event queries, and earthquake counts via MCP. STDIO or Streamable HTTP.
Install / Use
claude mcp add cyanheads -- npx -y github:cyanheads/earthquake-mcp-serverIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
MarketingSupported Platforms
Tags
Our assessment of earthquake-mcp-server
earthquake-mcp-server scores 83/100 on our quality scale, 468th of 585 Marketing skills we index.
Its MCP Server is 21 KB long, well organised into 26 sections with 10 code examples: a thorough specification that gives an agent plenty to work with.
It has 3 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated 5 days ago, so earthquake-mcp-server is actively maintained.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 92/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
earthquake-mcp-server compared with similar skills
All 4 of these similar skills score higher than earthquake-mcp-server; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| earthquake-mcp-server (this skill)by cyanheads | 83 | 3 | 5d ago | MCP Server |
| Agent-Reachby Panniantong | 100 | 108.0k | 1d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 78.7k | today | CLAUDE.md |
| CowAgentby zhayujie | 100 | 47.8k | today | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 92.8k | today | MCP Server |
Frequently asked questions
- How do I install earthquake-mcp-server?
- Run
claude mcp add cyanheads -- npx -y github:cyanheads/earthquake-mcp-server. The install tabs above show the steps for each supported agent. - Which AI agents does earthquake-mcp-server work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is earthquake-mcp-server safe to use?
- It is Apache-2.0-licensed and scores 92/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is earthquake-mcp-server still maintained?
- The repository was last updated 5 days ago, so earthquake-mcp-server is actively maintained.
Skill content
View source on GitHubPublic Hosted Server: https://earthquake.caseyjhand.com/mcp
</div>Overview
Seismic data from USGS ComCat and the EMSC SeismicPortal. Fetch real-time earthquake feeds, search and count seismic events by time, magnitude, depth, and location, and pull full analysis detail for a single event.
Tools
| Tool | Description |
|:---|:---|
| earthquake_get_feed | Fetch a USGS pre-computed real-time earthquake feed by magnitude tier and time window |
| earthquake_search_events | Search earthquakes by time range, magnitude, depth, location radius, PAGER alert level, or felt reports |
| earthquake_count_events | Count earthquakes matching filters without fetching full records |
| earthquake_get_event | Fetch one earthquake by USGS or EMSC event ID, with USGS analysis products and opt-in origins, magnitudes, phase arrivals, and aftershock forecast |
Resources
| Resource | Description |
|:---|:---|
| earthquake://feed/{magnitude_tier}/{time_window} | First 100-event page of a USGS real-time feed, with an exact continuation URI |
| earthquake://feed/{magnitude_tier}/{time_window}/page/{cursor} | Continue the retained feed generation using the returned next_uri |
| earthquake://event/{event_id} | One earthquake by USGS or EMSC event ID as injectable context, with the same detail product projection as earthquake_get_event |
Skill
| Skill | Description |
|:---|:---|
| earthquake-guide | Agent guide for the earthquake_* tools: identifier chains between USGS and EMSC, coverage and magnitude-scale gates, and when product and include groups answer a question. Loaded by plugin hosts from skills/ and served over MCP as skill://earthquake-guide/SKILL.md |
Capability reference
earthquake_get_feed <sub>tool</sub>
- Choose a magnitude tier (
all,1.0,2.5,4.5,significant) and a window (hour,day,week,month). USGS caches these feeds; useearthquake_search_eventsfor historical or filtered queries. - Returns events, page count, generation time, and source feed URL.
allincludes microseisms;significantis USGS-curated using magnitude, felt reports, and PAGER impact. - Each page returns
limitevents (default 15), fewer only on the last page. Alimitabove 1,000 returns 1,000 with a notice naming the requested and applied values; withEARTHQUAKE_CLAMP_LIMITS=falseit is rejected instead.limitapplies to the first page; later pages keep the page size in the cursor.totalCountreports the whole feed; passnextCursorback unchanged with the same tier and window. - Continuations read the first-read generation, unaffected by upstream edits. Retention lasts up to 15 minutes, subject to capacity eviction and restart.
cursor_expiredmeans restart without a cursor; legacy cursors must also be restarted.
earthquake_search_events <sub>tool</sub>
- Search
usgsoremscby time, magnitude, depth, radius, or bounding box. A radius requireslatitude,longitude, andradius_kmtogether; box edges are independently optional, support antimeridian bounds up to ±360°, and intersect a supplied circle. - Returns normalized events with
event_type, EMSC'sevent_certainty, and USGS'sassociated_ids(other network IDs merged into the event).ignoredFiltersnames unsupported filters;queryEchoreports the effective query. - Both search and count accept open
magnitude_typevalues on either source.product_type(required product, e.g.moment-tensor) andreview_status(automaticorreviewed) apply only to USGS; EMSC names them inignoredFilters. Blank values mean omitted. - Date-only bounds (including expanded year/year-month forms) mean midnight at the start of the named day on both sources:
2026-10-10becomes2026-10-10T00:00:00. Explicit time and timezone suffixes are preserved; unpadded date components are padded. Offsetless times use UTC for the 30-day default.queryEchoshows the exact effective bounds. - Sort by time or magnitude in either direction. Each call requests
limitevents upstream (default 15, set byDEFAULT_LIMIT) and returns them all, fewer only on the last page. Alimitabove 1,000 returns 1,000 with a notice naming the requested and applied values; withEARTHQUAKE_CLAMP_LIMITS=falseit is rejected instead.queryEcho.limitreports the applied limit. Continue with the returnednextOffset(offset plus the events returned, counting from 1) and the same filters, limit, and order. Search pages read the current catalog, so upstream edits can affect later pages. - Strictly inverted magnitude, depth, or explicit time bounds fail locally as
invalid_range, naming both values and recovery. Equal and single bounds remain valid; time comparisons use UTC instants, including explicit offsets. Calendar-invalid values remain for upstream rejection. - A nonempty short page establishes
totalCount; an empty first page establishes zero, while an empty later page leaves the total unknown. Full pages use a count lookup, withcountUnavailableon failure. Feed, search, and event calls each share one 50-second deadline across their requests and retries; for search that includes the count lookup. Cancellation remains cancellation.
earthquake_count_events <sub>tool</sub>
- Count matches using the same filters as
earthquake_search_events, without fetching events. Omitstart_timefor the last 30 days;queryEchoreports the resolved window and applied filters. exceeds_limitflags the 20,000-event single-request threshold, not a retrieval ceiling: search offset paging can retrieve larger match sets.max_allowedis 20,000 for USGS and null for EMSC;ignoredFiltersnames filters the source cannot apply.
earthquake_get_event <sub>tool</sub>
-
Pass the
idof any feed or search result. An EMSC unid from asource=emscsearch (eight digits, underscore, seven digits, e.g.20190706_0000043) is looked up on EMSC SeismicPortal; every other ID goes to USGS (e.g.us6000sznj). -
A USGS event returns the normalized event plus optional
detail: PAGER, ShakeMap, DYFI, moment tensor, ground-failure alerts, origin quality (includingdepth_type, which separates an assigned depth from a located one), and finite-fault dimensions. Groups are omitted when none of their projected fields is available; absence does not imply zero impact.associated_idslists the other network IDs USGS holds for the event; an alias such asus70004bn0returns the preferred event (ci38457511) with the alias listed there. -
An EMSC event returns the same normalized event its search result carries, with no
detailand noassociated_ids. -
includeopts into more for USGS events:| Group | Source | Extra requests | |:---|:---|:---| |
origins| Everyoriginproduct in the event response, preferred first | None | |magnitudes| Event-level magnitudes from the preferredphase-dataproduct's QuakeML, with a station count where published | One, shared witharrivals| |arrivals| Every phase arrival of that document's preferred origin, joined to its pick and sorted nearest first | One, shared withmagnitudes| |aftershock_forecast| The USGS Operational Aftershock Forecast: each window's probability of an aftershock at or above each magnitude, its expected-count range, and the chance of one as large as the mainshock | One | -
A requested group that is not returned is listed in
unavailable_includes:not_publishedwhen the event has no such product (every group on an EMSC event),fetch_failedwhen the download failed, returned HTML, did not parse, pointed outside the configured USGS origin, or answered with a redirect. The event,detail, and other groups still return; cancellation propagates. The event request and its product downloads share one 50-second deadline. -
Blank IDs fail locally; canonical IDs and aliases match case-insensitively. ShakeMap includes the producer's
code_versionwhen published.
earthquake://feed/{magnitude_tier}/{time_window} <sub>resource</sub>
- Choose the same magnitude tiers and time windows as
earthquake_get_feed; all 20 combinations are listed as browsable resources. - Returns 100 events per
application/jsonpage in the compact event projection, plustotalCount,truncated,nextCursor, andnext_uri. Readnext_uriverbatim until it is absent. The continuation URI isearthquake://feed/{magnitude_tier}/{time_window}/page/{cursor}. - Feed resources share retained generations with
earthquake_get_feed. Cache hints are private with zero lifetime because continuation tokens belong to the requesting tenant. Upstream failures classified asServiceUnavailableexposefeed_unavailable; those classified asTimeoutexposefeed_timeout, each with recovery guidance and no captured upstream body. Availability failures preserve numeric HTTP status; HTTP 501 remains non-retryable and points to EMSC search. Other error classes propagate unchanged.
earthquake://event/{event_id} <sub>resource</sub>
- Pass a USGS or EMSC
event_idfrom a feed or search result. Returns the same event and optionaldetailproducts asearthquake_get_event; it takes noinclude. - Uses that tool's
event_deleted,not_found,source_unavailable, andsource_timeouterror contract.
Features
Built on @cyanheads/mcp-ts-core: stdio and Streamable HTTP transports, pluggable auth (none / jwt / oauth), swappable storage (in-memory, filesystem, Supabase, Cloudflare KV/R2/D1), structured logging with optional OpenTelemetry tracing.
USGS/
Truncated for display — read the full file on GitHub.
Related Skills
Agent-Reach
108.0kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
78.7kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
CowAgent
47.8kOpen-source personal AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install.
Scrapling
92.8k🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
