io.github.SWATGenX/swatgenx
SWAT+ watershed models for any river in the lower 48 states, with groundwater and PFAS data
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
claude mcp add --transport http swatgenx 'https://www.swatgenx.com/mcp'
{
"mcpServers": {
"swatgenx": {
"type": "http",
"url": "https://www.swatgenx.com/mcp"
}
}
}
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على 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
الأسئلة الشائعة
ما هو io.github.SWATGenX/swatgenx؟
SWAT+ watershed models for any river in the lower 48 states, with groundwater and PFAS data
كيف أثبّت io.github.SWATGenX/swatgenx؟
يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http swatgenx 'https://www.swatgenx.com/mcp'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج io.github.SWATGenX/swatgenx إلى مفتاح API؟
لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.
هل io.github.SWATGenX/swatgenx مفتوح المصدر؟
نعم. شيفرته متاحة على GitHub بترخيص MIT.
من يصون io.github.SWATGenX/swatgenx؟
ينشره SWATGenX. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.