# CDC WONDER MCP for AI Agents AI Agent Connect

> CDC WONDER (Epidemiologic Data) lets you query public health databases like mortality, birth statistics, and vaccine safety reports directly through your AI agent. It turns complex CDC WONDER parameters into natural language queries for researchers and public health officials.

## Overview
- **Category:** data-analytics
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_2e1hzTkTfK62bhDLQDVl0dAS6YzhqwKhDsDg2iRn/ai-agent-connect
- **Tags:** epidemiology, public-health, cdc-wonder, mortality-data, medical-research

## Description

This Connector lets you query the CDC WONDER system to get public health data without the usual headache of navigating a complex web interface. If you're trying to pull mortality rates, birth statistics, or vaccine safety reports, you can now just ask your AI agent for the specifics. It handles the heavy lifting of constructing queries for databases like D76, D77, D10, and VAERS. Instead of wrestling with prefixes and parameters manually, you get structured data for your research or policy reports in a few seconds. It's a major shortcut for anyone who needs to move from a question to a data table quickly. You can find this Connector in the Vinkius catalog to get started.

## Tools

### query_wonder_database
Query specific CDC WONDER databases like D76 or VAERS using provided IDs and parameters. This lets you pull precise mortality and birth statistics for your research.

## Prompt Examples

**Prompt:** 
```
What were the mortality rates for people over 65 in Florida in 2020?
```

**Response:** 
```
I've queried the D76 Detailed Mortality database for Florida in 2020. Here are the rates for the requested age groups:

| Age Group | Mortality Rate |
|---|---|
| 65-74 | 4.2% |
| 75-84 | 8.7% |
| 85+ | 15.3% |

*Data source: CDC WONDER D76*
```

**Prompt:** 
```
Can you pull the latest VAERS reports for the COVID19 vaccine?
```

**Response:** 
```
Accessing the VAERS database for vaccine adverse events related to 'COVID19'.

**Summary of Reported Events:**
* **Total Reports:** 1,240,300
* **Commonly Reported Symptoms:**
  * Injection site reactions
  * Fever
  * Fatigue

*Note: These are reported events and do not necessarily indicate causality.*

*Data source: VAERS via CDC WONDER*
```

**Prompt:** 
```
Give me birth statistics for California from the D10 database.
```

**Response:** 
```
I've retrieved the natality data for California from the D10 database:

| Region | Birth Rate | Maternal Health Metric |
|---|---|---|
| California | 5.8 | 92% |

*Data source: CDC WONDER D10*
```

## Capabilities

### Pull mortality rates
Get data from the D76 and D77 databases for specific timeframes and regions.

### Extract birth statistics
Access the D10 Natality database to analyze birth rates and maternal health metrics.

### Retrieve vaccine safety reports
Query the VAERS database for safety monitoring and adverse event data.

### Execute complex queries
Run ad-hoc queries using standard CDC parameters like B_, M_, V_, F_, and O_ prefixes.

### Export structured data
Get raw data in a structured format for scientific research or educational projects.

## Use Cases

### Checking mortality rates for a specific age group
A researcher asks the agent to query the D76 database for mortality rates among seniors in 2022. The agent pulls the data and presents a table instantly.

### Monitoring vaccine adverse events
A health official asks for the latest VAERS reports for a specific vaccine. The agent retrieves the safety data for a quick summary.

### Analyzing state birth statistics
A student needs birth rates for California. They ask the agent to pull D10 data, which returns the specific stats without manual filtering.

### Fetching data for analytical models
A data scientist needs raw data for a project. They ask for structured JSON from the D76 database to integrate into their own tools.

## Benefits

- Skip the CDC WONDER web interface and get data directly through your AI client.
- Pull mortality records from the D76 and D77 databases using query_wonder_database.
- Extract vaccine safety reports from the VAERS database without manual filtering.
- Get structured JSON data for your research and analytical workflows.
- Use natural language to execute complex queries with standard CDC prefixes.
- Save time on manual data extraction for public health and medical research.

## How It Works

The bottom line is you get to skip the manual web interface and get public health data through a simple chat.

1. Subscribe to the Connector and provide your CDC WONDER API Access Token or accept the Data Use Agreement.
2. Ask your AI client a specific question about mortality, birth statistics, or vaccine safety.
3. Receive a structured data table or JSON output ready for your report or analysis.

## Frequently Asked Questions

**Can I use CDC WONDER MCP for mortality data?**
Yes, you can pull data from the D76 and D77 databases to get specific mortality rates for different regions and timeframes.

**Does CDC WONDER MCP include vaccine safety?**
Yes, it can query the VAERS database to retrieve safety monitoring data and reported adverse events.

**Can I get birth statistics with CDC WONDER MCP?**
Yes, it connects to the D10 Natality database so you can analyze birth rates and maternal health metrics.

**Is CDC WONDER MCP good for scientific research?**
It is specifically designed for researchers who need to pull structured epidemiologic data for analysis and scientific papers.

**Do I need a special API key for CDC WONDER MCP?**
You may need a CDC WONDER API Access Token depending on your proxy setup, but the Connector handles the query construction.

**Can I get data for specific states with CDC WONDER MCP?**
Yes, you can use location filters to extract data for specific states or regions within the CDC databases.

**Which databases can I access using this server?**
You can query any database supported by the CDC WONDER API by providing its ID to the `query_wonder_database` tool. Common IDs include D76 (Detailed Mortality), D10 (Natality), and VAERS (Vaccine Adverse Event Reporting System).

**How should I format the parameters for a query?**
Parameters should be provided as a JSON object using the standard CDC prefixes: B_ for by-variables, M_ for measures, V_ for values, F_ for filters, and O_ for other options. The `query_wonder_database` tool handles the XML conversion for you.

**Do I need to include the 'accept_datause_restrictions' parameter?**
No. The `query_wonder_database` tool is designed to handle the data use restrictions agreement internally. You only need to provide the specific database ID and the analytical parameters for your search.