mcp-fdsnws-event
OfficialThis server provides read-only, stateless MCP tools to search and retrieve earthquake event data from FDSN-compliant datacenters such as INGV (default), EMSC, GFZ, and USGS.
Search earthquakes (
fdsn_query_earthquakes): Filter by time window, magnitude range, depth range, geographic bounding box, radial search, pagination, and sorting; returns compact tabular results with depth in km.Get basic event details (
fdsn_get_earthquake_by_id): Retrieve preferred origin, preferred magnitude, station magnitudes, and amplitudes for a specific event by ID.Get seismic phase arrivals (
fdsn_get_arrivals_by_id): Fetch all phase arrivals and associated picks for an event.Get all magnitude solutions (
fdsn_get_allmagnitudes_by_id): Retrieve all computed magnitudes (ML, Mw, Mb, Md, etc.), including the preferred one.Get all origin solutions (
fdsn_get_allorigins_by_id): Retrieve all hypocenter locations for an event, including the preferred origin.Get focal mechanism data (
fdsn_get_focalmechanism_by_id): Fetch nodal planes, principal axes, and moment tensor components.
All tools support an optional datacenter parameter; by-id tools require valid event IDs copied from search results.
Provides tools for querying earthquake event data from the IRIS FDSN web service.
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., "@mcp-fdsnws-eventfind earthquakes in California today"
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.
FDSNWS Event MCP Server
An MCP (Model Context Protocol) server for querying the FDSN Web Service Event APIs of multiple seismological datacenters (INGV, EMSC, GFZ, USGS, etc.) and retrieving earthquake information as JSON.
Features
Multi-datacenter: works with any FDSN-compliant datacenter (INGV, EMSC, GFZ, USGS, and others)
6 MCP tools: event search, single-event detail, arrivals, magnitudes, origins, focal mechanisms
Two output levels: a compact tabular search result (from FDSN
format=text) and a full QuakeML→JSON detail for a single event (the*_by_idtools)stdio transport: JSON-RPC 2.0 over stdin/stdout
Containerized: ready to use with Docker
Related MCP server: quake-mcp
Installation
Prerequisites
Docker
Python 3.11+ (for local development)
Option A: Pull from Docker Hub (recommended)
Prebuilt multi-arch images (linux/amd64, linux/arm64) are published on Docker Hub:
# Latest release
docker pull ingv/mcp-fdsnws-event:latest
# A specific version (replace X.Y.Z with a published tag)
docker pull ingv/mcp-fdsnws-event:X.Y.ZAn
mcpovariant (OpenAPI/REST wrapper, see below) is published under the same repository with a-mcposuffix, e.g.ingv/mcp-fdsnws-event:latest-mcpoandingv/mcp-fdsnws-event:X.Y.Z-mcpo.
Option B: Build the container locally
# Clone the repository
git clone https://github.com/INGV/mcp-fdsnws-event.git
cd mcp-fdsnws-event
# Build the Docker image
docker build --no-cache -t ingv/mcp-fdsnws-event .Usage
Start the MCP server
# Pull the published image (first run only)
docker pull ingv/mcp-fdsnws-event
# Start the MCP server (stdio)
docker run -i --rm ingv/mcp-fdsnws-eventThe server listens for MCP connections over stdio.
Testing
# Full unified test suite (recommended)
./run_tests.sh
# Individual runs (if needed)
# Unit tests (offline)
docker run --rm ingv/mcp-fdsnws-event pytest
# MCP protocol smoke test
echo -e '{"jsonrpc": "2.0", "id": 1, "method": "initialize", "params": {"protocolVersion": "2024-11-05", "capabilities": {}, "clientInfo": {"name": "test", "version": "1.0.0"}}}\n{"jsonrpc": "2.0", "method": "notifications/initialized", "params": {}}\n{"jsonrpc": "2.0", "id": 2, "method": "tools/list", "params": {}}' | docker run -i --rm mcp-fdsnws-event-serverrun_tests.sh automatically runs:
Docker image build
Unit tests (offline)
MCP protocol smoke test
To also run the live tests against INGV: ./run_tests.sh --integration. This is the
recommended way to validate all functionality.
Available tools
The server exposes 6 tools. They all accept an optional datacenter parameter
(default: "INGV"). Supported datacenters: INGV, EMSC, GFZ, USGS, and other
FDSN-compliant services.
Note on IRIS. IRIS/EarthScope no longer serves the FDSNWS event service: both
service.iris.eduandservice.earthscope.organswer/fdsnws/event/1/querywith HTTP 410 Gone. It is therefore no longer advertised here; USGS is the recommended global substitute. Station and waveform services at EarthScope are unaffected (this server does not use them).
1. fdsn_query_earthquakes
Search seismic events with flexible filters. With no parameters it returns today's events.
Parameters (all optional):
starttime/endtime: time window (ISO format:YYYY-MM-DDTHH:MM:SS). Default: today 00:00:00–23:59:59 UTCupdatedafter: only events updated after this date/timeminmag/maxmag: magnitude rangemindepth/maxdepth: depth range (in km, the FDSN query-parameter unit)minlat/maxlat/minlon/maxlon: geographic bounding boxlatitude/longitude/minradiuskm/maxradiuskm: radial searchlimit: maximum number of events (default: 100, max: 1000)offset: 1-based index of the first event (default: 1), to paginate together withlimitorderby: sort order —time(default, most recent first),time-asc,magnitude,magnitude-ascdatacenter: FDSN datacenter to query (default:"INGV", overridable)
Note: the bounding-box parameters and the radial-search parameters are mutually exclusive.
Output: a compact tabular result (columns + rows, one row per event with the
preferred origin/magnitude; depth in km) plus a pagination block
(returned_count, has_more, next_offset). For the full detail of a single event,
use the *_by_id tools (complete QuakeML, depth in meters).
Examples:
// Today's events (default)
{}
// Significant events (M>=4.0) over the last week
{"minmag": 4.0, "starttime": "2025-07-08T00:00:00", "limit": 50}
// Specific geographic area (Central Italy)
{"minlat": 41.0, "maxlat": 43.0, "minlon": 12.0, "maxlon": 15.0, "minmag": 2.0}
// Radial search (50 km around Rome)
{"latitude": 41.9, "longitude": 12.5, "maxradiuskm": 50}
// Query USGS instead of INGV
{"minmag": 5.0, "starttime": "2025-01-01T00:00:00", "datacenter": "USGS"}2. fdsn_get_earthquake_by_id
Returns the basic information for a single event: preferred origin, preferred magnitude, station magnitudes, and amplitudes.
Parameters:
eventid(required): event identifier, as returned byfdsn_query_earthquakes. Treated as an opaque string matching^[A-Za-z0-9_.:-]+$, so the differing conventions of the providers are all accepted (45376822at INGV,20240101_0000328at EMSC,gfz2024abmzat GFZ,us6000m0ygat USGS). A JSON integer is still accepted and normalised.datacenter(optional): default"INGV"
3. fdsn_get_arrivals_by_id
Returns all seismic phase arrivals for an event, with the associated picks (station, arrival time, phase). Useful to know which stations recorded the event.
Parameters:
eventid(required): opaque event identifier, as described forfdsn_get_earthquake_by_idabove.datacenter(optional): default"INGV"
4. fdsn_get_allmagnitudes_by_id
Returns all magnitude solutions computed for an event (ML, Mw, Mb, Md, etc.), indicating which one is preferred. Useful for comparing magnitude types or agencies.
Parameters:
eventid(required): opaque event identifier, as described forfdsn_get_earthquake_by_idabove.datacenter(optional): default"INGV"
5. fdsn_get_allorigins_by_id
Returns all origin solutions (hypocenter locations) for an event, indicating which one is preferred. Useful to compare locations computed by different agencies.
Parameters:
eventid(required): opaque event identifier, as described forfdsn_get_earthquake_by_idabove.datacenter(optional): default"INGV"
6. fdsn_get_focalmechanism_by_id
Returns the focal mechanisms and moment tensors for an event: nodal planes (strike, dip, rake), principal axes (T, P, N), and moment tensor components.
Parameters:
eventid(required): opaque event identifier, as described forfdsn_get_earthquake_by_idabove.datacenter(optional): default"INGV"
MCP client configuration
To use this server with an MCP client (such as Claude Desktop), add the following configuration:
{
"mcpServers": {
"fdsnws-event": {
"command": "docker",
"args": ["run", "-i", "--rm", "ingv/mcp-fdsnws-event"]
}
}
}Example queries
Today's events
"Show me today's earthquakes in Italy"Significant events
"What were the strongest earthquakes of the last week?"Events in a specific region
"Find earthquakes with magnitude above 3.0 in central Italy over the last 30 days"Development
Project structure
mcp-fdsnws-event/
├── src/fdsnws_event_server/
│ ├── __init__.py
│ ├── server.py # MCP server (FastMCP tool definitions)
│ ├── models.py # Pydantic input validation models
│ └── obspy_client.py # FDSN format=text query + ObsPy QuakeML→JSON detail
├── tests/ # pytest: unit (offline) + integration (live)
│ ├── fixtures/ # Real FDSN format=text responses
│ ├── unit/ # Parser, query, models (network mocked)
│ ├── integration/ # Live INGV tests (@pytest.mark.integration)
│ └── README.md # How to run the tests
├── pyproject.toml # Python configuration
├── Dockerfile # Docker container
├── run_tests.sh # Full test suite
└── README.mdLocal testing
# Install dependencies (with dev extras for pytest)
pip install -e ".[dev]"
# Run the tests
pytest # unit (offline, default)
pytest -m integration # live tests against INGV (network required)Test details and conventions in tests/README.md.
FDSN API
The server queries any FDSN-compliant datacenter:
INGV (default):
https://webservices.ingv.it/fdsnws/event/1/queryEMSC:
https://www.seismicportal.eu/fdsnws/event/1/queryGFZ:
https://geofon.gfz.de/fdsnws/event/1/queryUSGS:
https://earthquake.usgs.gov/fdsnws/event/1/queryFormat: search via
format=text(tabular); detail via QuakeML (XML) → JSONDocumentation: FDSNWS Event API
OpenWebUI integration (mcpo)
OpenWebUI talks to MCP servers
through mcpo, a proxy that exposes an MCP server as
an OpenAPI/REST endpoint. This repository ships an mcpo wrapper that runs the server
directly (no docker-in-docker, no Docker socket mount): see Dockerfile.mcpo and
compose.mcpo.yml.
Run
Pull and run the published mcpo image (recommended):
docker pull ingv/mcp-fdsnws-event:latest-mcpo
docker run -d -p 8000:8000 --name mcp-fdsnws-event_mcpo ingv/mcp-fdsnws-event:latest-mcpoOr build it locally (for development):
docker build -t ingv/mcp-fdsnws-event . # base image
docker compose -f compose.mcpo.yml up -d --build # mcpo wrapper on :8000This exposes:
OpenAPI spec:
http://<host>:8000/openapi.jsonSwagger UI:
http://<host>:8000/docsOne endpoint per tool, e.g.
POST http://<host>:8000/fdsn_query_earthquakes
Connect OpenWebUI
In OpenWebUI go to Settings → Integrations (or for all users, Admin Panel → Settings → Integrations) and add a new "Tool Server" with the URL
http://<host>:8000.
If OpenWebUI itself runs in Docker,
localhost:8000from inside its container will not reach the host. Usehttp://host.docker.internal:8000(Docker Desktop) or the host LAN IP, or put both services on the same Docker network.Securing the endpoint: by default mcpo is exposed without authentication. To protect it, uncomment the
command:line incompose.mcpo.ymlto add--api-key "<your-key>", then set the same key in OpenWebUI.
compose.mcpo.ymlis a development configuration, not a hardened one. It binds0.0.0.0:8000and publishes the port on every host interface, with authentication commented out, no rate limiting and no bound on concurrent upstream requests. That is fine on a workstation or inside a trusted network; it is not a public service. Exposing it beyond a trusted network means at minimum binding to127.0.0.1behind a reverse proxy that terminates TLS and enforces authentication and rate limits. Note that these are properties of the deployment rather than of the MCP server, which is read-only, stateless and holds no credentials — in stdio mode it opens no port at all.
The wrapper image bundles
mcpoand the server in a single image and runsmcpo ... -- python -m fdsnws_event_server.server, so it does not mount the Docker socket or spawn nested containers.
Validating tool-call reliability (A/B harness)
When a client model loses an identifier across turns it may invent one — e.g.
calling fdsn_get_arrivals_by_id with a placeholder eventid (123456) instead
of the EventID returned by a prior fdsn_query_earthquakes. The server guards
against this with a three-state by-id contract (found / message), but the
behaviour itself lives in the OpenWebUI ↔ model loop and is best measured
empirically.
tests/ab/eventid_hallucination_ab.py is a standalone A/B harness (not run by
pytest) that replays the failing conversation against a live model through the
OpenWebUI OpenAI-compatible API and reports how often the model passes the correct
eventid vs an invented one. It takes the model and base URL as arguments:
export OPENWEBUI_API_KEY=sk-... # OpenWebUI: Settings → Account → API Keys
python tests/ab/eventid_hallucination_ab.py \
--base-url http://<host>:8080 \
--model <model-id-as-listed-in-openwebui> \
--repeat 10 --variant both --temperature 0.7It fails fast if --model is not present on the instance, and compares two tool
descriptions (baseline vs fixed) so you can attribute any delta to the
server-side wording. Use it to check a new model, or to confirm that an OpenWebUI
configuration change (e.g. Native function calling) actually fixes id reuse.
License
This project is released under the GNU Affero General Public License v3.0 or
later (AGPL-3.0-or-later). See the LICENSE file for the full text.
Authors
See AUTHORS.md.
Contributing
Contributions are welcome! Please:
Fork the repository
Create a feature branch off
mainCommit your changes (see Conventional Commits)
Open a Pull Request against
main
By contributing you agree that your contributions are licensed under the AGPL-3.0-or-later license of this project.
Support
For problems or questions, open an issue in the GitHub repository.
Available Tools
6 toolsfdsn_get_allmagnitudes_by_idARead-onlyIdempotent
Get all computed magnitude solutions for an earthquake event. Use this when asked about different magnitude types (ML, Mw, Mb, Md), magnitude comparisons across agencies, or station counts.
The eventid is an opaque, provider-specific string and MUST be copied verbatim from a prior fdsn_query_earthquakes result (EventID column). Never invent, guess, reformat, or use placeholder values.
Available datacenters: INGV (default), EMSC, GFZ, USGS, and others supported by ObsPy.
| Name | Required | Description | Default |
|---|---|---|---|
| eventid | Yes | ||
| datacenter | No | INGV |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint and idempotentHint, so the description does not need to restate safety. It adds valuable behavioral context: the eventid is opaque and must be copied verbatim from a prior query, and datacenter options are enumerated. This goes beyond the annotations by explaining critical usage constraints.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise and well-structured: a purpose sentence, a usage condition, a critical warning, and datacenter note. Every sentence earns its place with no redundancy or fluff.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description covers the tool's purpose, when to use it, the critical eventid constraint, and datacenter options. An output schema exists to handle return-value details. Minor gaps remain (e.g., error behavior, effect of datacenter on results), but the essential context is present.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema provides no descriptions (0% coverage), so the description must compensate. It explains the eventid is an opaque provider-specific string and must not be invented or reformatted, and it clarifies the datacenter parameter by listing default and available values. This adds non-obvious semantics beyond the plain schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb and resource: 'Get all computed magnitude solutions for an earthquake event.' It clearly distinguishes itself from sibling tools by focusing on magnitudes and listing relevant magnitude types (ML, Mw, Mb, Md).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly states when to use the tool: 'when asked about different magnitude types, magnitude comparisons across agencies, or station counts.' It provides clear context but does not enumerate alternatives or when-not-to-use conditions, which prevents a 5.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
fdsn_get_allorigins_by_idARead-onlyIdempotent
Get all computed origin solutions (hypocenter locations) for an earthquake event. Use this when asked about alternative locations, origin comparisons, or which agencies computed origins.
The eventid is an opaque, provider-specific string and MUST be copied verbatim from a prior fdsn_query_earthquakes result (EventID column). Never invent, guess, reformat, or use placeholder values.
Available datacenters: INGV (default), EMSC, GFZ, USGS, and others supported by ObsPy.
| Name | Required | Description | Default |
|---|---|---|---|
| eventid | Yes | ||
| datacenter | No | INGV |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already provide readOnlyHint=true, openWorldHint=true, idempotentHint=true, and destructiveHint=false, indicating a safe, read-only, idempotent operation. The description adds context beyond annotations by explaining that multiple origin solutions are returned and listing available datacenters. It also highlights the opaque nature of eventid, adding meaningful behavioral context. Not quite a 5 because it doesn't describe pagination or result format, but annotations cover the safety profile adequately.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is compact and front-loaded. It starts with the core purpose, then gives usage context, then the eventid constraint, and ends with datacenter options. Every sentence earns its place; there is no fluff or repetition. Length is appropriate for the complexity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has an output schema (though not shown), so return format is presumably documented there. The description covers purpose, usage, critical input constraints, and available datacenter choices. Given the annotations and schema, it is complete enough for an agent to select and invoke the tool correctly. No major gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, but the description fully compensates. For eventid, it explains that it is an opaque provider-specific string, must be copied verbatim from a previous query, and should never be invented or guessed. For datacenter, it lists concrete valid values (INGV default, EMSC, GFZ, USGS) and notes ObsPy support. This adds rich meaning beyond the bare schema types.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool gets 'all computed origin solutions (hypocenter locations) for an earthquake event.' This is a specific verb+resource combination that distinguishes it from siblings like fdsn_get_earthquake_by_id, which likely retrieves a single event record. It directly addresses the domain of alternative locations and agency-computed origins.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicit usage guidance is provided: 'Use this when asked about alternative locations, origin comparisons, or which agencies computed origins.' It also gives a critical operational constraint: eventid must be copied verbatim from a prior fdsn_query_earthquakes result and never guessed or reformatted. This is clear when-to-use and prerequisite handling.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
fdsn_get_arrivals_by_idARead-onlyIdempotent
Get all seismic phase arrivals for an earthquake event, including linked pick data (station, time, phase). Use this when asked about recorded phases, station readings, or seismic wave arrivals.
The eventid is an opaque, provider-specific string and MUST be copied verbatim from a prior fdsn_query_earthquakes result (EventID column). Never invent, guess, reformat, or use placeholder values.
Available datacenters: INGV (default), EMSC, GFZ, USGS, and others supported by ObsPy.
| Name | Required | Description | Default |
|---|---|---|---|
| eventid | Yes | ||
| datacenter | No | INGV |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already establish the tool as read-only, idempotent, and non-destructive. The description adds valuable behavioral context beyond that: the eventid is an opaque, provider-specific string that must not be invented or reformatted, and datacenter options (INGV, EMSC, GFZ, USGS, others). It also notes the output includes linked pick data, which is useful. This goes beyond the baseline, though it does not cover all edge cases like error handling.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is appropriately concise, front-loaded with the core purpose, then usage guidance, a key warning about eventid, and datacenter options. Each sentence earns its place without redundancy. The structure guides the agent from what to when to how, with no wasted content.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (2 parameters, output schema available, annotations covering safety), the description is complete. It covers purpose, usage conditions, parameter semantics, and datacenter choices. The critical eventid provenance requirement is essential for correct invocation and is clearly stated. No significant gaps remain for an agent to select and use the tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With a schema description coverage of 0%, the description fully compensates by explaining both parameters. For eventid, it clarifies its opaque nature, provenance from fdsn_query_earthquakes, and the strict requirement to copy verbatim. For datacenter, it lists valid options and the default (INGV), providing crucial meaning that the bare schema lacks.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly identifies the tool's function: 'Get all seismic phase arrivals for an earthquake event, including linked pick data (station, time, phase).' It specifies the resource (seismic phase arrivals) and the action (get), and explicitly distinguishes this from sibling tools by focusing on arrivals and phase data. The use case is further clarified with examples like 'recorded phases, station readings, or seismic wave arrivals.'
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description states when to use the tool ('Use this when asked about recorded phases, station readings, or seismic wave arrivals') and provides a critical prerequisite: the eventid must be copied verbatim from a prior fdsn_query_earthquakes result. However, it does not explicitly mention when not to use it or contrast with sibling tools like fdsn_get_earthquake_by_id, so it misses the top score.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
fdsn_get_earthquake_by_idARead-onlyIdempotent
Get basic information about a specific earthquake event by event ID.
Returns the preferred origin, preferred magnitude, station magnitudes, and amplitudes. For detailed data (all alternative origins, all alternative magnitudes, or seismic arrivals/picks), use the specialized tools instead.
The eventid is an opaque, provider-specific string and MUST be copied verbatim from a prior fdsn_query_earthquakes result (EventID column). Never invent, guess, reformat, or use placeholder values.
Available datacenters: INGV (default), EMSC, GFZ, USGS, and others supported by ObsPy.
| Name | Required | Description | Default |
|---|---|---|---|
| eventid | Yes | ||
| datacenter | No | INGV |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare read-only, idempotent, and non-destructive behavior. The description adds crucial behavioral context: the eventid is an opaque, provider-specific string that must exactly match a query result, and it lists available datacenters with a default and a non-exhaustive set supported by ObsPy. This enriches understanding without contradicting the annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is compact and front-loaded: first sentence states the primary purpose, next specifies the return payload, then provides usage restrictions, and finally datacenter options. Each of the four sentences adds distinct value with no wasted words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given that an output schema exists and handles return-value details, the description covers all necessary context: purpose, input provenance rules, available datacenters, and alternative-tool routing. For the complexity of a simple lookup-by-ID tool, this description is sufficiently complete to guide correct invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 0% schema description coverage, the description fully compensates. It defines the eventid's opaque, provider-specific nature and mandates copying it verbatim from a prior result, and it explains the datacenter parameter with named options and the default value. Both parameters receive meaningful elaboration beyond the bare schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb and resource: 'Get basic information about a specific earthquake event by event ID', and lists the returned items (preferred origin, preferred magnitude, station magnitudes, amplitudes). It clearly distinguishes from sibling tools by directing users to 'specialized tools' for detailed data like all origins or arrivals.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly states when to use this tool (basic information) and when to avoid it (detailed data), naming the specialized alternatives. It also gives an essential prerequisite: the eventid 'MUST be copied verbatim from a prior fdsn_query_earthquakes result' and warns against inventing values. This is clear when-to-use and when-not-to-use guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
fdsn_get_focalmechanism_by_idARead-onlyIdempotent
Get focal mechanism and moment tensor data for an earthquake event. Returns nodal planes (strike, dip, rake), principal axes (T, P, N), and moment tensor components when available. Use this for understanding the rupture geometry and seismic source characteristics.
The eventid is an opaque, provider-specific string and MUST be copied verbatim from a prior fdsn_query_earthquakes result (EventID column). Never invent, guess, reformat, or use placeholder values.
Available datacenters: INGV (default), EMSC, GFZ, USGS, and others supported by ObsPy.
| Name | Required | Description | Default |
|---|---|---|---|
| eventid | Yes | ||
| datacenter | No | INGV |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false, covering safety and idempotency. The description adds valuable behavioral context by noting that moment tensor data is returned 'when available' and that the eventid is opaque and must not be invented or reformatted—this is crucial for correct use beyond what annotations convey.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is composed of four concise sentences, each adding unique value: purpose, return data, usage context, eventid caution, and datacenter options. There is no redundancy or filler, and the key information is front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity and the presence of annotations and output schema, the description covers the essential aspects: what it does, what it returns, prerequisites for eventid, and available datacenters. It doesn't detail error handling for invalid eventids, but that is a minor gap given the overall completeness.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, but the description compensates thoroughly. It explains that eventid is an opaque, provider-specific string that must be copied verbatim from a query result, which is essential guidance for the required parameter. It also lists valid datacenter options (INGV, EMSC, GFZ, USGS, etc.), giving meaningful semantics for the optional parameter.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states 'Get focal mechanism and moment tensor data for an earthquake event' and lists the specific outputs (nodal planes, principal axes, moment tensor components). This distinguishes it from sibling tools like fdsn_get_arrivals_by_id and fdsn_get_allmagnitudes_by_id, which cover other data types.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description says 'Use this for understanding the rupture geometry and seismic source characteristics,' providing clear when-to-use context. It also mandates that the eventid must be copied verbatim from a prior fdsn_query_earthquakes result, which establishes a prerequisite and prevents misuse. However, it doesn't explicitly name alternative tools for other use cases.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
fdsn_query_earthquakesARead-onlyIdempotent
Query earthquake events from an FDSN datacenter with flexible parameters.
Returns a compact tabular result (columns + rows), one row per event, using the preferred origin and magnitude. Depth is in KILOMETERS. For the full detail of a single event (all origins/magnitudes, arrivals, focal mechanism) use the by-id tools.
Common usage examples:
Recent events (today): {} (no parameters needed)
Significant events: {"minmag": 4.0, "starttime": "YYYY-MM-DDTHH:MM:SS"}
Geographic area: {"minlat": 41.0, "maxlat": 43.0, "minlon": 12.0, "maxlon": 15.0}
Radial search: {"latitude": 41.9, "longitude": 12.5, "maxradiuskm": 50}
Strongest first: {"orderby": "magnitude", "limit": 10}
Next page: {"offset": 101} (offset + returned_count from the previous call)
Available datacenters: INGV (default), EMSC, GFZ, USGS, and others supported by ObsPy.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| maxlat | No | ||
| maxlon | No | ||
| maxmag | No | ||
| minlat | No | ||
| minlon | No | ||
| minmag | No | ||
| offset | No | ||
| endtime | No | ||
| orderby | No | time | |
| latitude | No | ||
| maxdepth | No | ||
| mindepth | No | ||
| longitude | No | ||
| starttime | No | ||
| datacenter | No | INGV | |
| maxradiuskm | No | ||
| minradiuskm | No | ||
| updatedafter | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false. The description adds non-redundant behavioral context: return format is 'compact tabular result (columns + rows)', depth is in kilometers, pagination via 'offset + returned_count', and that preferred origin/magnitude are used. No contradiction with annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Descriptions is well-structured with a purpose sentence, return format note, common examples, and datacenter list. It is somewhat long but each section earns its place; no fluff. Could be slightly more compact, but the examples provide high value.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has 19 parameters, 0% schema coverage, and an output schema, the description covers the essential operational aspects: return shape, unit convention, pagination, datacenter choice, and alternates. It addresses the main gaps an agent would encounter when selecting and invoking this tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema has 0% description coverage, so the description bears the burden. It provides illustrative parameter combinations (minmag/starttime, minlat/maxlat/minlon/maxlon, latitude/longitude/maxradiuskm, orderby/limit, offset), and clarifies units and pagination semantics. However, not every parameter is explained individually (e.g., endtime, updatedafter, minradiuskm), so it is strong but not exhaustive.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description explicitly states 'Query earthquake events from an FDSN datacenter with flexible parameters' – a specific verb and resource. It distinguishes from sibling by-id tools by mentioning 'For the full detail of a single event (all origins/magnitudes, arrivals, focal mechanism) use the by-id tools.'
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides multiple concrete usage examples (recent events, significant events, geographic area, radial search, pagination), explicitly says the by-id tools are for single-event details, and lists available datacenters. This gives clear when/what-to-use guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
6 tool updates
v1.7.0- First observed
fdsn_get_allmagnitudes_by_id - First observed
fdsn_get_allorigins_by_id - First observed
fdsn_get_arrivals_by_id - First observed
fdsn_get_earthquake_by_id - First observed
fdsn_get_focalmechanism_by_id - First observed
fdsn_query_earthquakes
TDQS
Each tool targets a distinct aspect of FDSN earthquake data: querying events, fetching basic info, and retrieving specific data types (arrivals, magnitudes, origins, focal mechanisms). There is no overlap or ambiguity between the tools.
The tools follow a clear fdsn_<action>_<resource> pattern, with consistent use of '_by_id' for detail retrieval. Minor deviations include the mix of 'query' for search versus 'get' for retrieval, and singular/plural resource names (e.g., earthquakes vs earthquake), but the pattern remains predictable.
With 6 tools, the set is well-scoped for an FDSN event server. It provides a search tool and targeted detail tools without unnecessary redundancy, making it easy for agents to navigate.
The tool surface covers the full lifecycle of earthquake event exploration: searching, getting summary details, and retrieving all major data products (origins, magnitudes, arrivals, focal mechanisms). No critical operations are missing for the stated domain.
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 Connectors
Geospatial MCP server for earthquake, tsunami, volcano, disaster, and FX data queries.
USGS Earthquake Catalog MCP (FDSNWS event API).
EMSC (European-Mediterranean Seismological Centre) MCP — wraps the
Search USGS and EMSC seismic data — real-time feeds, event queries, and earthquake counts.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA powerful MCP server that connects AI assistants to authoritative natural hazard data sources, enabling monitoring of earthquakes, tsunamis, volcanoes, and solar events with configurable alerts and webhooks.1MIT
- AlicenseAqualityCmaintenanceMCP server wrapping the USGS Earthquake Hazards API, enabling AI assistants to search the global earthquake catalog, look up event details, count quakes, find 'Did You Feel It' reports, and read realtime feeds.5MIT
- AlicenseNot gradedqualityCmaintenanceAn MCP server that makes live Earth data usable by AI agents. Its initial data sources cover natural hazards: earthquakes from the USGS FDSN event catalog and volcanic activity from the Smithsonian Global Volcanism Program.MIT
- AlicenseNot gradedqualityAmaintenanceSearch USGS and EMSC seismic data for real-time feeds, event queries, and earthquake counts via MCP.2961Apache 2.0
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/INGV/mcp-fdsnws-event'
If you have feedback or need assistance with the MCP directory API, please join our Discord server