How to Use CMS Part B drug payment limits in Gemini CLI
Returns a quarter’s CMS Medicare Part B drug payment limits by billing code, with associated NDC crosswalk details. Use it to look up a drug or package and check the billing unit behind its published limit.
Prompts to try with CMS Part B drug payment limits in Gemini CLI
Copy an example into Gemini CLI, or ask in your own words.
Use CMS Part B drug payment limits to fetch Keytruda for the fourth quarter of 2025 and add its billing code, dosage unit, and payment limit to our reimbursement table.
Use CMS Part B drug payment limits to look up NDC 00006-3026-02 for the fourth quarter of 2025 and add the returned crosswalk details to our drug reference fixture.
Use CMS Part B drug payment limits to fetch trastuzumab entries for the fourth quarter of 2025 and compare their codes, dosage units, and limits with the rows in our reference CSV.
Use CMS Part B drug payment limits to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from CMS Part B drug payment limits and tell me what changed since last week.
How to set up CMS Part B drug payment limits in Gemini CLI
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Or add it to ~/.gemini/settings.json yourself:
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start gemini and run:
/mcp auth spiral
- Check it
In Gemini CLI, run /mcp. From your shell:
gemini mcp list
Use the Spiral skill
- Send Gemini CLI 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 Part B drug payment limits
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/asp-pricing/payment_limits", "input": { "ndc": "<ndc>" } }'
Then paste one of the prompts above: Gemini CLI finds CMS Part B drug payment limits on Spiral, shows the price and runs it.
CMS Part B drug payment limits providers and prices
Spiral runs CMS Part B drug payment limits through Alexandria. Open a card for today's price, with every fee included.
$0.00873 per call.
Settings you can ask for
Ask Gemini CLI for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Limit | 1 to 100 | 10 | Most codes to return. |
| Offset | 0 to 5000 | 0 | Codes to skip; pass |
| Include ndcs | on or off | List each code's NDCs from the crosswalk. Defaults to true when |
Every API field of CMS Medicare Drug Prices: Negotiated Prices and Part B ASP Payment Limits · Payment limits is on its tool page: open its card above.
What can you do with CMS Part B drug payment limits in Gemini CLI?
Build a reimbursement comparison table that keeps CMS payment limits, billing codes, and dosage units together. A coding agent can add quarter comparisons and flag changes against the project’s saved reference data.
Review an oncology drug budget
Compare published limits for Keytruda and Opdivo across quarters, then calculate allowance changes for fixed quantities using each code’s billing unit.
Audit a reimbursement reference table
Compare an organization’s drug allowance table with CMS limits for the applicable quarters and flag differences for review.
Compare biosimilar payment trends
Compare published limits for trastuzumab products, keeping each billing code and dosage unit visible so the comparison uses equivalent quantities.
Check revisions to earlier quarters
Recheck published limits against saved results and identify historical changes that warrant a reimbursement review.
Prepare a quarterly drug payment briefing
Summarize changes in selected drug codes, including the largest percentage movements and the effective quarters.
Check a drug package’s billing code
Look up a Keytruda NDC in the CMS crosswalk and review its associated HCPCS code and billing-unit details.
More on CMS Part B drug payment limits and Gemini CLI
Overview
CMS Part B drug payment limits in other agents
Questions about CMS Part B drug payment limits in Gemini CLI
Can Gemini CLI use CMS Part B drug payment limits?
Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run CMS Part B drug payment limits like any built-in tool.
How much does CMS Part B drug payment limits cost in Gemini CLI?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.
Do I need an Alexandria account to use CMS Part B drug payment limits in Gemini CLI?
No. Spiral runs CMS Part B drug payment limits 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 Part B drug payment limits in Gemini CLI?
About two minutes: add the server, then sign in, then check it.
Does Gemini CLI wait while CMS Part B drug payment limits runs?
CMS Part B drug payment limits runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.
How often does CMS update the data?
CMS publishes payment limits quarterly. The underlying ASP data have a two-quarter lag, so a quarter’s effective limit reflects an earlier sales period.
Does CMS list every Part B drug?
CMS may omit payment limits or crosswalk entries for manufacturer-reported drugs. These files therefore do not provide a complete inventory of every Part B drug.
Does a listed drug have Medicare coverage?
Presence or absence in the payment limit files does not establish Medicare coverage. A published billing code and allowance are not a coverage determination.
Is the payment limit for a whole vial or package?
The limit applies to one HCPCS billing unit, as defined by the code’s dosage. Use that unit when comparing products or calculating an allowance for a stated quantity.
Can a previous quarter’s payment limit change?
Yes. CMS may issue restatements for up to four previous quarters, so historical limits can change after their initial publication.
Start using CMS Part B drug payment limits in Gemini CLI
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Gemini CLI:
set up https://spiral.ai/SKILL.md


