[Integrations](https://spiral.ai/integrations) › [Grok](https://spiral.ai/integrations/grok) › [FDA drug shortage records](https://spiral.ai/integrations/grok/fda-drug-shortage-records)

# How to Use FDA drug shortage records in Grok

Returns drug shortage records with manufacturers, presentations, availability, reasons, and update dates. Use it to research supply problems at the presentation level, where availability can differ within one drug.

|  |  |
| --- | --- |
| Model | FDA drug shortage records |
| 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 FDA drug shortage records in Grok

- Use FDA drug shortage records to compare carboplatin manufacturers and presentations. Show availability, estimated duration where supplied, and the latest update dates.
- Use FDA drug shortage records to look this up and give me the result as a table.
- Pull the latest numbers from FDA drug shortage records and tell me what changed since last week.
- Check FDA drug shortage records and summarize what you find in three bullet points.
- Pull the newest data from FDA drug shortage records and give me the result as a table.

## How to set up FDA drug shortage records in Grok

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

### Use the Grok connector

1. **Add a custom connector**: In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

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

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

3. **Check that it is connected**: Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

### Use the Spiral skill

1. **Send Grok 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 FDA drug shortage records**: 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": "fda-gov/records/drug_shortages",
    "input": {
      "skip": 0
    }
  }'
```

Then paste one of the prompts above: Grok finds FDA drug shortage records on Spiral, shows the price and runs it.

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

## FDA drug shortage records tools and prices

- [FDA · Drug shortages](https://spiral.ai/tools/alexandria/fda-gov/records/drug_shortages) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| skip | 0 to 25000 | 0 | skip |
| limit | 1 to 10 | 5 | limit |
| query |  | — | Plain openFDA search expression, e.g. product_description:aspirin or report_date:[20250101 TO 20251231]. Use spaces around AND, OR and TO; do not URL-encode the expression or use + as a space. Literal plus signs are preserved. Mutually exclusive with record_id. Omit both to browse source default order. |
| record_id |  | — | Source identifier returned by this dataset. Exact quoted lookup; mutually exclusive with query. Pattern: ^[A-Za-z0-9-]{1,100}$. |

## What can you do with FDA drug shortage records in Grok?

Produce a source-based brief on a drug, rare disease program, food recall topic, or company's FDA correspondence. A chat app can explain what the records say while distinguishing shortage resolution, orphan designation, approval, and warning letter findings.

### Build an FDA research reference

Organize shortage presentations, food recall findings, approved drug records, orphan designations, and warning correspondence into a searchable internal reference with links to the original records.

### Check claims before publication

Check a draft's statements about product availability, recalled lots, approved products, orphan status, or warning letter findings against the relevant FDA records.

### Prepare an internal regulatory digest

Summarize newly retrieved FDA records for a research team, explaining whether each item concerns supply, a recall, an approved product, an orphan program, or compliance correspondence.

### Prepare pharmacy supplier questions

Compare manufacturer and presentation availability, review approved drug product records, and read relevant manufacturing warning letters before drafting questions for suppliers.

## Overview

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

## FDA drug shortage records in other agents

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

## More Grok guides

- [FDA drug recall reports](https://spiral.ai/integrations/grok/fda-drug-recall-reports)
- [FDA first generic drug approvals](https://spiral.ai/integrations/grok/fda-first-generic-drug-approvals)
- [FDA drug labeling](https://spiral.ai/integrations/grok/fda-drug-labeling)
- [FDA food recall records](https://spiral.ai/integrations/grok/fda-food-recall-records)
- [FDA drug approval documents](https://spiral.ai/integrations/grok/fda-drug-approval-documents)
- [FDA medical device adverse event reports](https://spiral.ai/integrations/grok/fda-medical-device-adverse-event-reports)

## Questions about FDA drug shortage records in Grok

**Can Grok use FDA drug shortage records?**

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run FDA drug shortage records like any built-in tool.

**How much does FDA drug shortage records cost in Grok?**

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

**Do I need an Alexandria account to use FDA drug shortage records in Grok?**

No. Spiral runs FDA drug shortage 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 FDA drug shortage records in Grok?**

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

**Does Grok wait while FDA drug shortage records runs?**

FDA drug shortage records runs in the background. Grok starts the run, checks on it and gives you the json when it's ready.

**Do FDA records all update on the same schedule?**

No. FDA describes daily updates for its shortage database, weekly Enforcement Reports, and monthly Orange Book API updates. Those schedules describe the source publications, not a guarantee that every individual record changes that often.

**Does a record's status establish the current situation?**

The meaning depends on the record. A resolved shortage can still have unavailable presentations, orphan designation is separate from approval, and later FDA correspondence can change the issues described in a warning letter.

**Are these complete records of every product problem?**

FDA's shortage program focuses on medically necessary products. Its warning letters describe identified concerns, while FDA cautions that subsequent interactions can change their regulatory status.

**What date should I use when researching FDA actions?**

Choose the event you mean. Warning letter issue dates and posting dates are separate, while orphan database date searches distinguish designation dates from approval dates for the orphan indication.

**Can FDA material be reused in research and publications?**

FDA says its website text and graphics are generally public domain unless otherwise noted. openFDA uses a CC0 dedication by default, with exceptions for identified third-party material.

