How to Use FDA novel drug approvals in opencode
Find CDER novel drug approvals with drug names, active ingredients, approval dates, and initial approved uses. Use it to research drugs newly approved in the US rather than first generic competition.
Prompts to try with FDA novel drug approvals in opencode
Copy an example into opencode, or ask in your own words.
Use FDA novel drug approvals to retrieve the 2025 entry for suzetrigine and add its drug name, ingredient, approval date, and listed use to our reference data.
Use FDA novel drug approvals to find 2024 entries mentioning breast cancer and build a dated results view with drug names, ingredients, and initial uses.
Use FDA novel 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 novel drug approvals and tell me what changed since last week.
Check FDA novel drug approvals and summarize what you find in three bullet points.
How to set up FDA novel drug approvals in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode 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 novel 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/novel_drug_approvals", "input": { "skip": 0 } }'
Then paste one of the prompts above: opencode finds FDA novel drug approvals on Spiral, shows the price and runs it.
FDA novel drug approvals providers and prices
Spiral runs FDA novel drug approvals through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Skip | 0 to 5000 | 0 | skip |
| Year | a number from 2021 | Calendar year, 2021 to the current year; default the current year. | |
| Limit | 1 to 100 | 25 | limit |
Every API field of FDA · Novel drug approvals is on its tool page: open its card above.
What can you do with FDA novel drug approvals in opencode?
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.
Build a novel drug reference
Create a searchable reference pairing novel drug names with active ingredients, approval dates, and initial uses. Label the reference as CDER novel drug coverage.
More on FDA novel drug approvals and opencode
Overview
FDA novel drug approvals in other agents
Questions about FDA novel drug approvals in opencode
Can opencode use FDA novel drug approvals?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run FDA novel drug approvals like any built-in tool.
How much does FDA novel drug approvals cost in opencode?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need an Alexandria account to use FDA novel drug approvals in opencode?
No. Spiral runs FDA novel 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 novel drug approvals in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while FDA novel drug approvals runs?
FDA novel drug approvals runs in the background. opencode 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 novel drug approvals in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


