How to Use Medicaid drug utilization and NADAC records in Amp
Returns pages of SDUD utilization records or NADAC acquisition-cost records from a dataset year. Use it to build state comparisons, quarterly utilization reports, or weekly benchmark comparisons across drugs.
Prompts to try with Medicaid drug utilization and NADAC records in Amp
Copy an example into Amp, or ask in your own words.
Use Medicaid drug utilization and NADAC records to collect California's first-quarter 2025 SDUD data and add a prescription-count summary by NDC to this project's reporting script.
Use Medicaid drug utilization and NADAC records to collect the NADAC publication for December 31, 2025, and build a table of the returned drug descriptions, acquisition-cost benchmarks, and effective dates.
Use Medicaid drug utilization and NADAC records to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Medicaid drug utilization and NADAC records and tell me what changed since last week.
Check Medicaid drug utilization and NADAC records and summarize what you find in three bullet points.
How to set up Medicaid drug utilization and NADAC records in Amp
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
No header and no client ID or secret: Amp registers itself with Spiral.
amp mcp add spiral https://api.spiral.ai/mcp
- Sign in
Start amp. Amp opens Spiral's sign-in page in your browser: sign in, pick the organization and click Authorize. No API key.
- Check it
amp mcp doctor
Use the Spiral skill
- Send Amp 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 Medicaid drug utilization and NADAC records
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-medicaid-gov/drug-utilization/records_list", "input": { "year": 1991, "dataset": "sdud" } }'
Then paste one of the prompts above: Amp finds Medicaid drug utilization and NADAC records on Spiral, shows the price and runs it.
Medicaid drug utilization and NADAC records providers and prices
Spiral runs Medicaid drug utilization and NADAC records through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Amp for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Year | 1991 to 2100 | Calendar year of the dataset; resolved to its dataset id through the catalogue title. | |
| Dataset | sdud or nadac | sdud = State Drug Utilization Data (one dataset per year, 1991 onwards); nadac = NADAC (National Average Drug Acquisition Cost), one dataset per year, 2013 onwards. | |
| Quarter | 1 to 4 | SDUD only: calendar quarter. | |
| Page size | 1 to 8000 | Rows per page (default 8000, the datastore maximum). |
Every API field of Medicaid open data: SDUD and NADAC · Records list is on its tool page: open its card above.
What can you do with Medicaid drug utilization and NADAC records in Amp?
Build a report that compares Medicaid prescription counts across states or NADAC benchmarks across weekly collections. A coding agent can add source checks and record verification to the project's data pipeline.
Quarterly state drug reports
Check the SDUD publication, collect California's quarterly records, and recheck the rows cited in a report of prescription counts and reimbursement amounts.
Weekly acquisition-cost comparisons
Check for a changed NADAC publication, collect the weekly records, and verify selected drug rows before comparing acquisition-cost benchmarks with the previous collection.
Historical utilization revisions
Check whether an older SDUD dataset changed, collect the affected state-quarter again, and recheck records whose prescription counts differ from the earlier collection.
Evidence checks before publication
Confirm the source publication, collect the SDUD or NADAC records supporting an analysis, and retrieve each cited row again before publishing the findings.
State comparisons for one drug
Collect matching SDUD quarters for Texas and Florida, compare prescription counts for the same NDC, and verify the records behind the largest differences.
Maintain a pharmacy research dataset
Use source status to identify changed SDUD or NADAC publications, then collect the corresponding records to refresh a research database.
More on Medicaid drug utilization and NADAC records and Amp
Overview
Medicaid drug utilization and NADAC records in other agents
Questions about Medicaid drug utilization and NADAC records in Amp
Can Amp use Medicaid drug utilization and NADAC records?
Yes. Add Spiral to Amp as an MCP server, and Amp can find and run Medicaid drug utilization and NADAC records like any built-in tool.
How much does Medicaid drug utilization and NADAC records cost in Amp?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Amp plan is separate.
Do I need an Alexandria account to use Medicaid drug utilization and NADAC records in Amp?
No. Spiral runs Medicaid drug utilization and NADAC records 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 drug utilization and NADAC records in Amp?
About two minutes: add the server, then sign in, then check it.
Does Amp wait while Medicaid drug utilization and NADAC records runs?
Medicaid drug utilization and NADAC records runs in the background. Amp starts the run, checks on it and gives you the json when it's ready.
What geography does this Medicaid data cover?
CMS describes SDUD national totals as covering the 50 states and Washington, DC, with records aggregated by 11-digit NDC. NADAC is a national benchmark based on retail community pharmacy invoices across the United States.
How fresh is NADAC?
CMS updates NADAC weekly. Monthly generic updates use a three-month moving average introduced in December 2024, so a new weekly file does not mean every benchmark reflects only that week's purchases.
When does CMS publish quarterly utilization data?
The published SDUD schedule lists August for the first quarter, November for the second, February for the third, and May for the fourth. These publication dates lag the quarter being measured.
Does public SDUD include every prescription count?
CMS suppresses counts below 11 and applies secondary suppression to protect privacy. Direct identifiers are removed, so public SDUD supports aggregate drug-utilization analysis.
Can previously published utilization figures change?
Yes. CMS says late state submissions can miss one quarterly posting and appear in the next, so a previously collected state-quarter can later contain additional reported data.
Start using Medicaid drug utilization and NADAC records in Amp
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Amp:
set up https://spiral.ai/SKILL.md


