nz-geonet-seismic-hazards-mcp
# nz-geonet-seismic-hazards-mcp
Real-time New Zealand earthquake and volcanic hazard telemetry server over Model Context Protocol (MCP) powered by GNS Science GeoNet. Risk analysts, infrastructure teams, and emergency planners can inspect live MMI earthquake feeds, Volcanic Alert Levels, magnitude statistics, and CAP 1.2 alerts with zero API keys and zero sign-up. It connects right away.
## Hosted endpoint
Point any Streamable HTTP MCP client at the free hosted Cloudflare Worker endpoint.
```text
https://nz-geonet-seismic-hazards-mcp.lipmichal.workers.dev/mcp
```
## Available tools
| Tool | Purpose |
| --- | --- |
| `list_geonet_earthquakes` | List recent New Zealand earthquakes filtered by Modified Mercalli Intensity (MMI) and magnitude |
| `get_geonet_quake_detail` | Fetch full seismic parameters and coordinates for a specific GeoNet earthquake public ID |
| `get_geonet_volcano_alerts` | Retrieve current Volcanic Alert Levels (VAL) and aviation color codes for New Zealand volcanoes |
| `get_geonet_quake_stats` | Get 7-day, 28-day, and 365-day New Zealand earthquake magnitude distribution totals from GeoNet |
| `get_geonet_cap_alerts` | List official GeoNet Common Alerting Protocol (CAP 1.2) earthquake hazard alerts |
## Client configuration
Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.
```json
{
"mcpServers": {
"nz-geonet-seismic-hazards": {
"url": "https://nz-geonet-seismic-hazards-mcp.lipmichal.workers.dev/mcp"
}
}
}
```
## Run locally over stdio
You can also run the server locally on Node 20 or newer over stdio.
```bash
npm install
npm run build
npm start
```
## Compliance and reliability
Every upstream request queries `api.geonet.org.nz/` with a polite `User-Agent` header (`mcpstamp-nz-geonet-seismic-hazards/1.0.1 (hello@mcpstamp.com)`) and automatic retry on transient network or 5xx errors. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't linger in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates future protocol versions down to the SDK version cleanly.
## More MCP servers and readiness check
This server belongs to the public MCP directory maintained by MCPStamp and Zovo.
- [Free live-data MCP directory](https://www.mcpstamp.com/free-servers/) with hosted keyless endpoints and client setup guides.
- [Free MCP readiness checker](https://www.mcpstamp.com/check/) to score any MCP server for Claude, ChatGPT, and registry submission.
- [MCP Readiness Audit ($490)](https://www.mcpstamp.com/services/#audit) for teams shipping a production server who want a hands-on security, schema, and store review.
- [Zovo Pro MCP Bundle ($39 one-time)](https://mcp.zovo.one/buy/bundle?src=gh.nz-geonet-seismic-hazards-mcp) with hosted commercial servers and priority endpoints.
TDQS
Scored across 5 tools
Each tool targets a clearly different operation: aggregate stats, filtered listing, single-event detail, volcano alert levels, and CAP alerts. There is no realistic way for an agent to confuse these purposes, and the list/stat distinction is reinforced by the description wording.
All names follow a strict verb_geonet_noun pattern (get_/list_ prefix plus a geonet-scoped domain noun). The get_/list_ variation maps cleanly onto single-object vs collection retrieval rather than being an inconsistency.
Five tools is well-scoped for a narrow, single-source (GeoNet) hazard server. Each tool covers a distinct facet — stats, event list, event detail, volcano, CAP alerts — with no filler.
The surface covers the main GeoNet data families: earthquake statistics, event listing/detail, volcanic alert levels, and CAP alerts. Minor gaps remain, such as region/locality or time-range filtering and no tsunami or station/sensor data, but these are workarounds rather than dead ends.