CDC (Unofficial)

v0.2.2
io.github.pipeworx-io/cdc Checked 1 day ago Published 15 days ago

Unofficial CDC MCP — wraps CDC open data via Socrata API (data.cdc.gov)

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

cdc_search_datasets

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

ParameterTypeDescription
query *stringSearch keywords (e.g., "covid cases", "influenza", "vaccination rates", "mortality")

cdc_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_datasets first to find the dataset ID.

ParameterTypeDescription
id *stringSocrata dataset ID in four-by-four format (e.g., "9mfq-cb36")
limitnumberNumber of rows to return (default 50, max 1000)

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 (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"}).

ParameterTypeDescription
pathogenstringPathogen: "SARS-CoV-2" (aliases: covid, covid-19), "Influenza A" (aliases: flu, influenza), or "RSV". Default SARS-CoV-2.
weeksnumberTrailing weeks of history to include (default 4, max 12).

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. Example: wastewater_state_trend({"state":"California","pathogen":"SARS-CoV-2"}).

ParameterTypeDescription
state *stringUS state, DC, or territory name or postal abbreviation (e.g. "California" or "CA").
pathogenstringPathogen: "SARS-CoV-2" (aliases: covid, covid-19), "Influenza A" (aliases: flu, influenza), or "RSV". Default SARS-CoV-2.
weeksnumberTrailing weeks of history to include (default 4, max 12).