[Integrations](https://spiral.ai/integrations) › [Grok](https://spiral.ai/integrations/grok) › [CMS nursing homes](https://spiral.ai/integrations/grok/cms-nursing-homes)

# How to Use CMS nursing homes in Grok

Find Medicare- and Medicaid-certified nursing homes and compare their CMS five-star ratings. Use the results to identify local facilities before reviewing staffing, inspections, and penalties.

|  |  |
| --- | --- |
| Model | CMS nursing homes |
| Available through | Alexandria |
| Category | Health |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with CMS nursing homes in Grok

- Use CMS nursing homes to compare CMS overall ratings for facilities in Madison, Wisconsin, and give me a table of names and locations.
- Use CMS nursing homes to look this up and give me the result as a table.
- Pull the latest numbers from CMS nursing homes and tell me what changed since last week.
- Check CMS nursing homes and summarize what you find in three bullet points.
- Pull the newest data from CMS nursing homes and give me the result as a table.

## How to set up CMS nursing homes in Grok

Pick the way that suits you. Each takes about two minutes.

### Use the Grok connector

1. **Add a custom connector**: In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

```text
https://api.spiral.ai/mcp
```

2. **Sign in to Spiral and approve**: Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

3. **Check that it is connected**: Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

### Use the Spiral skill

1. **Send Grok this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run CMS nursing homes**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "data-cms-gov/clinician-procedure-volume/nursing_homes",
    "input": {
      "city": "<city>"
    }
  }'
```

Then paste one of the prompts above: Grok finds CMS nursing homes on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/grok

## CMS nursing homes tools and prices

- [CMS data.cms.gov · Nursing homes](https://spiral.ai/tools/alexandria/data-cms-gov/clinician-procedure-volume/nursing_homes) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| city |  | — | City name, exact match, case-insensitive. |
| name |  | — | Case-insensitive substring of the nursing home name. |
| limit | 1 to 100 | 25 | Results per page. |
| state |  | — | Two-letter USPS state or territory code. Pattern: ^[A-Za-z]{2}$. |
| offset | 0 to … | 0 | Results to skip; pass next_offset from the previous page. |
| zip_code |  | — | Five-digit ZIP code, exact match. Pattern: ^[0-9]{5}$. |

## What can you do with CMS nursing homes in Grok?

Turn CMS provider records into a readable comparison of care settings or reported procedure experience. A chat app can explain facility rating components and Medicare volume figures without combining them into an invented quality score.

### Regional care research

Prepare a regional care report using CMS facility listings and detailed quality measures. Add reported Medicare procedure activity for an established roster of public clinical practices, with facility quality and clinician volume presented separately.

### Public healthcare directory enrichment

Add CMS ratings and service information to facility directory entries, and published procedure categories to professional clinician entries. Respect CMS's profile-display indicators when showing procedure volume.

### CMS publication change review

Compare saved results after CMS publishes updates. Report changed facility ratings, services, staffing measures, or procedure counts for a public provider directory, distinguishing publication changes from changes in reporting periods.

### Published provider data reconciliation

Check a healthcare organization's published CMS comparisons against the source records. Review facility identifiers, rating components, and Medicare procedure categories, including suppressed count ranges and profile-display restrictions.

### Nursing home staffing and inspection review

Compare nursing homes using overall ratings, then examine staffing, inspection results, and published penalties. Include the three-year boundary when describing fines and payment denials.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Grok guides](https://spiral.ai/integrations/grok)

## CMS nursing homes in other agents

- [Amp](https://spiral.ai/integrations/amp/cms-nursing-homes)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/cms-nursing-homes)
- [Claude](https://spiral.ai/integrations/claude-desktop/cms-nursing-homes)
- [Claude Code](https://spiral.ai/integrations/claude-code/cms-nursing-homes)
- [Cline](https://spiral.ai/integrations/cline/cms-nursing-homes)
- [Codex](https://spiral.ai/integrations/codex/cms-nursing-homes)
- [Cursor](https://spiral.ai/integrations/cursor/cms-nursing-homes)
- [Devin](https://spiral.ai/integrations/devin/cms-nursing-homes)
- [dots](https://spiral.ai/integrations/dots/cms-nursing-homes)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/cms-nursing-homes)
- [Gemini](https://spiral.ai/integrations/gemini/cms-nursing-homes)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/cms-nursing-homes)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/cms-nursing-homes)
- [goose](https://spiral.ai/integrations/goose/cms-nursing-homes)
- [Grok Build](https://spiral.ai/integrations/grok-build/cms-nursing-homes)
- [Hermes](https://spiral.ai/integrations/hermes/cms-nursing-homes)
- [Instinct](https://spiral.ai/integrations/instinct/cms-nursing-homes)
- [Manus](https://spiral.ai/integrations/manus/cms-nursing-homes)
- [Muse](https://spiral.ai/integrations/muse/cms-nursing-homes)
- [Muse Code](https://spiral.ai/integrations/muse-code/cms-nursing-homes)
- [n8n](https://spiral.ai/integrations/n8n/cms-nursing-homes)
- [Notion](https://spiral.ai/integrations/notion/cms-nursing-homes)
- [OpenClaw](https://spiral.ai/integrations/openclaw/cms-nursing-homes)
- [opencode](https://spiral.ai/integrations/opencode/cms-nursing-homes)
- [Perplexity](https://spiral.ai/integrations/perplexity/cms-nursing-homes)
- [Raycast](https://spiral.ai/integrations/raycast/cms-nursing-homes)
- [VS Code](https://spiral.ai/integrations/vscode/cms-nursing-homes)
- [Windsurf](https://spiral.ai/integrations/windsurf/cms-nursing-homes)
- [Zapier](https://spiral.ai/integrations/zapier/cms-nursing-homes)

## More Grok guides

- [CMS nursing home details](https://spiral.ai/integrations/grok/cms-nursing-home-details)
- [CTIS clinical trial details](https://spiral.ai/integrations/grok/ctis-clinical-trial-details)
- [CMS hospitals](https://spiral.ai/integrations/grok/cms-hospitals)
- [CTIS clinical trial search](https://spiral.ai/integrations/grok/ctis-clinical-trial-search)
- [CMS hospital details](https://spiral.ai/integrations/grok/cms-hospital-details)
- [California HCAI drug WAC increases](https://spiral.ai/integrations/grok/california-hcai-drug-wac-increases)

## Questions about CMS nursing homes in Grok

**Can Grok use CMS nursing homes?**

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run CMS nursing homes like any built-in tool.

**How much does CMS nursing homes cost in Grok?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok plan is separate.

**Do I need an Alexandria account to use CMS nursing homes in Grok?**

No. Spiral runs CMS nursing homes on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up CMS nursing homes in Grok?**

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

**Does Grok wait while CMS nursing homes runs?**

CMS nursing homes runs in the background. Grok starts the run, checks on it and gives you the json when it's ready.

**Does CMS cover every healthcare provider?**

Coverage follows Medicare reporting programs. The facility data covers Medicare hospitals, dialysis facilities, and home health agencies; nursing home coverage includes Medicare- and Medicaid-certified facilities, while procedure volume covers reported Medicare activity.

**Are these current operating conditions?**

CMS publishes reporting-period data rather than a live view of care delivery. Nursing home star ratings are monthly, while clinician procedure volume uses a one-year observation window with a three-month claims-processing lag.

**Can I retrieve historical CMS releases?**

CMS makes current datasets available through its API and archived datasets available as ZIP files. Historical analysis therefore needs the archive downloads rather than an assumption that a current lookup includes past releases.

**Can CMS data be reused in a public report or commercial application?**

CMS identifies these government works as public-domain data and says permission is not required for reuse. Attribution to CMS is appreciated.

**Does publishing CMS results imply government endorsement?**

No. CMS says reused materials must not create a false impression that the government endorses commercial products or services; a published star rating is also limited to its underlying data sources.

