wastewater_national_trend
Pack: cdc · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/wastewater_national_trend for the schema, then POST the same URL with its arguments for the data.
National CDC NWSS wastewater viral activity level (WVAL) for SARS-CoV-2, influenza A, or RSV — the leading public signal for near-term respiratory infection and test-demand trends, published weekly (Fridays) from ~800+ US sewershed sites. Returns the latest week’s national level (Very Low/Low/Moderate/High/Very High, population-weighted across reporting sites), the category breakdown, and a week-over-week trend. Example: wastewater_national_trend({“pathogen”:“SARS-CoV-2”}).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
pathogen | string | no | Pathogen: “SARS-CoV-2” (aliases: covid, covid-19), “Influenza A” (aliases: flu, influenza), or “RSV”. Default SARS-CoV-2. |
weeks | number | no | Trailing weeks of history to include (default 4, max 12). |
Example call
Arguments
{
"pathogen": "SARS-CoV-2"
}
curl
curl -X POST https://gateway.pipeworx.io/cdc/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"wastewater_national_trend","arguments":{"pathogen":"SARS-CoV-2"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('wastewater_national_trend', {
"pathogen": "SARS-CoV-2"
});
More examples
{
"pathogen": "flu",
"weeks": 6
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the cdc pack
{
"mcpServers": {
"cdc": {
"url": "https://gateway.pipeworx.io/cdc/mcp"
}
}
}
See Getting Started for client-specific install steps.