io.github.SWATGenX/swatgenx
SWAT+ watershed models for any river in the lower 48 states, with groundwater and PFAS data
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
claude mcp add --transport http swatgenx 'https://www.swatgenx.com/mcp'
{
"mcpServers": {
"swatgenx": {
"type": "http",
"url": "https://www.swatgenx.com/mcp"
}
}
}
Documentation
From the project's README on GitHub, refreshed weekly. Links open on GitHub.
SWATGenX 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
Frequently asked questions
What is io.github.SWATGenX/swatgenx?
SWAT+ watershed models for any river in the lower 48 states, with groundwater and PFAS data
How do I install io.github.SWATGenX/swatgenx?
It runs as a remote server. In Claude Code: claude mcp add --transport http swatgenx 'https://www.swatgenx.com/mcp'. For other clients, paste the JSON configuration from this page into their MCP settings.
Does io.github.SWATGenX/swatgenx need an API key?
Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.
Is io.github.SWATGenX/swatgenx open source?
Yes. Its code is on GitHub under the MIT license.
Who maintains io.github.SWATGenX/swatgenx?
It is published by SWATGenX. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.