How to Use CMS Medicare negotiated drug prices in Grok Build
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 Grok Build
Copy an example into Grok Build, or ask in your own words.
Use CMS Medicare negotiated drug prices to fetch Eliquis and add a table to this project's drug detail page showing each published 30-day supply amount and its effective period.
Use CMS Medicare negotiated drug prices to retrieve the drugs selected for 2028 and generate a reference page in this project with selection status and any returned HCPCS codes.
Use CMS Medicare negotiated drug prices to look up Wegovy and add its returned NDC codes and unit amounts to this project's drug reference data.
Use CMS Medicare negotiated drug prices to retrieve Jardiance and Farxiga, then build a comparison in this project using only 30-day equivalent supply amounts from matching effective periods.
Use CMS Medicare negotiated drug prices to retrieve the 2026 selection list and create a report in this project showing any returned deselection information.
How to set up CMS Medicare negotiated drug prices in Grok Build
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Add --scope project to add Spiral to the current repository only. No header and no client ID or secret: Grok registers itself with Spiral.
grok mcp add --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start grok and run /mcps. Select Spiral and press i. Your browser opens: sign in to Spiral, pick the organization and click Authorize. No API key.
- Check it
grok mcp doctor spiral
Use the Spiral skill
- Send Grok Build 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 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: Grok Build 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.
$0.00873 per call.
Settings you can ask for
Ask Grok Build for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Ipay | 2026 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). | |
| Limit | 1 to 100 | 50 | Most drugs to return; |
| Include ndcs | on or off | List each NDC-11 with its per-unit prices. Defaults to true when |
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 Grok Build?
Build a drug reference page that shows CMS negotiated amounts beside their effective periods and selection status. A coding agent can map returned NDC-level unit amounts into the project's drug catalog and add comparisons between published periods.
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.
More on CMS Medicare negotiated drug prices and Grok Build
Overview
CMS Medicare negotiated drug prices in other agents
Questions about CMS Medicare negotiated drug prices in Grok Build
Can Grok Build use CMS Medicare negotiated drug prices?
Yes. Add Spiral to Grok Build as an MCP server, and Grok Build can find and run CMS Medicare negotiated drug prices like any built-in tool.
How much does CMS Medicare negotiated drug prices cost in Grok Build?
$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 Build plan is separate.
Do I need an Alexandria account to use CMS Medicare negotiated drug prices in Grok Build?
No. Spiral runs CMS Medicare negotiated drug prices 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 Medicare negotiated drug prices in Grok Build?
About two minutes: add the server, then sign in, then check it.
Does Grok Build wait while CMS Medicare negotiated drug prices runs?
CMS Medicare negotiated drug prices runs in the background. Grok Build 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.
Start using CMS Medicare negotiated drug prices in Grok Build
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Grok Build:
set up https://spiral.ai/SKILL.md


