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

n8n · Health

How to Use CMS Medicare negotiated drug prices in n8n

Returns CMS maximum fair prices by effective period, drug selection status, and NDC-level unit amounts. Use it to compare published periods for Eliquis or check which drugs CMS selected for 2028.

Prompts to try with CMS Medicare negotiated drug prices in n8n

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

Every Monday, use CMS Medicare negotiated drug prices to check Eliquis and report changes to its published 30-day supply amounts or effective periods since the previous check.

CMS Medicare negotiated drug pricesn8n
Try asking
  • Each week, use CMS Medicare negotiated drug prices to review the drugs selected for 2028 and report newly published negotiated amounts.

  • Every Friday, use CMS Medicare negotiated drug prices to check Wegovy and summarize added or removed drug codes and changes to returned unit amounts.

  • Once a month, use CMS Medicare negotiated drug prices to review the 2026 selection list and report changes in selection status or deselection information.

  • Each week, use CMS Medicare negotiated drug prices to check Jardiance and Farxiga and report any newly published effective periods for their 30-day supply amounts.

How to set up CMS Medicare negotiated drug prices 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:

    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:

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

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

    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": "cms-gov/negotiated-prices/search",
        "input": {
          "ndc": "<ndc>"
        }
      }'

Then paste one of the prompts above: n8n finds CMS Medicare negotiated drug prices on Spiral, shows the price and runs it.

CMS Medicare negotiated drug prices providers and prices

Spiral runs CMS Medicare negotiated drug prices through Alexandria. Open a card for today's price, with every fee included.

AlexandriaHealth

Settings you can ask for

Ask n8n for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Ipay2026 to 2100

Initial price applicability year, the first year a drug's negotiated price applies: 2026 (10 drugs), 2027 (15), 2028 (15, selected January 2026).

Limit1 to 10050

Most drugs to return; total_count counts every match.

Include ndcson or off

List each NDC-11 with its per-unit prices. Defaults to true when drug or ndc is given, false otherwise, so a list of selected drugs stays compact; ndc_count is always given. With ndc, only the matching NDCs are listed.

Every API field of CMS Medicare Drug Prices: Negotiated Prices and Part B ASP Payment Limits · Search is on its tool page: open its card above.

What can you do with CMS Medicare negotiated drug prices in n8n?

Produce a weekly change report for CMS's selected drugs and published negotiated periods. A scheduled agent can compare successive results to flag new unit amounts, effective periods, drug codes, or deselection information.

Compare effective periods

Compare Eliquis's published 30-day supply amounts across effective periods, keeping the applicable dates beside each amount.

Prepare a negotiation-cycle brief

Summarize the drugs selected for 2028, their current selection status, and any published negotiated amounts for a policy research brief.

Review pharmacy product codes

Match a pharmacy's public product catalog against the returned NDC codes and attach the relevant negotiated unit amounts and effective periods.

Monitor deselections

Compare successive results for previously selected drugs and flag returned deselection information for a reimbursement analyst to review.

Check a published article

Verify an article's statements about Eliquis, Jardiance, or Wegovy against CMS's published periods, selection status, and 30-day supply amounts.

Identify selected drugs with billing codes

Review the 2028 selection list for returned Part B HCPCS codes and prepare a code reference for a provider's reimbursement research.

Maintain a drug reference application

Populate drug reference pages with CMS selection status, published negotiated periods, and NDC-level unit amounts.

Questions about CMS Medicare negotiated drug prices in n8n

Can n8n use CMS Medicare negotiated drug prices?

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run CMS Medicare negotiated drug prices like any built-in tool.

How much does CMS Medicare negotiated drug prices 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 Medicare negotiated drug prices in n8n?

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs CMS Medicare negotiated drug prices on its own Alexandria account.

How long does it take to set up CMS Medicare negotiated drug prices in n8n?

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

Does n8n wait while CMS Medicare negotiated drug prices runs?

CMS Medicare negotiated drug prices runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

Does CMS publish negotiated amounts for every prescription drug?

No. The program selects certain high-expenditure, single-source drugs without generic or biosimilar competition. A drug missing from the selected-drug data may fall outside that scope.

Which negotiation years does the data cover?

The published scope includes 10 drugs initially applicable in 2026, 15 in 2027, and 15 selected for 2028. The first two cycles cover Part D drugs; the 2028 cycle includes Part B and/or Part D drugs.

How often does CMS revise the source file?

CMS updates it at least annually after a drug's first applicability year for inflation adjustments. Additional revisions account for NDC-11 additions, codes that no longer qualify, and drug deselections.

Are the published amounts per tablet, package, or month?

CMS publishes a 30-day equivalent supply amount, an NDC-9 per-unit amount, and an NDC-11 per-package amount. The endpoint documents 30-day supply amounts and NDC-level unit amounts, so comparisons need to use the same basis.

Does selection for 2028 mean a negotiated amount is already published?

Selection alone does not establish that an agreed amount has been published. CMS's guidance sets November 30, 2026, as the publication deadline for agreed 2028 amounts, with applicability beginning January 1, 2028.

Get started

Start using CMS Medicare negotiated drug prices in n8n

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

Paste this into n8n:

Set up n8n

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