Skip to main content
Glama
earthquake-mcp-server

earthquake-mcp-server

by AiAgentKarl

earthquake-mcp-server

PyPI version License: MIT Python 3.10+

Real-time earthquake data and seismic monitoring for AI agents via the USGS Earthquake Catalog API. No API key required — all data is open and free.

Features

  • Real-time data from the USGS Earthquake Hazards Program

  • No API key needed — fully open data

  • Global coverage — all earthquakes worldwide

  • Tsunami warnings, felt reports, and PAGER alert levels

  • Magnitude filtering, date ranges, and radius search

  • Historical data going back decades

Related MCP server: usgs-earthquakes

Tools

Tool

Description

tool_get_recent_earthquakes

Recent earthquakes (last N hours), filtered by magnitude

tool_search_earthquakes

Search by date range and magnitude

tool_get_significant_earthquakes

Major earthquakes (M5.0+) sorted by magnitude

tool_earthquakes_near_location

Earthquakes within a radius of lat/lon coordinates

tool_get_seismic_summary

24h global seismic activity summary with statistics

tool_get_earthquake_count

Count earthquakes in a time range

tool_get_largest_earthquakes

Top N largest earthquakes in the last N years

tool_get_magnitude_info

Educational: Moment Magnitude Scale explained

Installation

pip install earthquake-mcp-server

Usage with Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "earthquake": {
      "command": "earthquake-mcp-server"
    }
  }
}

Example Queries

  • "Show me all earthquakes in the last 24 hours with magnitude 4.0+"

  • "Were there any significant earthquakes near Japan this week?"

  • "What is the seismic activity summary for today?"

  • "Find earthquakes near coordinates 35.6°N, 139.7°E (Tokyo) in the last 30 days"

  • "What are the 10 largest earthquakes in the last year?"

  • "How strong was the strongest earthquake this month?"

Data Source

All data comes from the USGS Earthquake Catalog API, maintained by the U.S. Geological Survey. Data is real-time and updated continuously.

License

MIT License — see LICENSE

Available Tools

8 tools
tool_earthquakes_near_locationB

Erdbeben in der Naehe eines Ortes (Koordinaten) abrufen.

NameRequiredDescriptionDefault
daysNoZeitraum in Tagen (Standard: 30)
limitNoMaximale Anzahl Ergebnisse (Standard: 20, max: 100)
latitudeYesBreitengrad (-90 bis 90)
longitudeYesLaengengrad (-180 bis 180)
radius_kmNoSuchradius in Kilometern (Standard: 200 km)
min_magnitudeNoMinimale Magnitude (Standard: 2.0)

Output Schema

NameRequiredDescription

No output parameters

tool_get_earthquake_countB

Anzahl der Erdbeben fuer einen Zeitraum abrufen.

NameRequiredDescriptionDefault
end_dateNoEnddatum (Format: YYYY-MM-DD)
start_dateYesStartdatum (Format: YYYY-MM-DD)
min_magnitudeNoMinimale Magnitude

Output Schema

NameRequiredDescription

No output parameters

tool_get_largest_earthquakesC

Die groessten Erdbeben der letzten Jahre abrufen.

NameRequiredDescriptionDefault
limitNoAnzahl der Ergebnisse (Standard: 10, max: 50)
yearsNoZeitraum in Jahren (Standard: 1, max: 10)

Output Schema

NameRequiredDescription

No output parameters

tool_get_magnitude_infoA

Erklaerung der Richter-Skala und Magnitudenklassen abrufen. Bildungsinhalt zur Interpretation von Erdbebenstaerken.

Returns: Erklaerung der Magnitudenklassen und ihrer Auswirkungen

NameRequiredDescriptionDefault

No parameters

Output Schema

NameRequiredDescription

No output parameters

tool_get_recent_earthquakesB

Aktuelle Erdbeben der letzten N Stunden abrufen.

NameRequiredDescriptionDefault
hoursNoZeitraum in Stunden (Standard: 24, max: 168)
limitNoMaximale Anzahl Ergebnisse (Standard: 20, max: 100)
min_magnitudeNoMinimale Magnitude (Standard: 2.5)

Output Schema

NameRequiredDescription

No output parameters

tool_get_seismic_summaryA

Seismische Zusammenfassung der letzten 24 Stunden abrufen. Zeigt Aktivitaetsniveaus nach Magnitudenklasse.

Returns: Statistik-Uebersicht der globalen seismischen Aktivitaet

NameRequiredDescriptionDefault

No parameters

Output Schema

NameRequiredDescription

No output parameters

tool_get_significant_earthquakesC

Bedeutende/starke Erdbeben der letzten N Tage abrufen.

NameRequiredDescriptionDefault
daysNoZeitraum in Tagen (Standard: 30, max: 365)
limitNoMaximale Anzahl Ergebnisse (Standard: 20, max: 100)
min_magnitudeNoMinimale Magnitude (Standard: 5.0)

Output Schema

NameRequiredDescription

No output parameters

tool_search_earthquakesB

Erdbeben nach Datum und Magnitude suchen.

NameRequiredDescriptionDefault
limitNoMaximale Anzahl Ergebnisse (Standard: 20, max: 100)
regionNoBeschreibungstext zur Region (fuer die Ausgabe, nicht API-Filter)
end_dateNoEnddatum (Format: YYYY-MM-DD, Standard: heute)
start_dateYesStartdatum (Format: YYYY-MM-DD)
max_magnitudeNoMaximale Magnitude
min_magnitudeNoMinimale Magnitude

Output Schema

NameRequiredDescription

No output parameters

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 8 tool updatesv0.1.0
    • First observedtool_earthquakes_near_location
    • First observedtool_get_earthquake_count
    • First observedtool_get_largest_earthquakes
    • First observedtool_get_magnitude_info
    • First observedtool_get_recent_earthquakes
    • First observedtool_get_seismic_summary
    • First observedtool_get_significant_earthquakes
    • First observedtool_search_earthquakes

TDQS

A3.5/5.0

Scored across 8 tools

Disambiguation4/5

Most tools have distinct purposes: recent, search, significant, largest, near location, summary, count, and educational info. However, recent, search, and significant all return earthquake lists, and their boundaries could be clearer, though descriptions help differentiate time frames and filters.

Naming Consistency4/5

The naming pattern is mostly consistent with a 'tool_' prefix and a verb_noun structure (e.g., get_recent_earthquakes, search_earthquakes). One outlier is 'earthquakes_near_location' which lacks a leading verb, breaking the pattern slightly.

Tool Count5/5

With 8 tools, the server is well-scoped for an earthquake information service. Each tool covers a distinct query type without overwhelming the user, and there is no redundancy or unnecessary bloat.

Completeness4/5

The tool set covers common earthquake queries: recent, search, significant, largest, near location, summary, count, and educational info. Minor gaps include lack of a tool to fetch details for a specific earthquake by ID, but the current surface is functionally complete for most use cases.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides access to the USGS Earthquake Catalog for querying earthquake events via the FDSNWS API, enabling natural language questions about earthquake data.
    302 npm
    MIT
  • F
    license
    A
    quality
    D
    maintenance
    Exposes live earth-science data (e.g., earthquakes from USGS) as tools for MCP-compatible AI agents, enabling them to fetch and reason about real-time geophysical events.
    1
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables LLM agents to access live seismic data, calculate emergency vehicle routes, and dispatch first responders to incidents.
    MIT