Spiral gives your agent every tool with one account. Browse the tools →

Zapier · Health

How to Use CMS hospitals in Zapier

Find Medicare hospitals with their locations, hospital types, and CMS overall star ratings. Use the results to build a regional comparison before examining a hospital's measure-group details.

Prompts to try with CMS hospitals in Zapier

Copy an example into Zapier, or ask in your own words.

Every Monday at 9am: use CMS hospitals to look this up and give me the result as a table.

CMS hospitalsZapier
Try asking
  • Pull the latest numbers from CMS hospitals and tell me what changed since last week.

  • Check CMS hospitals and summarize what you find in three bullet points.

  • Pull the newest data from CMS hospitals and give me the result as a table.

  • Check CMS hospitals every morning and tell me only when something changed.

How to set up CMS hospitals in Zapier

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

Use the Spiral skill

  1. Send Zapier 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. Add an MCP Client connection

    In Zapier open Apps, click Add connection and search for MCP Client. Fill in the form:

    https://api.spiral.ai/mcp
  2. Sign in to Spiral and approve

    Spiral opens: sign in, pick the organization and click Authorize. No API key. Spiral gives the connection its own key; Zapier never sees it, and you can remove it under Settings › Connected apps in the console.

  3. Run a Spiral tool in a Zap

    Add an MCP Client step to a Zap and choose the Run Tool action with your Spiral connection. Pick a tool: discover finds the right model for a task, estimate_cost prices it and run runs it. For example, run with:

    {
      "provider": "fal",
      "model": "fal-ai/flux/schnell",
      "input": { "prompt": "a lighthouse at dawn" },
      "wait": true
    }
  4. Run CMS hospitals in a workflow step

    Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds CMS hospitals, 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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run CMS hospitals

    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/hospitals",
        "input": {
          "city": "<city>"
        }
      }'

Then paste one of the prompts above: Zapier finds CMS hospitals on Spiral, shows the price and runs it.

CMS hospitals providers and prices

Spiral runs CMS hospitals through Alexandria. Open a card for today's price, with every fee included.

AlexandriaHealth
CMS data.cms.gov · Hospitals
data-cms-gov/clinician-procedure-volume/hospitals

Settings you can ask for

Ask Zapier for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Limit1 to 10025

Results per page.

Offseta number from 00

Results to skip; pass next_offset from the previous page.

Star rating1 to 5

Only facilities with exactly this star rating.

Every API field of CMS data.cms.gov · Hospitals is on its tool page: open its card above.

What can you do with CMS hospitals in Zapier?

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.

Hospital quality comparison

Build a hospital shortlist and explain its overall ratings using mortality, safety, and readmission measure counts. Highlight where a hospital has measures classified as worse than national rates.

Questions about CMS hospitals in Zapier

Can Zapier use CMS hospitals?

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

How much does CMS hospitals cost in Zapier?

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

Do I need an Alexandria account to use CMS hospitals in Zapier?

No. Spiral runs CMS hospitals 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 hospitals in Zapier?

About two minutes: add an MCP Client connection, then sign in to Spiral and approve, then run a Spiral tool in a Zap.

Does Zapier wait while CMS hospitals runs?

CMS hospitals runs in the background. Zapier 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.

Get started

Start using CMS hospitals in Zapier

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Zapier:

Set up Zapier

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options