How to Use CMS Part B drug payment limit history in opencode
Returns CMS Medicare Part B drug payment limits across a quarter range. Use it to compare quarters and build reimbursement trend reports for drugs such as Keytruda.
Prompts to try with CMS Part B drug payment limit history in opencode
Copy an example into opencode, or ask in your own words.
Use CMS Part B drug payment limit history for 2024-Q1 through 2025-Q4, extract J9271 from the returned data, and build a quarter-by-quarter chart in this project.
Use CMS Part B drug payment limit history for 2025-Q1 through 2025-Q4, extract J9271 and J9299, and calculate each code’s quarterly percentage changes in our analysis script.
Use CMS Part B drug payment limit history 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 limit history and tell me what changed since last week.
Check CMS Part B drug payment limit history and summarize what you find in three bullet points.
How to set up CMS Part B drug payment limit history in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode 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 limit history
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_limit_history", "input": { "hcpcs": "<hcpcs>" } }'
Then paste one of the prompts above: opencode finds CMS Part B drug payment limit history on Spiral, shows the price and runs it.
CMS Part B drug payment limit history providers and prices
Spiral runs CMS Part B drug payment limit history through Alexandria. Open a card for today's price, with every fee included.
What can you do with CMS Part B drug payment limit history in opencode?
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.
More on CMS Part B drug payment limit history and opencode
Overview
CMS Part B drug payment limit history in other agents
Questions about CMS Part B drug payment limit history in opencode
Can opencode use CMS Part B drug payment limit history?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run CMS Part B drug payment limit history like any built-in tool.
How much does CMS Part B drug payment limit history cost in opencode?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need an Alexandria account to use CMS Part B drug payment limit history in opencode?
No. Spiral runs CMS Part B drug payment limit history 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 limit history in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while CMS Part B drug payment limit history runs?
CMS Part B drug payment limit history runs in the background. opencode 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 limit history in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


