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

opencode · Health

How to Use California HCAI drug launch reports in opencode

Find manufacturer-reported drug descriptions, launch dates, WAC at introduction, and marketing and pricing narratives filed with California HCAI. Use it to compare launch disclosures and build a timeline of reported market introductions.

Prompts to try with California HCAI drug launch reports in opencode

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

Use California HCAI drug launch reports to retrieve AbbVie's 2025 records and add a launch table to this project's research dashboard.

California HCAI drug launch reportsopencode
Try asking
  • Use California HCAI drug launch reports to find Skyrizi records in 2019 and create a timeline showing each returned NDC, description, and California introduction date.

  • Use California HCAI drug launch reports to retrieve Pfizer's 2025 records and add a view of the returned marketing and pricing narratives.

  • Use California HCAI drug launch reports to find Fyarro in 2022 and save the returned launch records as a research fixture in this project.

  • Use California HCAI drug launch reports to retrieve Teva's 2025 records and reconcile their 11-digit NDCs with the drug catalog in this repository.

How to set up California HCAI drug launch reports in opencode

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. 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
  2. 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
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode 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 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 California HCAI drug launch reports

    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/drug-launches/launch_search",
        "input": {
          "ndc": "<ndc>"
        }
      }'

Then paste one of the prompts above: opencode finds California HCAI drug launch reports on Spiral, shows the price and runs it.

California HCAI drug launch reports providers and prices

Spiral runs California HCAI drug launch reports through Alexandria. Open a card for today's price, with every fee included.

AlexandriaHealth

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Sortintroduced_date_desc or wac_descintroduced_date_desc

Order of results: latest introduction first (default), or highest WAC at introduction first.

Year2019 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.

Limit1 to 20025

Drugs per page.

Offset0 to 1000000

Drugs to skip; pass next_offset from the previous page.

Min waca number from 0

Only drugs whose WAC at introduction is at least this many USD.

Drug categoryBrand 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.

Priority reviewon or off

true: only drugs that had FDA priority review; false: only drugs without it.

Breakthrough therapyon or off

true: only drugs with FDA breakthrough therapy designation; false: only drugs without it.

Every API field of California HCAI prescription drug price reports (WAC increases and new drugs) · Launch search is on its tool page: open its card above.

What can you do with California HCAI drug launch reports in opencode?

Build a searchable California drug launch timeline with NDCs, introduction dates, and manufacturer disclosures. A coding agent can add these records to a project's drug catalog and display the reported launch WAC beside each product.

Prepare a formulary committee launch brief

Collect reported launch dates, product descriptions, WAC at introduction, and manufacturer narratives for drugs under review.

Compare manufacturer launch disclosures

Put manufacturers' marketing and pricing explanations side by side to compare their stated launch plans.

Check a drug launch story

Check a reported California introduction date and launch WAC against the manufacturer's HCAI filing before publishing a news article.

Build a historical launch timeline

Arrange annual launch records by California introduction date and retain each NDC and product description for review.

Reconcile a drug catalog

Match HCAI launch records to a public drug catalog using 11-digit NDCs, then compare descriptions and introduction dates.

Publish a monthly launch bulletin

Compare successive monthly results to identify newly appearing reports and changes to previously retrieved launch disclosures.

Questions about California HCAI drug launch reports in opencode

Can opencode use California HCAI drug launch reports?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run California HCAI drug launch reports like any built-in tool.

How much does California HCAI drug launch reports 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 launch reports in opencode?

No. Spiral runs California HCAI drug launch reports 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 launch reports in opencode?

About two minutes: add the server, then sign in, then check it.

Does opencode wait while California HCAI drug launch reports runs?

California HCAI drug launch reports runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

Does HCAI cover every new prescription drug?

The reporting scope is new drugs introduced to the California market whose WAC exceeds the Medicare Part D specialty drug cost threshold. It is not a complete catalog of all drug launches.

How often does the launch data change?

HCAI updates current-year data monthly and previous years as needed. An older annual file can therefore change after its initial publication.

How far back does the published archive go?

The archive includes a Q1 through Q4 file for 2019, alongside later annual files.

Does WAC include negotiated discounts or rebates?

No. HCAI's WAC definition excludes prompt-payment discounts, other discounts, rebates, and price reductions.

Does the introduction date mean the FDA approval date?

HCAI defines introduction as the date a drug becomes available for purchase in California. Interpret the reported date as California market availability.

Get started

Start using California HCAI drug launch reports in opencode

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

Paste this into opencode:

Set up opencode

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