Healthdata
v0.2.1HealthData.gov MCP. Keyless.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_datasets
Search HealthData.gov for public-health datasets by keyword (e.g. "COVID hospitalizations", "Medicare spending", "opioid prescriptions"). Returns each dataset's Socrata id (a 4x4 like "g62h-syeh"), title, description, owning agency, tags, when the data was last updated, and its page-view count. Pass the id to get_dataset for full metadata or to get_rows to read the actual rows.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query, e.g. "vaccination rates", "hospital readmissions". |
limit | number | Max results, 1-50 (default 10). |
offset | number | Skip this many results, for paging (default 0). |
get_dataset
Full metadata for one HealthData.gov dataset by its Socrata id (a 4x4 like "g62h-syeh", returned by search_datasets). Returns title, description, owning agency, licence, every column with its type, row count and the last data update. NOTE: HealthData.gov migrated off CKAN, so an old CKAN package id or slug will NOT resolve — search for the dataset again to get its 4x4.
| Parameter | Type | Description |
|---|---|---|
id * | string | Socrata 4x4, e.g. "g62h-syeh". |
get_rows
Read actual rows from a HealthData.gov dataset by its Socrata 4x4 id. Optional SoQL `where` (e.g. "state = 'CA'") and `order` (e.g. "date DESC"). Use get_dataset first to see the column names. This returns the DATA, not a download link.
| Parameter | Type | Description |
|---|---|---|
id * | string | Socrata 4x4, e.g. "g62h-syeh". |
limit | number | Rows to return, 1-1000 (default 20). |
offset | number | Skip this many rows (default 0). |
order | string | SoQL ordering, e.g. "date DESC". |
where | string | SoQL filter, e.g. "state = 'CA'". |