earthquake-mcp-server
MCP server by cyanheads Community
Search USGS and EMSC seismic data through MCP, with real-time feeds, event queries, and earthquake counts. It suits developers and users who want earthquake data inside an AI assistant.
Install earthquake-mcp-server
Built from the published package, never by AI.
claude mcp add earthquake-mcp-server -- npx -y @cyanheads/earthquake-mcp-serverRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"earthquake-mcp-server": {
"args": [
"-y",
"@cyanheads/earthquake-mcp-server"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install earthquake-mcp-server in Claude Desktop
{
"mcpServers": {
"earthquake-mcp-server": {
"args": [
"-y",
"@cyanheads/earthquake-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"earthquake-mcp-server": {
"args": [
"-y",
"@cyanheads/earthquake-mcp-server"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add earthquake-mcp-server -- npx -y @cyanheads/earthquake-mcp-server{
"mcpServers": {
"earthquake-mcp-server": {
"args": [
"-y",
"@cyanheads/earthquake-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install earthquake-mcp-server in Antigravity CLI
gemini mcp add earthquake-mcp-server npx -y @cyanheads/earthquake-mcp-serverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the earthquake-mcp-server block.
About
The earthquake-mcp-server gives an AI assistant access to seismic data from USGS ComCat and the EMSC SeismicPortal. It can fetch USGS real-time earthquake feeds by magnitude tier and time window, search and count events by time, magnitude, depth, and location, and pull detailed analysis for a single event. It runs over STDIO or Streamable HTTP, and the source lists a public hosted server.
Search results include normalized events, with EMSC event certainty and USGS associated IDs. Single-event lookups accept USGS or EMSC IDs and can add origins, magnitudes, phase arrivals, an aftershock forecast, and PAGER loss estimates for USGS events. The project is aimed at people who want earthquake data available inside an AI assistant. It provides four tools, three resources, and an earthquake-guide skill.
Written from the project's README and checked against it.
Tools it gives your assistant
earthquake_get_feedFetches a USGS pre-computed real-time earthquake feed by magnitude tier and time window.earthquake_search_eventsSearches earthquakes by time range, magnitude, depth, location radius, PAGER alert level, and more.earthquake_count_eventsCounts earthquakes matching filters without fetching full records.earthquake_get_eventFetches one earthquake by USGS or EMSC event ID with optional analysis products.
What you need
- npx, to run the npm package
- An MCP host that supports STDIO or Streamable HTTP
| Setting | Needed | What it is |
|---|---|---|
MCP_Environment variable | Optional | Sets the minimum log level for output (e.g., 'debug', 'info', 'warn'). Default: info |
USGS_Environment variable | Optional | USGS API base URL. Override for testing or mirroring. Default: https://earthquake.usgs.gov |
EMSC_Environment variable | Optional | EMSC API base URL. Override for testing or mirroring. Default: https://www.seismicportal.eu |
DEFAULT_Environment variable | Optional | Events earthquake_search_events returns when a call omits limit (1-1000). Default: 15 |
REQUEST_Environment variable | Optional | Per-attempt HTTP timeout in milliseconds (1000-120000). Every feed, search, count, and event call also runs under one 50-second total deadline across its requests and retries. Default: 10000 |
EARTHQUAKE_Environment variable | Optional | Clamp a search or feed limit above 1000 to 1000 with a notice. Set false to advertise and enforce a maximum of 1000 instead. Default: true |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Show me the earthquakes of magnitude 4.5 or higher from the past day
- Count USGS events deeper than 300 km in the last month
- Get the PAGER alert level and origins for event us6000sznj
Good to know
- USGS feeds are cached, so use search for historical or filtered queries.
- EMSC does not support product_type, review_status, min_mmi, or min_cdi filters.
- Count results flag a 20,000-event single-request threshold, not a retrieval ceiling.
- Feed continuation cursors are retained for up to 15 minutes.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to earthquake-mcp-server
All alternatives →Standardizes lab test names to LOINC codes and units to UCUM, and symptoms and diagnoses to ICPC-3, offline and with no API key. Built for people who want their health records on their own machine and queryable by an AI agent over MCP.
RuView is a WiFi sensing platform and MCP server that uses low-cost ESP32 sensors to detect people, breathing and heart rate. It is for developers and operators who want room sensing without cameras or wearables.
ToolUniverse is an MCP server that gives AI assistants access to more than 2,700 scientific tools for life science, research and literature. It is aimed at AI scientists, researchers and developers building research systems.
Mirobody is a self-hosted engine that turns lab reports, wearable data and genetic files into a single health record. Its built-in MCP server lets an AI assistant query that record and trace each number back to its source file. It is for people who want their health data on their own machine.
ScanSci PDF gets academic papers for AI agents. Give it a DOI, arXiv ID, article link, reference list or research question, and it searches candidate sources and tries to fetch accessible full texts. It is for students, researchers and labs.
Searches CNKI and Web of Science through an MCP server, returning records with impact factors. It can also open a paper in the user's signed-in browser and read its full text. Built for researchers who want AI answers on science topics backed by the source article.
Compare with Mirobody, Ruview or tooluniverse
earthquake-mcp-server: common questions
Does it cover both USGS and EMSC earthquake data?
Yes. Search and count can target either usgs or emsc, and the event lookup routes EMSC unids to EMSC SeismicPortal and other IDs to USGS.
Which transports does the server support?
The source says it runs over STDIO or Streamable HTTP. It also lists a public hosted server endpoint.
Can it return shaking intensity data?
Yes for USGS events. The min_mmi and min_cdi filters select events by ShakeMap and DYFI intensity, and the event lookup can return ShakeMap and DYFI detail.
How do I install earthquake-mcp-server?
In Claude Code run claude mcp add earthquake-mcp-server -- npx -y @cyanheads/earthquake-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is earthquake-mcp-server the official server?
earthquake-mcp-server is a community project by cyanheads, not verified by a company domain.
Is earthquake-mcp-server free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is earthquake-mcp-server safe to use?
It scores 76 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to earthquake-mcp-server?
Similar MCP servers: Mirobody, Ruview, tooluniverse, Mirobody.
Does earthquake-mcp-server work with ChatGPT?
Yes. Add its server URL in ChatGPT as a custom connector. See MCP in ChatGPT.
