About swatgenx
swatgenx is a remote MCP server for exploring and ordering SWAT+ watershed models across the lower 48 states. It also provides documentation, example-model results, and groundwater and PFAS monitoring data to environmental researchers and modelers.
Key features
- 01Search SWAT+ example models and calibration results
- 02Query groundwater well and PFAS inventories
- 03Preview watershed model contents
- 04Order, track, and download SWAT+ builds
- 05Search and read documentation
Use cases
- 01Compare example models and validation results
- 02Check groundwater wells or PFAS monitoring
- 03Build a SWAT+ model for a watershed
MCP support
Exposes SWATGenX documentation, data queries, model exploration, and model-ordering tools to MCP clients through remote streamable HTTP. Calls require SWATGenX sign-in or an API key.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://www.swatgenx.com/mcpclaude mcp add --transport http swatgenx-swatgenx https://www.swatgenx.com/mcp{"mcpServers":{"swatgenx-swatgenx":{"type":"http","url":"https://www.swatgenx.com/mcp"}}}Open in Cursor{"servers":{"swatgenx-swatgenx":{"type":"http","url":"https://www.swatgenx.com/mcp"}}}Open in VS Code{"mcpServers":{"swatgenx-swatgenx":{"type":"http","url":"https://www.swatgenx.com/mcp"}}}{"mcpServers":{"swatgenx-swatgenx":{"serverUrl":"https://www.swatgenx.com/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
Tools
Details
From the project READMESWATGenX MCP Server
The agent-native front door to SWATGenX: SWAT+ watershed models for any river in the lower 48 states, built in the cloud from national datasets, with calibration as a separate step you run when you are ready.
Add it to Claude or any MCP client, and an agent can search the example-model catalog with its calibration and held-out validation scores, query a national groundwater well inventory and a national PFAS monitoring inventory, preview what a model of a watershed would contain, read the documentation, and order, track and download a real SWAT+ build under the same allocations as the web app.
- Endpoint:
https://www.swatgenx.com/mcp - Transport: streamable HTTP (remote; nothing to install)
- Documentation and client setup: https://www.swatgenx.com/mcp-server
Connect
claude mcp add --transport http swatgenx https://www.swatgenx.com/mcp
or, in a client's JSON config:
{ "mcpServers": { "swatgenx": { "type": "http", "url": "https://www.swatgenx.com/mcp" } } }
Every call needs a SWATGenX sign-in or an API key. Clients that support MCP authorization sign in with OAuth 2.1 through
swatgenx.com; clients that set headers can send Authorization: Bearer <your API key>.
Tools
From 15 October 2026, the model, data and order tools are part of the paid plans; the documentation tools stay open to any account.
| Tool | Title | Access from 15 Oct 2026 |
|---|---|---|
search_docs | Search the SWATGenX documentation | any account |
get_doc | Read a SWATGenX documentation chapter | any account |
get_engine_info | Get SWAT+ engine source, build guide and toolchain | any account |
get_access_info | Get access tier and allocations | any account |
search_swat_models | Search SWAT+ example models | paid plan |
get_model_calibration | Get model calibration results | paid plan |
query_groundwater | Query national groundwater wells | paid plan |
query_pfas | Query PFAS monitoring (US or worldwide) | paid plan |
request_model | Preview a watershed model build | paid plan |
order_model | Order a SWAT+ watershed model | paid plan |
get_order_status | Get build order status | paid plan |
list_my_models | List your model orders | paid plan |
download_model | Get a model download link | paid plan |
About
SWATGenX builds SWAT+ models for a USGS gauge, a HUC12 outlet or a HUC8 basin from NHDPlus HR hydrography, gSSURGO soils, NLCD land cover and PRISM weather, with an optional steady-state MODFLOW 6 groundwater model. Calibration against USGS streamflow is a separate step you run when you are ready. Its engine runs SWAT+ and MODFLOW 6 two-way, daily.
The national groundwater inventory is described in 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
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.