How to Use California HCAI drug WAC increases in opencode
Find manufacturer-reported drug WAC increases, effective dates, explanations, and five-year increase histories published by California HCAI. Use it to investigate reported list-price changes for a drug or manufacturer.
Prompts to try with California HCAI drug WAC increases in opencode
Copy an example into opencode, or ask in your own words.
Use California HCAI drug WAC increases to find Skyrizi reports for 2025 and build a timeline of reported increases in this project's research view.
Use California HCAI drug WAC increases to retrieve AbbVie's 2025 reports and add a table of drug descriptions, NDCs, effective dates, and reported explanations to the project.
Use California HCAI drug WAC increases to find Pfizer reports for 2024 and match their NDCs to the drug catalog in this repository.
Use California HCAI drug WAC increases to retrieve Teva reports for 2025 and save a report index keyed by NDC and increase effective date.
Use California HCAI drug WAC increases to find Skyrizi reports for 2024 and render any returned five-year histories alongside their associated increase dates.
How to set up California HCAI drug WAC increases 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 California HCAI drug WAC increases
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-chhs-ca-gov/wac-increases/search", "input": { "ndc": "<ndc>" } }'
Then paste one of the prompts above: opencode finds California HCAI drug WAC increases on Spiral, shows the price and runs it.
California HCAI drug WAC increases providers and prices
Spiral runs California HCAI drug WAC increases through Alexandria. Open a card for today's price, with every fee included.
$0.00873 per call.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Sort | effective_date_desc or increase_percent_desc | effective_date_desc | Order of results: latest WAC effective date first (default), or largest |
| Year | 2019 to 2100 | Calendar year of the report file to read: the current year reads HCAI's monthly update (the year to date), earlier years their Q1-Q4 annual file. Defaults to the latest year published. A year without a file is invalid_input listing the years available. HCAI's 2020 annual WAC increase file is published with its rows out of line with its header (no row's prices match its own five-year history), so 2020 is not served and is invalid_input like a year without a file. | |
| Limit | 1 to 200 | 25 | Reports per page. |
| Offset | 0 to 100000 | 0 | Reports to skip; pass |
| Drug category | Brand or Generic | Brand or Generic, as the manufacturer classified the drug. Only the current year's monthly file reports it; with an annual year this is invalid_input. | |
| Include history | on or off | Read the year's five-year WAC history file and attach each report's WAC changes ( | |
| Min increase percent | a number from 0 | Only increases of at least this percent over the WAC just before them ( |
Every API field of California HCAI prescription drug price reports (WAC increases and new drugs) · Search is on its tool page: open its card above.
What can you do with California HCAI drug WAC increases in opencode?
Build an NDC-based timeline of reported drug WAC increases in your project's research tools. A coding agent can join the results to a drug catalog and keep separate reports distinct using the increase effective date.
Prepare a purchasing review
Find reported increases for drugs on a purchasing watchlist and organize the effective dates and manufacturer explanations for review.
Investigate a reported increase
Build a timeline for a drug's NDC using its reported increase and associated five-year history.
Compare manufacturer explanations
Collect reported reasons for increases from AbbVie, Pfizer, or Teva and compare the explanations without presenting them as independently verified causes.
Check a public claim
Look for reports matching a named drug and period, then compare the claimed increase date with the published record.
Monitor published report changes
Compare monthly results for a manufacturer and flag newly published reports or revisions, including reports concerning earlier quarters.
Add context to a drug catalog
Match a business's drug catalog to reported increases by NDC and attach effective dates and manufacturer explanations.
More on California HCAI drug WAC increases and opencode
Overview
California HCAI drug WAC increases in other agents
Questions about California HCAI drug WAC increases in opencode
Can opencode use California HCAI drug WAC increases?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run California HCAI drug WAC increases like any built-in tool.
How much does California HCAI drug WAC increases 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 California HCAI drug WAC increases in opencode?
No. Spiral runs California HCAI drug WAC increases on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up California HCAI drug WAC increases in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while California HCAI drug WAC increases runs?
California HCAI drug WAC increases runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
Does HCAI cover every prescription drug increase?
No. California's reporting law covers human prescription drugs marketed and sold in California and excludes radiologicals, active pharmaceutical ingredients, and compounded prescription drugs.
How often does the data change?
HCAI updates current-year files monthly and previous years as needed. Manufacturers can submit reports for previous quarters, so an older year's results can change.
Are all submitted reports available?
Reports still under HCAI review are excluded from the published files. HCAI also says some required increases are never reported, so the published data cannot establish that no increase occurred.
Does WAC show what a purchaser actually paid?
WAC is the manufacturer's list price to wholesalers or direct purchasers in the United States. It excludes discounts and rebates, so it does not establish a purchaser's net cost.
What does the five-year history cover?
The five-year window ends on the effective date of the reported increase. It is tied to that report, so it is not necessarily the five years ending today.
Start using California HCAI drug WAC increases 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


