SWATGenX

io.github.SWATGenX/swatgenx · v1.1.2 · cloud-and-infra

SWATGenX is healthy: it completed an MCP handshake in 1080 ms and exposes 13 tools.

SWAT+ watershed models for any river in the lower 48 states, with groundwater and PFAS data

Endpoint: https://www.swatgenx.com/mcp (streamable-http)

Repository · Website · JSON · Add to my inventory

Facts

Users (last 30 days)0
HandshakeHealthy
Auth neededNone
Tool count13
Latency1080 ms
Last checked (UTC)2026-11-30T21:25:20.380Z

Health history

Checked (UTC)StatusLatencyError
2026-11-30T21:25:20.380ZHealthy1080
2026-11-28T11:55:08.389ZHealthy628
2026-11-26T03:55:24.913ZHealthy2694
2026-11-23T21:36:04.740ZHealthy3110
2026-11-21T17:25:26.206ZHealthy608
2026-11-19T14:40:24.082ZHealthy3069
2026-11-17T13:00:30.654ZHealthy1407
2026-11-15T12:45:49.510ZHealthy2557
2026-11-13T13:55:58.256ZHealthy3150
2026-11-11T16:00:37.822ZHealthy2381
2026-11-09T19:20:35.953ZNeeds auth1526initialize: HTTP 401
2026-11-07T23:55:21.612ZNeeds auth645initialize: HTTP 401
2026-11-06T05:35:49.097ZNeeds auth1145initialize: HTTP 401
2026-11-04T12:00:29.131ZNeeds auth1675initialize: HTTP 401
2026-11-04T12:00:29.109ZNeeds auth1813initialize: HTTP 401
2026-11-02T19:25:23.337ZNeeds auth1301initialize: HTTP 401
2026-11-01T04:00:26.557ZNeeds auth860initialize: HTTP 401
2026-10-30T13:30:22.778ZNeeds auth554initialize: HTTP 401
2026-10-28T23:40:12.092ZNeeds auth622initialize: HTTP 401
2026-10-27T10:15:14.285ZNeeds auth1081initialize: HTTP 401

Tools (13)

search_swat_modelsSearch the public SWATGenX example-model catalog (built SWAT+ models for USGS gauges and HUC outlets across the conterminous US). Filter by two-letter `state`, `calibrated_only` (alias `calibrated`), and channel-count bounds. A model counts as calibrated only when the website shows it as
get_model_calibrationReturn the published calibration for one example model: method, calibration NSE (daily + monthly), PBIAS, evals used, and window as {fit, scored}: the years the calibration was fitted to and the years its validation was scored on. Validation NSE is included only when the scored years lie
query_groundwaterQuery SWATGenX's national groundwater inventory (well records and lithology logs harvested from state agencies across the contiguous U.S.; live totals at https://www.swatgenx.com/api/gw-wells/summary) near a point — the subsurface data used to parameterise MODFLOW. Returns the nearest
query_pfasQuery the SWATGenX PFAS monitoring inventory (agency monitoring stations + observations): only sources whose licence allows serving them, the same set as the PFAS data API; unaudited VLM packs are excluded. Filter by two-letter `state` (e.g. 'MI') and/or `analyte` (e.g. 'PFOS', 'PFOA'):
request_modelPreview what SWATGenX WOULD build for a CONUS catchment. Takes either a USGS gauge id (usgs_station) or a 12-digit HUC12 outlet (huc12_outlet). Read-only in v1: returns whether the catchment is buildable, whether a model already exists, and the build endpoint (order_endpoint) — it does N
search_docsSearch the SWATGenX I/O reference — model bundle layout, SWAT+ input files, PFAS fate-and-transport inputs, engine run modes and NetCDF output, MODFLOW-6 coupling, calibration artifacts, service limits. Returns ranked articles, each with a matching snippet and its chapter slug. The schem
get_docReturn one full SWATGenX documentation chapter as markdown, by chapter slug; 'overview' is the index and lists every chapter. Retired slugs are followed to their current chapter automatically.
get_engine_infoWhere the SWAT+ engine SWATGenX runs comes from (including its parallel/OpenMP build), and how to build it from source. Returns the public fork, the build guide with the exact toolchain, and whether building is needed at all (usually it is not — downloaded models run as-is). No authentic
get_access_infoDescribe SWATGenX access: accounts by invitation (for a named research collaboration or a funded study), studies quoted for each watershed, and calibration on account credit; how to request access. With an API key, also report the caller's current access and its status.
order_modelStart a real SWAT+ model build (authenticated; consumes the caller's fair-use quota). Takes either a USGS gauge id (usgs_station) or a 12-digit HUC12 outlet (huc12_outlet). Returns an order_id for checking the build's status. Typical build: 20 min - 2 h. The API key comes from the X-SWAT
get_order_statusCheck a model build (authenticated): state (queued/running/complete/failed), stage, and timing. order_id is the id order_model returned for the build.
list_my_modelsList the caller's models (authenticated): `models`, the model workspaces the account holds (the dashboard's list: site_no, level, vpuid, status flags), and `orders`, the builds requested through the build queue, newest first. `limit` caps each list (default 10, max 50; unbounded listing
download_modelGet a download link for a model the caller owns (authenticated). The returned download_url is a TOKEN link valid for 24 hours; fetching it redirects to a storage URL minted fresh per request with a much shorter life (~30 min), so the redirect target expires long before the download_url d