wastewater_state_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_state_trend for the schema, then POST the same URL with its arguments for the data.
CDC NWSS wastewater viral activity level (WVAL) for one US state or territory — same population-weighted national methodology as wastewater_national_trend, scoped to reporting sites within the state. Example: wastewater_state_trend({“state”:“California”,“pathogen”:“SARS-CoV-2”}).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
state | string | yes | US state, DC, or territory name or postal abbreviation (e.g. “California” or “CA”). |
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
{
"state": "CA",
"pathogen": "covid"
}
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_state_trend","arguments":{"state":"CA","pathogen":"covid"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('wastewater_state_trend', {
"state": "CA",
"pathogen": "covid"
});
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.