MCP server for discovering and querying CDC public health datasets via the Socrata SODA API.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Search and query CDC public health data β mortality, vaccinations, surveillance, behavioral risk (Socrata SODA API) via MCP. STDIO or Streamable HTTP.
Public Hosted Server: https://cdc.caseyjhand.com/mcp
Four tools for discovering and querying CDC public health data. Three query the CDC Open Data portal (Socrata); one queries CDC WONDER mortality statistics:
| Tool | Description |
|---|---|
cdc_discover_datasets | Search the catalog by keyword, category, or tag. Entry point for all queries. |
cdc_get_dataset_schema | Fetch column schema, row count, and metadata for a dataset. Essential before writing SoQL queries. Returns a bounded column window with a continuation offset for wide schemas. |
cdc_query_dataset | Execute SoQL queries β filter, aggregate, sort, full-text search, and field selection. |
cdc_query_wonder | Query CDC WONDER for national mortality statistics (deaths, population, crude/age-adjusted rates) by year, age, sex, and race, filtered by ICD-10 cause. Covers five CDC mortality databases β final and provisional, underlying-cause and multiple-cause. Large tables page with a continuation offset. |
cdc_discover_datasetsSearch the CDC dataset catalog to find relevant datasets.
["covid19", "surveillance"]) β a dataset matches on any one tag, so each tag added widens the result set; narrow with query or category, which intersect with the tag setcdc_get_dataset_schema for the full column listassetType (dataset, filter, chart, map, story, file, href); a columnCount of 0 marks an entry that is not tabular and yields no data from the other toolsoffset plus limit must not exceed 10,000, the ceiling the catalog enforcesdomain selects the host contacted, data.cdc.gov (default) or chronicdata.cdc.gov β both front the same catalog and return the same entries, so switching hosts neither widens nor narrows a searchcdc_get_dataset_schemaFetch the column schema for a specific dataset.
$where clausesbi63-dtpu)totalCount, truncated, and a nextOffset to pass back as column_offset. Raise column_limit (max 500) to pull a wide schema in one callcolumn_offset at or past the column count returns an empty window rather than an errornot_queryable when the ID names a non-tabular catalog asset, rather than returning an empty column listdomain selects the host contacted, data.cdc.gov (default) or chronicdata.cdc.gov β a four-by-four ID resolves on eithercdc_query_datasetExecute SoQL queries against any CDC dataset.
$select, $where, $group, $having, $order$qtruncated is measured, not guessed: the request fetches one row past the limit and drops it, so a page that fills the limit exactly is reported as complete instead of sending you paginating an aggregatenextOffset names where to resume whenever rows remain. Pair it with an order clause β SODA does not order results implicitly, and order=":id" works on any datasetlimit: 5000 returns a usable page with a nextOffset rather than several megabyteseffectiveQuery, values in their original text rather than URL-encoded, so a clause can be copied back into the parameter it came fromdomain selects the host contacted, data.cdc.gov (default) or chronicdata.cdc.gov β a four-by-four ID returns the same rows from eithercdc_query_wonderQuery CDC WONDER for national US mortality statistics β a separate CDC system from the Socrata datasets the other tools query.
database picks which of CDC's five mortality databases answers the query:
| Value | CDC database | Years | Race groups | mcd_icd10 |
|---|---|---|---|---|
underlying_1999_2020 (default) | D76 β Underlying Cause of Death | 1999β2020 | 4 bridged | β |
provisional | D176 β Provisional Mortality Statistics | 2018 β current year | 6 single-race | yes |
underlying_2018_2024 | D158 β Underlying Cause of Death, Single Race | 2018β2024 | 6 single-race | β |
multiple_1999_2020 | D77 β Multiple Cause of Death | 1999β2020 | 4 bridged | yes |
multiple_2018_2024 | D157 β Multiple Cause of Death, Single Race | 2018β2024 | 6 single-race | yes |
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/cdc-health-mcp-server)<a href="https://allmcps.com/mcp/cdc-health-mcp-server"><img src="https://allmcps.com/api/badge/cdc-health-mcp-server?style=directory" alt="Cdc Health MCP Server on AllMCPs" /></a>