Swatgenx

io.github.SWATGenXv1.1.0Updated Oct 9, 2026

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

VerifiedStreamable HTTPWeb executableData & AnalyticsLocation & LifestyleKnowledge & Memory

Overview

AI-generated overview

Lets an assistant search SWAT+ watershed example models, query national groundwater and PFAS data, and order, track and download SWAT+ model builds.

What it does
A remote MCP server for SWATGenX, a cloud service that builds SWAT+ watershed models for rivers in the lower 48 states. Tools cover documentation search and reading, engine and access-tier info, searching example models with calibration and validation scores, reading calibration results, querying a national groundwater well inventory and a PFAS monitoring inventory, previewing a watershed model build, ordering a model, checking order status, listing your orders and getting a download link.
When to use it
Use it when an assistant needs watershed modeling context: finding an existing SWAT+ example model, checking calibration or validation scores, looking up groundwater or PFAS monitoring data, or commissioning a new SWAT+ build for a gauge, HUC12 outlet or HUC8 basin.
Requirements
Remote streamable HTTP endpoint; nothing to install locally. Every call needs a SWATGenX sign-in or an API key: OAuth 2.1 through swatgenx.com for clients that support MCP authorization, or an Authorization Bearer header with an API key for clients that set headers. Network access to the endpoint is required.
Before you install
Authentication is required for all calls, and the API key is sent as an Authorization Bearer header. From 15 October 2026 the model, data and order tools are limited to paid plans, so ordering a model can incur charges under your account allocations. Ordering and downloading create and expose model build artifacts tied to your account.

Installation

In SourceWeft

  1. Open Swatgenx in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Other MCP clients

Add this to your client's mcpServers config.

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

README

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.

Connect

bash
claude mcp add --transport http swatgenx https://www.swatgenx.com/mcp

or, in a client's JSON config:

json
{ "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.

ToolTitleAccess from 15 Oct 2026
search_docsSearch the SWATGenX documentationany account
get_docRead a SWATGenX documentation chapterany account
get_engine_infoGet SWAT+ engine source, build guide and toolchainany account
get_access_infoGet access tier and allocationsany account
search_swat_modelsSearch SWAT+ example modelspaid plan
get_model_calibrationGet model calibration resultspaid plan
query_groundwaterQuery national groundwater wellspaid plan
query_pfasQuery PFAS monitoring (US or worldwide)paid plan
request_modelPreview a watershed model buildpaid plan
order_modelOrder a SWAT+ watershed modelpaid plan
get_order_statusGet build order statuspaid plan
list_my_modelsList your model orderspaid plan
download_modelGet a model download linkpaid 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

MIT

Source: README.md at commit e9090b0

Tools

0
Tool metadata has not been indexed yet.

Version history

2
  1. v1.1.0LatestSep 28, 2026
  2. v1.0.0Sep 16, 2026