[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [FDA first generic drug approvals](https://spiral.ai/integrations/claude-code/fda-first-generic-drug-approvals)

# How to Use FDA first generic drug approvals in Claude Code

Find first generic approvals with ANDA numbers, applicants, generic and brand names, approval dates, and abbreviated indications. Use it to research initial generic competition for a branded drug.

|  |  |
| --- | --- |
| Model | FDA first generic drug approvals |
| 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 first generic drug approvals in Claude Code

- Use FDA first generic drug approvals to find 2025 records for rivaroxaban and add a CSV to this project with ANDA number, applicant, brand name, approval date, and listed indication.
- Use FDA first generic drug approvals to retrieve 2024 records for sacubitril and valsartan and build a table in this project that preserves separate ANDA applicants.
- Use FDA first generic drug approvals to find 2025 records mentioning Teva and create a project report sorted by approval date, retaining each ANDA number.
- Use FDA first generic drug approvals to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from FDA first generic drug approvals and tell me what changed since last week.

## How to set up FDA first generic drug approvals in Claude Code

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

### Use Spiral's MCP server

1. **Add the hosted server**: This adds Spiral to the current project. Add `--scope user` to use it in every project.

```bash
claude mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `claude`, type `/mcp`, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

### Use the Spiral skill

1. **Send Claude Code 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 first generic drug approvals**: 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/approvals/first_generics",
    "input": {
      "skip": 0
    }
  }'
```

Then paste one of the prompts above: Claude Code finds FDA first generic drug approvals on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/claude-code

## FDA first generic drug approvals tools and prices

- [FDA · First generics](https://spiral.ai/tools/alexandria/fda-gov/approvals/first_generics) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| skip | 0 to 5000 | 0 | skip |
| year | 2016 to … | — | Calendar year, 2016 to the current year; default the current year. |
| limit | 1 to 100 | 25 | limit |
| query |  | — | Generic, brand or indication words, e.g. sitagliptin or Januvia. |
| applicant |  | — | ANDA applicant words, e.g. Teva. |

## What can you do with FDA first generic drug approvals in Claude Code?

Build an approval timeline or searchable drug reference in your project using FDA names, dates, and listed uses. Keep ANDA applicant records distinct from novel drug ingredient records so the application preserves what each approval means.

### Build an approval timeline

Arrange drug names, approval dates, and listed uses into a dated research timeline. Keep first generic milestones and novel drug milestones labeled separately.

### Prepare a therapeutic area briefing

Find approvals mentioning breast cancer, diabetes, or another disease area. Summarize the listed uses and dates for a regulatory or market research briefing.

### Create a weekly approval digest

Compare retrieved approval records with the previous check and draft a digest of newly observed entries. Describe approval events without assuming the drugs have launched.

### Check a drug approval claim

Look up a named drug and compare the reported approval date and use with FDA's listing. Identify whether the claim concerns a novel drug or initial generic competition.

### Compare annual approval activity

Count retrieved approval records by year or quarter and compare the listed therapeutic uses. Report first generic and novel drug counts separately so the comparison retains their different meanings.

### Prepare a formulary review agenda

Turn relevant approvals into a review queue with drug names, dates, and short use summaries. Use the queue to identify products needing a full prescribing-information review.

### Research generic applicants

Compare the ANDA applicants listed for a branded drug and retain each application number. Build a record of approved generic competition without treating approval as proof of availability.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Claude Code guides](https://spiral.ai/integrations/claude-code)

## FDA first generic drug approvals in other agents

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

## More Claude Code guides

- [FDA drug shortage records](https://spiral.ai/integrations/claude-code/fda-drug-shortage-records)
- [FDA food recall records](https://spiral.ai/integrations/claude-code/fda-food-recall-records)
- [FDA drug recall reports](https://spiral.ai/integrations/claude-code/fda-drug-recall-reports)
- [FDA medical device adverse event reports](https://spiral.ai/integrations/claude-code/fda-medical-device-adverse-event-reports)
- [FDA drug labeling](https://spiral.ai/integrations/claude-code/fda-drug-labeling)
- [FDA medical device classifications](https://spiral.ai/integrations/claude-code/fda-medical-device-classifications)

## Questions about FDA first generic drug approvals in Claude Code

**Can Claude Code use FDA first generic drug approvals?**

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run FDA first generic drug approvals like any built-in tool.

**How much does FDA first generic drug approvals cost in Claude Code?**

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

**Do I need an Alexandria account to use FDA first generic drug approvals in Claude Code?**

No. Spiral runs FDA first generic drug approvals 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 first generic drug approvals in Claude Code?**

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

**Does Claude Code wait while FDA first generic drug approvals runs?**

FDA first generic drug approvals runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.

**What is the difference between a first generic approval and a novel drug approval?**

A first generic approval permits a manufacturer to market a generic drug product in the United States. A novel drug has never previously been approved or marketed in the US.

**Do these lists cover every FDA drug approval?**

No. The first generic list covers initial generic approvals, while the novel drug list covers CDER novel drugs. The novel list excludes vaccines, blood products, cellular and gene therapies, and other CBER approvals.

**Do the approval records describe a drug's current status?**

The first generic tables explicitly exclude later changes to approval status, dates, and indications. The novel drug tables identify approved uses as of the approval date, so these lists serve as approval histories.

**Does an approval date tell me when a drug became available?**

FDA explicitly warns that approved generic drugs are not always available on or after their listed approval dates. Use the date as an approval milestone, not evidence of a commercial launch.

**How detailed are the approved-use descriptions?**

First generic indications are abbreviated because of space limits. FDA also describes the novel drug table's approved-use text as presentation material; consult the current prescribing information for complete conditions of use.

