Cdc logo

Cdc

Queries CDC public-health datasets through Socrata, including mortality, disease surveillance, BRFSS, flu, and wastewater trends.

Install Cdc

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "cdc": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-cdc"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 4 tools correctly ().

Overview

Cdc MCP server exposes CDC public-health data through the Socrata API on data.cdc.gov and the Pipeworx gateway. It supports searches and focused analysis across mortality, notifiable diseases, BRFSS, FluView, respiratory surveillance, and wastewater activity. Use it for US public-health questions that require state, demographic, temporal, or pathogen-level data, including population-weighted wastewater trends. Hosted MCP and local npm stdio connection options are available, with anonymous usage limits and optional Pipeworx authentication.

Use cases

  • Compare mortality rates by state and cause
  • Find weekly counts for notifiable diseases
  • Measure state-level behavioral risk-factor prevalence
  • Track national or state wastewater activity for respiratory viruses

Key features

  • CDC Socrata dataset search
  • Mortality and disease-surveillance queries
  • BRFSS and other population-health data access
  • FluView and respiratory-virus surveillance
  • Population-weighted wastewater trend analysis
  • Hosted HTTP and local npm stdio connection modes

Tools4

What Cdc lets your agent do. Expand a tool for its parameters.

Verified live~666 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

16/16 checks healthy over the last 73d

What it can do

From the 4 tools this server returned when we ran it; 4 declare their own safety hints.

Makes network requests · 4Read-only tools · 4
Network at startup4 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age130 days
Maintainers1

Observed 2026-11-03 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 4d ago via OSV.dev · @pipeworx/mcp-cdc (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads1.2kPackage downloads in the last 30 days.
Last commit14d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed4Callable tools this server registers over MCP.

How Cdc works

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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Cdc

Cdc is an MCP server that connects AI agents to CDC public-health datasets on data.cdc.gov through the Pipeworx gateway. Its main tools search datasets, query mortality and disease surveillance, analyze BRFSS and FluView data, and calculate national or state wastewater trends for COVID-19, influenza, and RSV.

Install it by adding the hosted MCP URL or launching `npx -y @pipeworx/mcp-cdc` as a local stdio server. The hosted endpoint is `https://gateway.pipeworx.io/cdc/mcp`; the npm bridge forwards requests to that endpoint and requires network access.

Yes, Cdc works with Cursor through the hosted MCP endpoint. Add `https://gateway.pipeworx.io/cdc/mcp` to Cursor's MCP configuration, or use the npm stdio bridge if you prefer a local process.

No, an API key is not required for initial anonymous use. The local bridge allows up to 50 calls per day without a key; setting `PIPEWORX_API_KEY` from a free Pipeworx account raises that limit to 200 calls per day.

Use `wastewater_national_trend` for national results or `wastewater_state_trend` for a state. Provide a pathogen such as `covid`, `flu`, or `rsv`; state inputs can use postal abbreviations or full names. The tools calculate population-weighted activity and a week-over-week direction.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewCdc AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/cdc?style=directory)](https://allmcps.com/mcp/cdc)
HTML Embed
<a href="https://allmcps.com/mcp/cdc"><img src="https://allmcps.com/api/badge/cdc?style=directory" alt="Cdc on AllMCPs" /></a>