SWATGenX MCP
An official Model Context Protocol server provided by SWATGenX that exposes 13 tools for AI agents to interact with the SWATGenX watershed modeling platform. It allows agents to search for calibrated SWAT+ models, query national groundwater and PFAS datasets, request new model builds, and access documentation, integrating directly with the vendor's cloud infrastructure and data services.
Endpoint and access
OAuth sign-in: the first time you connect, your client opens the vendor's own authorization prompt in a browser.
https://www.swatgenx.com/mcpWhat its tools do
13 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Read-only (11)
Can change data (2)
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Endpoint and vendor documentation share a domain
- Uptime 100% over 90 days
- Availability 2 of 2 checks passed in 30 days
- Popularity 1 GitHub star
What you can do with it
- Search for calibrated SWAT+ models by state and validation metrics
- Query national groundwater well inventory and lithology data
- Request and track new SWAT+ model builds for specific gauges
- Access SWAT+ engine documentation and input file references
Source and maintenance
- Last repository push
- Maintenance checked
Protocol and capabilities
- Server
- swatgenx 1.1.2
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 13 advertised
- Resources
- Sign-in required
- Resource templates
- Sign-in required
- Prompts
- Sign-in required
{
"tools": {
"listChanged": false
},
"prompts": {
"listChanged": false
},
"resources": {
"subscribe": false,
"listChanged": false
},
"experimental": {}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
13 advertised
search_swat_models — Search SWAT+ example models
Search 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 calibrated (its calibration tier is advertised); a failed or below-satisfactory run does not. Returns model id (site_no), state, size, the calibration tier, and — when present — the headline calibration daily NSE.
{
"type": "object",
"title": "search_swat_modelsArguments",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"default": 25
},
"state": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "State",
"default": null
},
"calibrated": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Calibrated",
"default": null
},
"max_channels": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Max Channels",
"default": null
},
"min_channels": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Min Channels",
"default": null
},
"calibrated_only": {
"type": "boolean",
"title": "Calibrated Only",
"default": false
}
}
}{
"title": "Search SWAT+ example models",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_model_calibration — Get model calibration results
Return 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 outside the fitted years. calibration_status is calibrated_and_validated or calibrated_not_validated only where the model's page shows its calibration badge (calibration_advertised), and uncalibrated otherwise, including when no calibration of the model is published. Where the example model has a recorded calibration run, its numbers are returned with either status: they are that run's scores, and the model you download may not carry that calibration. Returns an error with code=model_not_found if no such model exists at all. site_no is the model's USGS gauge or HUC outlet id.
{
"type": "object",
"title": "get_model_calibrationArguments",
"required": [
"site_no"
],
"properties": {
"site_no": {
"type": "string",
"title": "Site No"
}
}
}{
"title": "Get model calibration results",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}query_groundwater — Query national groundwater wells
Query 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 wells with lithology-interval count and a richness_tier grading what each well EXPOSES: 0 = well record with no water level or yield (many carry no logged lithology), 1 = + hydraulics (static water level / yield / depth), 2 = + screened interval & yield (groundwater-model-ready). The tier is about attribute coverage, not log detail. Per-interval depths live in the full inventory DB (Zenodo), not this index. lat/lon in decimal degrees (EPSG:4326); radius_km up to ~50.
{
"type": "object",
"title": "query_groundwaterArguments",
"required": [
"lat",
"lon"
],
"properties": {
"lat": {
"type": "number",
"title": "Lat"
},
"lon": {
"type": "number",
"title": "Lon"
},
"limit": {
"type": "integer",
"title": "Limit",
"default": 20
},
"radius_km": {
"type": "number",
"title": "Radius Km",
"default": 5
}
}
}{
"title": "Query national groundwater wells",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}query_pfas — Query PFAS monitoring (US or worldwide)
Query 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'): with an analyte, only stations that have at least one observation of it are returned, each with its latest recorded value (media, n_samples, n_detect, max_value, latest_value, latest_date, detection band). Units follow the medium: water / groundwater / porewater values are ng/L; sediment, soil and tissue are mass-based (ug/kg-class), so values are comparable across stations only within one `media`. Each answer counts toward the account's monthly allowance of distinct stations (a station already returned this month does not count again) and 200 new stations a day; `metering` in the reply reports the account's count. For research/screening use; not a regulatory data source.
{
"type": "object",
"title": "query_pfasArguments",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"default": 25
},
"state": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "State",
"default": null
},
"analyte": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Analyte",
"default": null
}
}
}{
"title": "Query PFAS monitoring (US or worldwide)",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}request_model — Preview a watershed model build
Preview 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 NOT start a build (that needs an authenticated account at swatgenx.com).
{
"type": "object",
"title": "request_modelArguments",
"properties": {
"huc12_outlet": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Huc12 Outlet",
"default": null
},
"usgs_station": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Usgs Station",
"default": null
}
}
}{
"title": "Preview a watershed model build",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}search_docs — Search the SWATGenX documentation
Search 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 schemas are transcribed from the engine readers/writers and include the SWATGenX extensions, which stock SWAT+ documentation does not cover.
{
"type": "object",
"title": "search_docsArguments",
"required": [
"query"
],
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"default": 5
},
"query": {
"type": "string",
"title": "Query"
}
}
}{
"title": "Search the SWATGenX documentation",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_doc — Read a SWATGenX documentation chapter
Return 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.
{
"type": "object",
"title": "get_docArguments",
"properties": {
"slug": {
"type": "string",
"title": "Slug",
"default": "overview"
}
}
}{
"title": "Read a SWATGenX documentation chapter",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_engine_info — Get SWAT+ engine source, build guide and toolchain
Where 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 authentication required.
{
"type": "object",
"title": "get_engine_infoArguments",
"properties": {}
}{
"title": "Get SWAT+ engine source, build guide and toolchain",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_access_info — Get access level and allocations
Describe 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.
{
"type": "object",
"title": "get_access_infoArguments",
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Api Key",
"default": null
}
}
}{
"title": "Get access level and allocations",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}order_model — Build a SWAT+ watershed model
Start 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-SWATGenX-Api-Key header on the MCP connection or the api_key argument.
{
"type": "object",
"title": "order_modelArguments",
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Api Key",
"default": null
},
"huc12_outlet": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Huc12 Outlet",
"default": null
},
"usgs_station": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Usgs Station",
"default": null
},
"force_rebuild": {
"type": "boolean",
"title": "Force Rebuild",
"default": false
}
}
}{
"title": "Build a SWAT+ watershed model",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}get_order_status — Get model build status
Check a model build (authenticated): state (queued/running/complete/failed), stage, and timing. order_id is the id order_model returned for the build.
{
"type": "object",
"title": "get_order_statusArguments",
"required": [
"order_id"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Api Key",
"default": null
},
"order_id": {
"type": "string",
"title": "Order Id"
}
}
}{
"title": "Get model build status",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}list_my_models — List your models and builds
List 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 used to blow the MCP result budget at ~50 builds). `active_only=True` returns only QUEUED/DISPATCHING/RUNNING builds. Each record carries first-class site_no/level/vpuid.
{
"type": "object",
"title": "list_my_modelsArguments",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"default": 10
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Api Key",
"default": null
},
"active_only": {
"type": "boolean",
"title": "Active Only",
"default": false
}
}
}{
"title": "List your models and builds",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}download_model — Get a model download link
Get 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 does. vpuid/level are optional: the server resolves them from site_no (build records also carry them first-class).
{
"type": "object",
"title": "download_modelArguments",
"required": [
"site_no"
],
"properties": {
"level": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Level",
"default": null
},
"vpuid": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Vpuid",
"default": null
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Api Key",
"default": null
},
"site_no": {
"type": "string",
"title": "Site No"
}
}
}{
"title": "Get a model download link",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}Prompts
Sign-in required
Resources
Sign-in required
90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-02: 3 of 3 checks answered
- 2026-11-03: 4 of 4 checks answered
- 2026-11-04: 4 of 4 checks answered
- 2026-11-05: 4 of 4 checks answered
- 2026-11-06: 4 of 4 checks answered
- 2026-11-07: 2 of 2 checks answered
- 2026-11-09: 1 of 1 checks answered
- 2026-11-10: 2 of 2 checks answered
- 2026-11-11: 1 of 1 checks answered
- 2026-11-12: 1 of 1 checks answered
- 2026-11-14: 1 of 1 checks answered
- 2026-11-15: 2 of 2 checks answered
- 2026-11-16: 4 of 4 checks answered
- 2026-11-17: 5 of 5 checks answered
- 2026-11-18: 5 of 5 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 3 of 3 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 3 of 3 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 3 of 3 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 2 of 2 (100%)
- Average latency
- 1725 ms
- 95th percentile latency
- 1885 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 1903 ms · refuses unauthenticated resources/list (HTTP 401)
- · probe · passed · 1547 ms · metadata changed · refuses unauthenticated resources/list (HTTP 401)
- · repository · passed · updated
- · repository · passed · metadata changed · updated
- · repository · passed · metadata changed · updated
- · registry · passed · metadata changed · Source metadata updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http swatgenx-mcp https://www.swatgenx.com/mcpCodex
codex mcp add swatgenx-mcp --url https://www.swatgenx.com/mcpCursor
{
"mcpServers": {
"swatgenx-mcp": {
"url": "https://www.swatgenx.com/mcp"
}
}
}Cline
{
"mcpServers": {
"swatgenx-mcp": {
"type": "streamableHttp",
"url": "https://www.swatgenx.com/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"swatgenx-mcp": {
"type": "http",
"url": "https://www.swatgenx.com/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http swatgenx-mcp https://www.swatgenx.com/mcpClaude Desktop
https://www.swatgenx.com/mcpWindsurf
{
"mcpServers": {
"swatgenx-mcp": {
"serverUrl": "https://www.swatgenx.com/mcp"
}
}
}Let your agent find its tools
Find servers like SWATGenX MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other data and analytics servers
Do you run SWATGenX MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.