How to Use FDA first generic drug approvals in VS 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.
Prompts to try with FDA first generic drug approvals in VS Code
Copy an example into VS Code, or ask in your own words.
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 VS Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
Use Add to VS Code on the console's Agents & MCP page, or run:
code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}' - Sign in
VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.
Use the Spiral skill
- Send VS Code 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 FDA first generic drug approvals
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": "fda-gov/approvals/first_generics", "input": { "skip": 0 } }'
Then paste one of the prompts above: VS Code finds FDA first generic drug approvals on Spiral, shows the price and runs it.
FDA first generic drug approvals providers and prices
Spiral runs FDA first generic drug approvals through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask VS Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Skip | 0 to 5000 | 0 | skip |
| Year | a number from 2016 | Calendar year, 2016 to the current year; default the current year. | |
| Limit | 1 to 100 | 25 | limit |
Every API field of FDA · First generics is on its tool page: open its card above.
What can you do with FDA first generic drug approvals in VS 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.
More on FDA first generic drug approvals and VS Code
Overview
FDA first generic drug approvals in other agents
Questions about FDA first generic drug approvals in VS Code
Can VS Code use FDA first generic drug approvals?
Yes. Add Spiral to VS Code as an MCP server, and VS 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 VS 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 VS Code plan is separate.
Do I need an Alexandria account to use FDA first generic drug approvals in VS 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 VS Code?
About two minutes: add the hosted server, then sign in.
Does VS Code wait while FDA first generic drug approvals runs?
FDA first generic drug approvals runs in the background. VS 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.
Start using FDA first generic drug approvals in VS Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into VS Code:
set up https://spiral.ai/SKILL.md


