Odel
swatgenx mcp

swatgenx mcp

@swatgenxMITUpdated 1mo ago

Automated, calibrated SWAT+ watershed modeling and national hydrologic datasets for the U.S.

View on GitHub
Server endpointStreamable HTTPOAuthProbed

This is the third-party server itself — Odel doesn't run it. Hitting this URL directly talks straight to the upstream server with no auth or proxying. Connect through Odel to front it with managed auth.

SWATGenX MCP Server

The agent-native front door to SWATGenX — automated, calibrated SWAT+ watershed modeling for the conterminous United States.

Add it to Claude or any MCP client and a continental watershed-modeling platform becomes a set of callable tools: search calibrated SWAT+ models, read calibration and held-out validation scores, query a national groundwater lithology inventory of ~28.8 million depth intervals, query a national PFAS monitoring inventory, and — with an API key — order and download watershed models.

Connect

{
  "mcpServers": {
    "swatgenx": {
      "type": "http",
      "url": "https://www.swatgenx.com/mcp"
    }
  }
}

Six tools need no credentials. To order or download models, send your API key in the X-SWATGenX-Api-Key header (free key with an account at swatgenx.com).

Tools

ToolWhat it doesNeeds
search_swat_modelsBrowse the example-model catalog (state, size, calibration status)
get_model_calibrationCalibration and held-out validation NSE / PBIAS for one model
query_groundwaterNearest wells and lithology from the national inventory
query_pfasNational PFAS monitoring inventory by state or analyte
request_modelPreview what SWATGenX would build for a gauge or HUC12 outlet
get_access_infoThe access ladder and your current tier
order_modelOrder a real SWAT+ buildAPI key
get_order_statusTrack a build order to completionAPI key
list_my_modelsList your build ordersAPI key
download_modelMint a 24-hour download linkAPI key

About

SWATGenX builds physically based SWAT+ and coupled SWAT+/MODFLOW 6 models from NHDPlus HR hydrography, gSSURGO soils, NLCD land cover and PRISM climate, and calibrates them against USGS streamflow. The national groundwater inventory this server queries is described in a preprint under open review at Earth System Science Data (doi:10.5194/essd-2026-527).

The server implementation lives in the main SWATGenX repository; this repository holds the registry manifest (server.json) and the publish workflow.

License

MIT