athena-quake-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@athena-quake-mcpShow me recent earthquakes near Japan with magnitude 5+"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🌍 Earthquake Activity Explorer — Athena MCP Agent
An MCP server that exposes the live USGS earthquake catalogue and renders it as an embedded interactive widget inside Athena.
Built for the Athena AI Interview Challenge — subject: Earthquake activity explorer.
Live endpoints
URL | |
MCP endpoint |
|
Widget preview | |
Hydration harness | |
Health |
No authentication — any MCP host can connect directly.
Related MCP server: Comprehensive Earthquake Monitoring MCP Server
Real open/public data sources
No API keys, no scraping — official public feeds.
Source | Use |
Every event: magnitude, depth, place, time, coordinates, tsunami flag, felt reports, significance | |
Resolves "near Tokyo" into the lat/lon + radius the USGS query needs |
MCP tools
explore_earthquakes
Opens the interactive explorer. Worldwide, or centred on a place.
{ "place": "Tokyo, Japan", "radiusKm": 800, "days": 30, "minMagnitude": 4.5 }Returns a text summary (for the model), structuredContent (for the widget and
programmatic use), and the interactive widget.
list_significant_earthquakes
The most significant recent events worldwide, ranked by magnitude — used to find where activity is happening before drilling in.
{ "days": 7, "minMagnitude": 5.0, "limit": 10 }The widget — interactions
Four meaningful interactions (two were required), all relevant to the subject:
Time range — 24h / 7d / 30d. Re-filters the map and the event list together.
Magnitude threshold — All / 4+ / 5+ / 6+. Isolates the significant events.
Sort order — Recent / Strongest / Deepest. Depth sorting surfaces the deep-focus subduction events that a magnitude sort buries.
Event selection — click any list row or map circle. Expands full USGS detail (UTC time, magnitude type, depth band, coordinates, felt reports, significance score, link to USGS) and highlights that epicentre while dimming the rest.
Hovering any map circle scrubs a readout without changing state.
The map is a plain equirectangular projection with a graticule — no tiles, no external images. Circles are sized by magnitude and coloured by depth band (shallow <70km / intermediate 70–300km / deep >300km), which makes the Ring of Fire resolve out of the data itself.
Selecting an event also emits a follow-up prompt to the host, so the conversation can continue from what the user clicked.
Design notes
One dataset, every interaction. A single generous USGS query (up to 30 days, up to 500 events, ~27KB) backs the widget; every filter, sort and selection runs client-side. No interaction costs a round-trip, and the widget needs no network access of its own — which matters because iframe CSP varies between hosts.
Two render paths, one renderer. Hosts disagree on how a tool returns UI:
Some render the embedded resource in the tool result → they get
renderWidget(payload), data inlined.Others resolve the tool's static
_meta.ui.resourceUriviaresources/read, fetch the widget once as a template, then push data in at runtime → they getrenderWidgetTemplate(), which hydrates through the ext-apps bridge.
resources/read branches on whether the URI carries query params, so both paths serve
the queried data rather than a generic sample. Both build from the same boot()
renderer, so the UI cannot drift between them.
Graceful degradation. Hosts with no widget support still receive a complete text
summary plus structuredContent, so the model can answer regardless.
Safety. USGS place strings are third-party input and are rendered exclusively via
textContent / DOM construction — never innerHTML.
Run locally
npm install
npm run dev # http://localhost:3000/mcpSmoke test:
curl -s http://localhost:3000/mcp \
-H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"explore_earthquakes","arguments":{"days":7,"minMagnitude":4.5}}}'Verify the hydration path without a chat client — the harness iframes the data-less template and posts a payload in exactly as a host does:
http://localhost:3000/widget/harness?days=7&minMag=4.5Stack
Zero runtime dependencies. Hand-rolled JSON-RPC 2.0 over Streamable HTTP
(POST /mcp, SSE-framed when the client's Accept header asks for it), deployed as a
Node serverless function on Vercel. The ext-apps browser bundle is vendored into
lib/extAppsBundle.js via npm run build:bundle so it is traced into the serverless
bundle by a static import rather than a runtime fs read.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceProvides access to the USGS Quakes API within Claude Desktop, enabling users to retrieve earthquake data and details through natural language queries.1MIT
- Alicense-qualityDmaintenanceIntegrates multiple earthquake data sources (IRIS, USGS, GNSS) for comprehensive seismic monitoring, analysis, and risk assessment via natural language queries.1MIT
- Alicense-qualityCmaintenanceProvides access to the USGS Earthquake Catalog for querying earthquake events via the FDSNWS API, enabling natural language questions about earthquake data.8MIT
- AlicenseAqualityDmaintenanceReal-time earthquake data and seismic monitoring for AI agents via the USGS Earthquake Catalog API.8MIT
Related MCP Connectors
Search USGS and EMSC seismic data — real-time feeds, event queries, and earthquake counts.
Global earthquake events from the USGS, 2150 BC-present: magnitude, depth, location, counts.
USGS Earthquake Catalog MCP (FDSNWS event API).
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/zordhalo/athena-quake-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server