[Integrations](https://spiral.ai/integrations) › [Windsurf](https://spiral.ai/integrations/windsurf) › [California HCAI drug WAC increases](https://spiral.ai/integrations/windsurf/california-hcai-drug-wac-increases)

# How to Use California HCAI drug WAC increases in Windsurf

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.

|  |  |
| --- | --- |
| Model | California HCAI drug WAC increases |
| Available through | Alexandria |
| Category | Health |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with California HCAI drug WAC increases in Windsurf

- 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 Windsurf

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

### Use Spiral's MCP server

1. **Add the server**: Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: `~/.config/devin/mcp_config.json` on macOS and Linux, `%APPDATA%\devin\mcp_config.json` on Windows. Add this:

```json
{
  "mcpServers": {
    "spiral": {
      "url": "https://api.spiral.ai/mcp"
    }
  }
}
```

2. **Sign in**: Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.

```bash
devin mcp login spiral
```

3. **Check it**: Spiral is listed under This computer in Customize › MCPs. From the terminal:

```bash
devin mcp list
```

### Use the Spiral skill

1. **Send Windsurf 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.

```bash
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 WAC increases**: One request; the result comes back by polling or a webhook.

```bash
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: Windsurf finds California HCAI drug WAC increases on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/windsurf

## California HCAI drug WAC increases tools and prices

- [California HCAI prescription drug price reports (WAC increases and new drugs) · Search](https://spiral.ai/tools/alexandria/data-chhs-ca-gov/wac-increases/search) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| ndc |  | — | An NDC-11 as 11 digits (`80803015350`) or hyphenated 5-4-2 (`80803-0153-50`), a hyphenated 10-digit NDC (`0074-2100-01`, 4-4-2, 5-3-2 or 5-4-1, padded to 5-4-2), or an NDC-9 product code (`80803-0153`, `808030153`) matching all its packages. A bare 10-digit NDC is ambiguous and rejected. |
| drug |  | — | Drug product description to match, case-insensitively anywhere in it: a brand (`skyrizi`, `Fyarro`), an ingredient as the manufacturer wrote it, a strength or a package form. |
| sort | effective_date_desc, increase_percent_desc | effective_date_desc | Order of results: latest WAC effective date first (default), or largest `increase_percent` first. |
| 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 `next_offset` from the previous page. |

## What can you do with California HCAI drug WAC increases in Windsurf?

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.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Windsurf guides](https://spiral.ai/integrations/windsurf)

## California HCAI drug WAC increases in other agents

- [Amp](https://spiral.ai/integrations/amp/california-hcai-drug-wac-increases)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/california-hcai-drug-wac-increases)
- [Claude](https://spiral.ai/integrations/claude-desktop/california-hcai-drug-wac-increases)
- [Claude Code](https://spiral.ai/integrations/claude-code/california-hcai-drug-wac-increases)
- [Cline](https://spiral.ai/integrations/cline/california-hcai-drug-wac-increases)
- [Codex](https://spiral.ai/integrations/codex/california-hcai-drug-wac-increases)
- [Cursor](https://spiral.ai/integrations/cursor/california-hcai-drug-wac-increases)
- [Devin](https://spiral.ai/integrations/devin/california-hcai-drug-wac-increases)
- [dots](https://spiral.ai/integrations/dots/california-hcai-drug-wac-increases)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/california-hcai-drug-wac-increases)
- [Gemini](https://spiral.ai/integrations/gemini/california-hcai-drug-wac-increases)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/california-hcai-drug-wac-increases)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/california-hcai-drug-wac-increases)
- [goose](https://spiral.ai/integrations/goose/california-hcai-drug-wac-increases)
- [Grok](https://spiral.ai/integrations/grok/california-hcai-drug-wac-increases)
- [Grok Build](https://spiral.ai/integrations/grok-build/california-hcai-drug-wac-increases)
- [Hermes](https://spiral.ai/integrations/hermes/california-hcai-drug-wac-increases)
- [Instinct](https://spiral.ai/integrations/instinct/california-hcai-drug-wac-increases)
- [Manus](https://spiral.ai/integrations/manus/california-hcai-drug-wac-increases)
- [Muse](https://spiral.ai/integrations/muse/california-hcai-drug-wac-increases)
- [Muse Code](https://spiral.ai/integrations/muse-code/california-hcai-drug-wac-increases)
- [n8n](https://spiral.ai/integrations/n8n/california-hcai-drug-wac-increases)
- [Notion](https://spiral.ai/integrations/notion/california-hcai-drug-wac-increases)
- [OpenClaw](https://spiral.ai/integrations/openclaw/california-hcai-drug-wac-increases)
- [opencode](https://spiral.ai/integrations/opencode/california-hcai-drug-wac-increases)
- [Perplexity](https://spiral.ai/integrations/perplexity/california-hcai-drug-wac-increases)
- [Raycast](https://spiral.ai/integrations/raycast/california-hcai-drug-wac-increases)
- [VS Code](https://spiral.ai/integrations/vscode/california-hcai-drug-wac-increases)
- [Zapier](https://spiral.ai/integrations/zapier/california-hcai-drug-wac-increases)

## More Windsurf guides

- [CTIS clinical trial search](https://spiral.ai/integrations/windsurf/ctis-clinical-trial-search)
- [California HCAI drug launch reports](https://spiral.ai/integrations/windsurf/california-hcai-drug-launch-reports)
- [CTIS clinical trial details](https://spiral.ai/integrations/windsurf/ctis-clinical-trial-details)
- [California physician license](https://spiral.ai/integrations/windsurf/california-physician-license)
- [CMS nursing homes](https://spiral.ai/integrations/windsurf/cms-nursing-homes)
- [ChEMBL compound and target activities](https://spiral.ai/integrations/windsurf/chembl-compound-and-target-activities)

## Questions about California HCAI drug WAC increases in Windsurf

**Can Windsurf use California HCAI drug WAC increases?**

Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run California HCAI drug WAC increases like any built-in tool.

**How much does California HCAI drug WAC increases cost in Windsurf?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Windsurf plan is separate.

**Do I need an Alexandria account to use California HCAI drug WAC increases in Windsurf?**

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 Windsurf?**

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

**Does Windsurf wait while California HCAI drug WAC increases runs?**

California HCAI drug WAC increases runs in the background. Windsurf 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.

