[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [CMS nursing home details](https://spiral.ai/integrations/n8n/cms-nursing-home-details)

# How to Use CMS nursing home details in n8n

Get one nursing home's CMS ratings, staffing, inspection, penalty, and chain information. Use it to examine differences behind the overall rating, including published fines and payment denials from the last three years.

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

## Prompts to try with CMS nursing home details in n8n

- Each month, use CMS nursing home details for Merry Wood Lodge in Elmore, Alabama, and report changes in ratings, staffing, inspections, and published penalties.
- Every Monday at 9am: use CMS nursing home details to look this up and give me the result as a table.
- Pull the latest numbers from CMS nursing home details and tell me what changed since last week.
- Check CMS nursing home details and summarize what you find in three bullet points.
- Pull the newest data from CMS nursing home details and give me the result as a table.

## How to set up CMS nursing home details in n8n

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

### Use the Spiral skill

1. **Send n8n 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 Spiral's MCP server

1. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

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

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run CMS nursing home details in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds CMS nursing home details, prices it and runs it each time the step fires.

### 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 home details**: 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_home",
    "input": {
      "ccn": "<ccn>"
    }
  }'
```

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

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

## CMS nursing home details tools and prices

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

## What can you do with CMS nursing home details in n8n?

Keep a public CMS provider comparison current as new results are published. A scheduled agent can compare saved facility measures or Medicare procedure counts and report the specific values that changed.

### 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 n8n guides](https://spiral.ai/integrations/n8n)

## CMS nursing home details in other agents

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

## More n8n guides

- [CMS hospitals](https://spiral.ai/integrations/n8n/cms-hospitals)
- [CMS nursing homes](https://spiral.ai/integrations/n8n/cms-nursing-homes)
- [CMS hospital details](https://spiral.ai/integrations/n8n/cms-hospital-details)
- [CTIS clinical trial details](https://spiral.ai/integrations/n8n/ctis-clinical-trial-details)
- [CMS home health agency details](https://spiral.ai/integrations/n8n/cms-home-health-agency-details)
- [CTIS clinical trial search](https://spiral.ai/integrations/n8n/ctis-clinical-trial-search)

## Questions about CMS nursing home details in n8n

**Can n8n use CMS nursing home details?**

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

**How much does CMS nursing home details cost in n8n?**

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

**Do I need an Alexandria account to use CMS nursing home details in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs CMS nursing home details on its own Alexandria account.

**How long does it take to set up CMS nursing home details in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while CMS nursing home details runs?**

CMS nursing home details runs in the background. n8n 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.

