[Integrations](https://spiral.ai/integrations) › [Instinct](https://spiral.ai/integrations/instinct) › [CMS drug spending dataset catalog](https://spiral.ai/integrations/instinct/cms-drug-spending-dataset-catalog)

# How to Use CMS drug spending dataset catalog in Instinct

Returns the available CMS drug spending datasets, their identifiers, versions, and coverage. Use it to find the annual, preliminary quarterly, or Part D geography data needed for your analysis.

|  |  |
| --- | --- |
| Model | CMS drug spending dataset catalog |
| Available through | Alexandria |
| Category | Health |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with CMS drug spending dataset catalog in Instinct

- Every quarter, use CMS drug spending dataset catalog to check the available coverage of preliminary Medicare Part B spending and report any newly available reporting period.
- Every Monday at 9am: use CMS drug spending dataset catalog to look this up and give me the result as a table.
- Pull the latest numbers from CMS drug spending dataset catalog and tell me what changed since last week.
- Check CMS drug spending dataset catalog and summarize what you find in three bullet points.
- Pull the newest data from CMS drug spending dataset catalog and give me the result as a table.

## How to set up CMS drug spending dataset catalog in Instinct

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

### Use the Spiral skill

1. **Send Instinct 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 Spiral's MCP server

1. **Create an API key**: In the console, open API keys and create a key for Instinct. Copy it.

2. **Send Instinct this message**: Instinct reads Spiral's skill and asks for your API key.

```text
set up https://spiral.ai/SKILL.md
```

3. **Give Instinct the key**: When Instinct asks for the key, add it where Instinct keeps secrets, never in the chat itself.

### 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 CMS drug spending dataset catalog**: 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-cms-gov/drug-spending/drug_spending_datasets",
    "input": {
      "dataset": "part_d_annual"
    }
  }'
```

Then paste one of the prompts above: Instinct finds CMS drug spending dataset catalog on Spiral, shows the price and runs it.

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

## CMS drug spending dataset catalog tools and prices

- [CMS data.cms.gov · Drug spending datasets](https://spiral.ai/tools/alexandria/data-cms-gov/drug-spending/drug_spending_datasets) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| dataset | part_d_annual, part_d_quarterly, part_b_annual, part_b_quarterly, medicaid_annual, part_d_geography | — | Dataset key: part_d_annual (Medicare Part D Spending by Drug), part_d_quarterly (Medicare Quarterly Part D Spending by Drug), part_b_annual (Medicare Part B Spending by Drug), part_b_quarterly (Medicare Quarterly Part B Spending by Drug), medicaid_annual (Medicaid Spending by Drug), part_d_geography (Medicare Part D Prescribers - by Geography and Drug). |

## What can you do with CMS drug spending dataset catalog in Instinct?

Keep a CMS drug spending brief current when a new publication becomes available. A scheduled agent can check publication metadata and refresh drug comparisons or rankings when the underlying release changes.

### Annual drug spending report

Identify the annual datasets and publication versions, collect the records, rank spending, and investigate named drugs. Recheck the exact records supporting the report's main findings.

### Diabetes drug utilization study

Compare reported spending and prescription fills for drugs such as Ozempic and Jardiance across available years. Establish coverage and publication versions first, then verify the individual records behind notable changes.

### Medicare Part B oncology spending review

Find the relevant Part B publication, rank spending, and examine Keytruda alongside other reported drugs. Collect the underlying records and verify selected results before preparing a fee-for-service spending brief.

### Prescription volume and spending comparison

Use a consistent annual publication to find high-spending drugs and compare their spending changes with prescription-fill changes. Retrieve and verify the records needed to distinguish changes in reported utilization from changes in average spending.

### Refresh an internal research dataset

Check publication metadata before collecting another copy of annual drug spending records. Compare successive collections to identify which reported drug totals changed.

## Overview

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

## CMS drug spending dataset catalog in other agents

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

## More Instinct guides

- [CMS dialysis facility details](https://spiral.ai/integrations/instinct/cms-dialysis-facility-details)
- [CMS drug spending publication status](https://spiral.ai/integrations/instinct/cms-drug-spending-publication-status)
- [CMS dialysis facilities](https://spiral.ai/integrations/instinct/cms-dialysis-facilities)
- [CMS drug spending rankings](https://spiral.ai/integrations/instinct/cms-drug-spending-rankings)
- [CMS clinician procedure volume](https://spiral.ai/integrations/instinct/cms-clinician-procedure-volume)
- [CMS drug spending record](https://spiral.ai/integrations/instinct/cms-drug-spending-record)

## Questions about CMS drug spending dataset catalog in Instinct

**Can Instinct use CMS drug spending dataset catalog?**

Yes. Add Spiral to Instinct as an MCP server, and Instinct can find and run CMS drug spending dataset catalog like any built-in tool.

**How much does CMS drug spending dataset catalog cost in Instinct?**

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

**Do I need an Alexandria account to use CMS drug spending dataset catalog in Instinct?**

You need no Alexandria account. Instinct uses one Spiral API key for every tool, and Spiral runs CMS drug spending dataset catalog on its own Alexandria account.

**How long does it take to set up CMS drug spending dataset catalog in Instinct?**

About two minutes: create an API key, then send Instinct this message, then give Instinct the key.

**Does Instinct wait while CMS drug spending dataset catalog runs?**

CMS drug spending dataset catalog runs in the background. Instinct starts the run, checks on it and gives you the json when it's ready.

**Does CMS drug spending cover the entire US drug market?**

No. Annual Part D data summarizes final-action claims for Part D enrollees, Part B spending excludes Medicare Advantage beneficiaries, and Medicaid spending covers outpatient drugs paid for by state Medicaid agencies.

**How often does CMS update annual drug spending data?**

CMS typically updates the annual Medicare Part D spending dataset once every 12 months. That publication schedule describes the annual dataset, rather than current prescribing activity.

**Do the spending totals include rebates?**

Part D totals exclude manufacturer rebates and other price concessions. Medicaid totals likewise are not reduced by rebates paid to states, so these figures do not establish spending after rebates.

**Can I compare spending per beneficiary across Medicare and Medicaid?**

The Medicaid spending dataset does not provide individual beneficiary counts. CMS explicitly says that per-beneficiary calculations are therefore not possible for that dataset.

**Does a Part D drug total describe one strength or dosage form?**

Annual Part D summaries combine strengths, dosage forms, and routes of administration under brand and generic names. A drug-level result therefore does not isolate a particular tablet strength or injection formulation.

