CDC (Unofficial)
v0.2.2Unofficial 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").
| Parameter | Type | Description |
|---|---|---|
query * | string | Search 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.
| Parameter | Type | Description |
|---|---|---|
id * | string | Socrata dataset ID in four-by-four format (e.g., "9mfq-cb36") |
limit | number | Number 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"}).
| Parameter | Type | Description |
|---|---|---|
pathogen | string | Pathogen: "SARS-CoV-2" (aliases: covid, covid-19), "Influenza A" (aliases: flu, influenza), or "RSV". Default SARS-CoV-2. |
weeks | number | Trailing 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"}).
| Parameter | Type | Description |
|---|---|---|
state * | string | US state, DC, or territory name or postal abbreviation (e.g. "California" or "CA"). |
pathogen | string | Pathogen: "SARS-CoV-2" (aliases: covid, covid-19), "Influenza A" (aliases: flu, influenza), or "RSV". Default SARS-CoV-2. |
weeks | number | Trailing weeks of history to include (default 4, max 12). |