# CMS.gov Data MCP for AI Agents AI Agent Connect

> CMS.gov Data MCP gives your AI agent direct access to the official US government healthcare database. It lets you query over 2.4 million Medicare-enrolled providers, check hospital quality star ratings across all 50 states, and browse hundreds of open datasets on Medicare spending and prescription drugs. It's a one-stop shop for official public health data.

## Overview
- **Category:** brain-trust
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_TumineXxFDkb65TJaWUHKbPMZhC92AkJtSWuaTcq/ai-agent-connect
- **Tags:** public-health, medicaid, provider-data, open-data, healthcare-compliance, data-query

## Description

The CMS.gov Data MCP connects you to the Centers for Medicare & Medicaid Services (CMS) open data platform so you can query the official US government healthcare database. Imagine you're trying to map out the healthcare landscape in a specific state or find a specific type of clinic. Instead of digging through clunky government portals, downloading messy CSV files, and trying to clean that data in a spreadsheet, you just ask your AI to do the heavy lifting. This Connector lets you pull up lists of doctors by specialty, check out hospital quality star ratings, or find skilled nursing facilities in a specific zip code. If you're looking for broader trends, you can also pull metadata from hundreds of different datasets covering things like Medicare spending, prescription drug costs, and healthcare utilization. It turns a mountain of government paperwork into a conversational data source that actually makes sense. Because Vinkius hosts this, you don't have to mess with API keys, complex authentication, or technical hurdles; it just works. It's about getting the facts you need for a report, a research paper, or a policy brief without the headache of manual data entry. You get to spend your time analyzing the information instead of hunting for it.

## Tools

### search_doctors
Use search_doctors to find doctors and clinicians by name, city, or state across 2.4 million records. It provides names, NPIs, and practice locations.

### search_hospitals
The search_hospitals tool finds hospitals by name or location including their quality ratings and types. This helps you identify the best facilities in a given area.

### get_hospital_ratings
The get_hospital_ratings tool lets you see overall star ratings, hospital types, and emergency service availability for any state. This provides a clear look at regional healthcare quality.

### list_datasets
Use list_datasets to browse the full catalog of CMS open datasets. This helps you see what is available for Medicare spending, prescription drugs, and more.

### search_providers_by_specialty
The search_providers_by_specialty tool finds healthcare providers that match specific medical specialties like Cardiology or Psychiatry. It is useful for mapping out specialized care.

### get_dataset_metadata
The get_dataset_metadata tool returns the dataset title, full description, publication date, and publisher information. You can use this to understand the scope of various government data points.

### get_doctor_by_npi
Use get_doctor_by_npi to pull a doctor's full name, specialty, practice address, and enrollment status. This is the fastest way to verify specific provider details using a 10-digit NPI number.

### search_nursing_homes
Use search_nursing_homes to find skilled nursing facilities and long-term care homes with quality ratings. This is ideal for finding elder care options.

## Prompt Examples

**Prompt:** 
```
Find all pediatricians in Austin, Texas who are enrolled in Medicare.
```

**Response:** 
```
I've searched the CMS database for pediatricians in Austin, TX. Here are the top enrolled providers:

| Name | Specialty | Location | NPI |
| :--- | :--- | :--- | :---|
| Dr. Sarah Jenkins | Pediatrics | Austin, TX | 1234567890 |
| Dr. Mark Lee | Pediatrics | Austin, TX | 0987654321 |

Would you like the full practice addresses for any of these locations?
```

**Prompt:** 
```
What are the top-rated hospitals in Florida with emergency services?
```

**Response:** 
```
I've retrieved the top-rated hospitals in Florida with emergency services:

* **Jackson Memorial Hospital** (5 Stars) - Miami, FL
* **Tampa General Hospital** (5 Stars) - Tampa, FL
* **Orlando Health Orlando Regional Medical Center** (4 Stars) - Orlando, FL

Would you like to see the specific ratings for any of these facilities?
```

**Prompt:** 
```
I have NPI 1234567890. Who is this provider and where do they practice?
```

**Response:** 
```
I've retrieved the profile for NPI 1234567890:

* **Provider:** Dr. John Smith
* **Specialty:** Internal Medicine
* **Address:** 123 Main St, New York, NY 10001
* **Medicare Status:** Active

Would you like to find other providers in the same specialty?
```

## Capabilities

### Search Medicare-enrolled doctors
Find clinicians by name, specialty, or location across a database of over 2.4 million providers.

### Retrieve hospital quality ratings
Get official star ratings, hospital types, and emergency service availability for any state.

### Locate nursing and long-term care
Search for skilled nursing facilities and elder care homes with quality ratings in specific areas.

### Browse CMS open datasets
Access metadata for hundreds of datasets on Medicare spending, drug costs, and utilization.

### Get detailed provider profiles
Pull specific practice addresses and enrollment statuses using a unique 10-digit NPI number.

## Use Cases

### Mapping regional specialists
A healthcare analyst asks for all cardiologists in New York to see how many are enrolled in Medicare.

### Comparing nursing home quality
A family member asks for 5-star nursing homes in a specific zip code to help choose a facility for a parent.

### Researching Medicare spending
A policy professional pulls metadata from dozens of datasets to analyze trends in prescription drug costs.

### Verifying clinic addresses
A journalist uses an NPI number to get the exact practice location and specialty of a specific doctor.

## Benefits

- Skip the government website. Use search_doctors to pull results from 2.4 million records without clicking through multiple pages.
- Check hospital quality instantly. Use get_hospital_ratings to see 1 to 5 star ratings for facilities in any state.
- Find specific specialists. Use search_providers_by_specialty to get a list of doctors in fields like Internal Medicine or Dermatology.
- Verify provider info quickly. Use get_doctor_by_npi to pull practice addresses and enrollment status from a single 10-digit number.
- Browse government data. Use list_datasets to see all available Medicare spending and prescription drug data in one place.
- Locate elder care. Use search_nursing_homes to find high-quality long-term care facilities in specific locations.

## How It Works

The bottom line is you get official government healthcare data without the manual search.

1. Subscribe to the CMS.gov Data MCP on Vinkius.
2. Connect your favorite AI client like Claude or Cursor.
3. Ask your agent to find specific healthcare data or provider lists.

## Frequently Asked Questions

**Can the CMS.gov Data MCP find doctors in specific cities?**
Yes, it can search across 2.4 million records to find doctors and clinicians by name, city, or state.

**Does the CMS.gov Data MCP include hospital quality ratings?**
Yes, it pulls official 1 to 5 star ratings, hospital types, and emergency service availability.

**Can I use the CMS.gov Data MCP for research on Medicare spending?**
Yes, it lets you browse hundreds of open datasets covering Medicare spending, drug costs, and utilization.

**Is there a fee to use the CMS.gov Data MCP?**
No, because it connects to public government data, there is no additional fee for the data itself.

**Can I find nursing homes with this Connector?**
Yes, it includes tools to search for skilled nursing facilities and long-term care homes with quality ratings.

**Does CMS.gov Data MCP require an API key?**
No, it connects to the CMS open data platform which does not require a personal API key.

**Do I need an API key to use this server?**
No. The CMS.gov Provider Data API is completely public and requires no authentication. Simply subscribe to this server to start querying Medicare provider data, hospital ratings, and open datasets immediately.

**How current is the data?**
CMS updates the Provider Data Catalog periodically, typically on a quarterly or monthly basis depending on the dataset. Hospital quality ratings are updated annually through the Hospital Compare program. All data is sourced directly from the official CMS.gov open data APIs.

**What is an NPI number?**
The National Provider Identifier (NPI) is a unique 10-digit identification number issued by CMS to every US healthcare provider. It's the universal standard for identifying doctors, hospitals, and healthcare organizations in Medicare and Medicaid transactions. You can search for any provider by their NPI using this server.