Cms

v0.2.1
io.github.pipeworx-io/cms Checked 1 day ago Published 1 month ago

CMS Open Data MCP — US Centers for Medicare & Medicaid Services.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_datasets

Find CMS dataset IDs + titles by keyword. CMS publishes Medicare/Medicaid open data (provider data, spending, enrollment, drug pricing, quality measures, hospitals, nursing homes, ACOs, etc.). Searches the CMS DCAT catalog client-side over each dataset title/description/keywords. Returns the datasetId (UUID) you pass to get_dataset and dataset_info.

ParameterTypeDescription
keyword *stringSearch term, e.g. "hospital", "drug spending", "nursing home", "enrollment".
limitnumberMax datasets to return (default 25, max 100).

get_dataset

Pull rows from a CMS dataset by datasetId (UUID from search_datasets). Returns an array of row objects whose keys are the dataset columns. Supports paging (size/offset), full-text keyword search across the dataset, and exact-match column filters via filters: {COLUMN: VALUE} (column names match the keys in returned rows, e.g. {"State": "TX"}).

ParameterTypeDescription
datasetId *stringDataset UUID from search_datasets, e.g. "9767cb68-8ea9-4f0b-8179-9431abc89f11".
filtersobjectOptional exact-match column filters, e.g. {"State": "TX", "Provider_Type": "Hospital"}. Becomes filter[COLUMN]=VALUE.
keywordstringOptional full-text search across all columns.
offsetnumberRow offset for paging (default 0).
sizenumberRows per page (default 100).

dataset_info

Metadata for a CMS dataset by datasetId: title, description, total row count, last-modified date, themes/keywords, and downloadable resources (CSV files, data dictionaries). Use after search_datasets to inspect a dataset before pulling rows.

ParameterTypeDescription
datasetId *stringDataset UUID from search_datasets.