How to Use CMS nursing homes in Devin
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.
Prompts to try with CMS nursing homes in Devin
Copy an example into Devin, or ask in your own words.
Use CMS nursing homes to look this up and give me the result as a table. Save the result in ./assets.
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.
Check CMS nursing homes every morning and tell me only when something changed.
How to set up CMS nursing homes in Devin
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add a custom MCP
Open Customize › MCPs. Click + and choose New MCP. Fill in:
- Sign in to Spiral and approve
In Customize › MCPs, open Spiral and choose Connect. Spiral opens: sign in, pick the organization and click Authorize. No API key.
- Check it
On Spiral's configuration page, click Test tools. Devin lists Spiral's tools.
Use the Spiral skill
- Send Devin this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run CMS nursing homes
One request; the result comes back by polling or a webhook.
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: Devin finds CMS nursing homes on Spiral, shows the price and runs it.
CMS nursing homes providers and prices
Spiral runs CMS nursing homes through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Devin for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Limit | 1 to 100 | 25 | Results per page. |
| Offset | a number from 0 | 0 | Results to skip; pass next_offset from the previous page. |
| Star rating | 1 to 5 | Only facilities with exactly this star rating. |
Every API field of CMS data.cms.gov · Nursing homes is on its tool page: open its card above.
What can you do with CMS nursing homes in Devin?
Build a healthcare directory that shows CMS facility measures and published Medicare procedure activity in separate views. A coding agent can match CMS identifiers to project records and preserve the reporting boundaries behind each comparison.
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.
More on CMS nursing homes and Devin
Overview
CMS nursing homes in other agents
Questions about CMS nursing homes in Devin
Can Devin use CMS nursing homes?
Yes. Add Spiral to Devin as an MCP server, and Devin can find and run CMS nursing homes like any built-in tool.
How much does CMS nursing homes cost in Devin?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Devin plan is separate.
Do I need an Alexandria account to use CMS nursing homes in Devin?
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 Devin?
About two minutes: add a custom MCP, then sign in to Spiral and approve, then check it.
Does Devin wait while CMS nursing homes runs?
CMS nursing homes runs in the background. Devin 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.
Start using CMS nursing homes in Devin
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Devin:
set up https://spiral.ai/SKILL.md


