[Integrations](https://spiral.ai/integrations) › [Raycast](https://spiral.ai/integrations/raycast) › [Medicaid NADAC drug cost history](https://spiral.ai/integrations/raycast/medicaid-nadac-drug-cost-history)

# How to Use Medicaid NADAC drug cost history in Raycast

Returns the NADAC rates recorded for one NDC across annual CMS datasets since 2013. Use it to trace acquisition-cost changes for a specific drug package after identifying its NDC.

|  |  |
| --- | --- |
| Model | Medicaid NADAC drug cost history |
| 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 Medicaid NADAC drug cost history in Raycast

- Use Medicaid NADAC drug cost history for drug code 00003-0894-21 from 2020 through 2025. Show the recorded rates and calculate the change between the first and last available rates.
- Use Medicaid NADAC drug cost history for drug code 00003-0894-21 during 2025. Which recorded change was the largest percentage increase?
- Use Medicaid NADAC drug cost history to look this up and give me the result as a table.
- Pull the latest numbers from Medicaid NADAC drug cost history and tell me what changed since last week.
- Check Medicaid NADAC drug cost history and summarize what you find in three bullet points.

## How to set up Medicaid NADAC drug cost history in Raycast

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

### Use the Raycast connector

1. **Install the server**: In Raycast run Install MCP Server. Name it Spiral, set Transport to HTTP, paste this URL and keep OAuth Type on Dynamic:

```text
https://api.spiral.ai/mcp
```

2. **Sign in to Spiral and approve**: Spiral opens in your browser: sign in, pick the organization and click Authorize. No API key. Spiral gives the connection its own key; Raycast never sees it, and you can remove it under Settings › Connected apps in the console.

### Use the Spiral skill

1. **Send Raycast 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 Medicaid NADAC drug cost history**: 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-medicaid-gov/prices/history",
    "input": {
      "ndc": "<ndc>"
    }
  }'
```

Then paste one of the prompts above: Raycast finds Medicaid NADAC drug cost history on Spiral, shows the price and runs it.

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

## Medicaid NADAC drug cost history tools and prices

- [Medicaid open data: SDUD and NADAC · History](https://spiral.ai/tools/alexandria/data-medicaid-gov/prices/history) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| to |  | — | Keep only rates that took effect on or before this date (YYYY-MM-DD). Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
| from |  | — | Keep only rates still in force on or after this date (YYYY-MM-DD). Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |

## What can you do with Medicaid NADAC drug cost history in Raycast?

Get a sourced comparison of NADAC benchmarks for a named drug or a timeline for one package. A chat app can explain the returned acquisition-cost figures and calculate changes while keeping each product's strength and pricing unit visible.

### Build a drug acquisition-cost brief

Find matching Eliquis 5 mg products with Medicaid NADAC drug search, then use Medicaid NADAC drug cost history to explain how a selected NDC's benchmark changed over time.

### Review supplier invoice costs

Use Medicaid NADAC drug search to identify the exact product and unit on a business invoice. Use Medicaid NADAC drug cost history to compare the invoice with the benchmark for the relevant period.

### Prepare purchasing budget scenarios

Use Medicaid NADAC drug search for current benchmarks on a purchasing list. Use Medicaid NADAC drug cost history to calculate observed changes and build clearly labeled budget scenarios.

### Support drug-cost reporting

Check product names, strengths, and dosage forms with Medicaid NADAC drug search. Use Medicaid NADAC drug cost history to document the timing and size of benchmark changes for an article.

### Audit historical benchmark assumptions

Resolve products with Medicaid NADAC drug search, then use Medicaid NADAC drug cost history to check whether a business analysis used the appropriate NDC and historical rate.

### Monitor a public drug watchlist

Check selected drug benchmarks with Medicaid NADAC drug search each week. Use Medicaid NADAC drug cost history to put detected changes in context and calculate changes from earlier periods.

## Overview

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

## Medicaid NADAC drug cost history in other agents

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

## More Raycast guides

- [ISRCTN study details](https://spiral.ai/integrations/raycast/isrctn-study-details)
- [Medicaid NADAC drug search](https://spiral.ai/integrations/raycast/medicaid-nadac-drug-search)
- [ISRCTN clinical trial search](https://spiral.ai/integrations/raycast/isrctn-clinical-trial-search)
- [Medicaid drug utilization and NADAC dataset status](https://spiral.ai/integrations/raycast/medicaid-drug-utilization-and-nadac-dataset-status)
- [IHME GBD release details](https://spiral.ai/integrations/raycast/ihme-gbd-release-details)
- [Medicaid drug utilization and NADAC record](https://spiral.ai/integrations/raycast/medicaid-drug-utilization-and-nadac-record)

## Questions about Medicaid NADAC drug cost history in Raycast

**Can Raycast use Medicaid NADAC drug cost history?**

Yes. Add Spiral to Raycast as an MCP server, and Raycast can find and run Medicaid NADAC drug cost history like any built-in tool.

**How much does Medicaid NADAC drug cost history cost in Raycast?**

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

**Do I need an Alexandria account to use Medicaid NADAC drug cost history in Raycast?**

No. Spiral runs Medicaid NADAC drug cost 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 Medicaid NADAC drug cost history in Raycast?**

About two minutes: install the server, then sign in to Spiral and approve.

**Does Raycast wait while Medicaid NADAC drug cost history runs?**

Medicaid NADAC drug cost history runs in the background. Raycast starts the run, checks on it and gives you the json when it's ready.

**What does NADAC measure?**

NADAC measures a national acquisition-cost benchmark derived from retail community pharmacy invoices across the United States. Off-invoice discounts, rebates, and price concessions are excluded.

**How often does CMS update NADAC?**

CMS posts weekly updates reflecting changes since the monthly file. A weekly publication schedule does not mean every drug receives a different rate each week.

**Does NADAC cover every outpatient drug?**

No. CMS explicitly states that some covered outpatient drug NDCs have no NADAC rate.

**Can NADAC show acquisition costs for a particular state?**

NADAC is calculated as one national average. Regional price differences are not incorporated into the benchmark.

**Why can generic-drug NADAC changes look smoothed?**

CMS currently uses a three-month moving average for monthly generic-drug NADAC updates. That calculation combines monthly observations rather than representing a single month's average alone.

