# Cdc [Health: Active]

**Category:** 🧬 Biology & Bioinformatics  
**Repository:** https://github.com/pipeworx-io/mcp-cdc  
**GitHub Stars:** 0  
**npm Downloads (last month):** 1160  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/cdc

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

## Tools
Capabilities this server exposes over MCP:

- **search_datasets** — Search CDC public health datasets by keyword. Returns dataset names, descriptions, IDs, and update dates. Example: search_datasets("influenza surveillance").
- **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.
- **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"}).
- **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"}).

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "cdc": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-cdc"]
  }
}
```

## Documentation

## What Cdc does

Cdc connects AI agents to public data published by the US Centers for Disease Control and Prevention through Socrata and the Pipeworx gateway. It is intended for questions about disease incidence, mortality, behavioral risk factors, environmental health, social determinants of health, and respiratory-virus surveillance.

Relevant CDC data products include NVSS mortality statistics, NNDSS notifiable-disease reports, BRFSS risk-factor prevalence, YRBSS youth behavior data, NHANES examination and laboratory data, FluView, and wastewater surveillance. These sources differ in cadence and coverage: mortality data may be annual or monthly, disease and flu reporting is commonly weekly, BRFSS is annual, and YRBSS is biennial.

The server also provides dedicated wastewater trend analysis. Its national and state trend tools use CDC's classified wastewater dataset for SARS-CoV-2, Influenza A, and RSV. They aggregate site-level categories with population weighting and report a trend as rising, declining, or stable.

## How it works

The hosted pack endpoint is `https://gateway.pipeworx.io/cdc/mcp`. A full Pipeworx gateway endpoint is also available at `https://gateway.pipeworx.io/mcp`; both expose the same underlying data sources, while the pack endpoint lists CDC tools directly. Pack connections also expose shared gateway tools, including `ask_pipeworx`, `discover_tools`, `search_within`, and memory tools. `ask_pipeworx` can route a natural-language question across the wider catalog.

For clients without MCP support, tools can be called over HTTP. For example, `cdc_search_datasets` accepts a query for dataset discovery through the gateway's tools API. The local npm package, `@pipeworx/mcp-cdc`, runs as a stdio bridge and forwards requests to the hosted CDC endpoint, so it requires network access and does not provide offline operation.

## Setup and configuration

Add the hosted endpoint as an MCP server using its URL, or configure a client to launch `npx -y @pipeworx/mcp-cdc` as a local stdio process. The npm bridge works anonymously with a daily limit of 50 calls. A free Pipeworx account and `PIPEWORX_API_KEY` increase the limit to 200 calls per day; the key is sent as a Bearer token.

Set `PIPEWORX_META_TOOLS=1` when the local bridge should list the shared Pipeworx tools in addition to the CDC pack tools. Behind an HTTPS proxy, newer Node releases can use the proxy environment through `NODE_USE_ENV_PROXY=1`.

Most CDC datasets are open without a Socrata token. Sustained or higher-volume direct dataset access may require a free Socrata app token, passed as `_apiKey`.

## Tools and capabilities

- Search CDC datasets and select sources for a public-health question.
- Query mortality counts and rates by cause, age, sex, race, and geography.
- Work with weekly notifiable-disease and FluView surveillance data.
- Analyze BRFSS state-level prevalence for smoking, obesity, diabetes, mental health, and related factors.
- Calculate national or state wastewater activity trends for COVID-19, influenza, and RSV with `wastewater_national_trend` and `wastewater_state_trend`.
- Route broader questions through Pipeworx shared tools such as `ask_pipeworx`.

## Limitations and notes

CDC suppresses some small counts and low-denominator cells for privacy. Null or asterisk values should not be interpreted as zero. Mortality results may include both crude and age-adjusted rates; age-adjusted figures are generally more suitable for comparisons between populations with different age structures.

Analyses spanning race categories before and after the introduction of multi-race reporting require care. Mortality data can distinguish state of residence from state of occurrence, and the appropriate field depends on the question. FluView, notifiable-disease, and mortality data also arrive with delays, so the latest available observation may not represent the current week or month.

The wastewater trend tools accept common pathogen aliases such as `covid`, `flu`, and `rsv`, and states can be supplied by postal abbreviation or full name. Their results are computed from site-level categories rather than a precomputed national or state statistic.

_Full upstream README: https://allmcps.com/mcp/cdc/readme_

