Cdc

liveHealthGovernment

CDC open data via Socrata API — search and retrieve public health datasets (influenza surveillance, chronic disease, mortality, and more) from data.cdc.gov.

4tools
0msauth
free tier50 calls/day

Tools

search_datasets

Search CDC public health datasets by keyword. Returns dataset names, descriptions, IDs, and update dates. Example: search_datasets("influenza surveillance").

No parameters required.

▶Try it
get_dataset

Fetch up to 1000 rows from a CDC Socrata dataset by its four-by-four dataset ID (e.g., "9mfq-cb36"). Returns row array with all columns plus column names extracted from the first row. Use search_datas

No parameters required.

▶Try it
wastewater_national_trend

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 (F

No parameters required.

▶Try it
wastewater_state_trend

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.

No parameters required.

▶Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/cdc/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/cdc/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"search_datasets","arguments":{}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("search_datasets", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("cdc open data via socrata api — search and retrieve public health datasets (influenza surveillance, chronic disease, mortality, and more) from data");