How to Use FDA orphan drug designation search in opencode
Returns orphan drug designations matching a drug, condition, sponsor, or date range. Use it to compare rare disease programs and distinguish designated products from those approved for the orphan indication.
Prompts to try with FDA orphan drug designation search in opencode
Copy an example into opencode, or ask in your own words.
Use FDA orphan drug designation search to retrieve Duchenne muscular dystrophy programs and populate this project's research table with drugs, sponsors, designation dates, and orphan approval statuses.
Use FDA orphan drug designation search to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from FDA orphan drug designation search and tell me what changed since last week.
Check FDA orphan drug designation search and summarize what you find in three bullet points.
Pull the newest data from FDA orphan drug designation search and give me the result as a table.
How to set up FDA orphan drug designation search 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 orphan drug designation search
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/records/orphan_designations", "input": { "skip": 0 } }'
Then paste one of the prompts above: opencode finds FDA orphan drug designation search on Spiral, shows the price and runs it.
FDA orphan drug designation search providers and prices
Spiral runs FDA orphan drug designation search 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 10000 | 0 | skip |
| Limit | 1 to 100 | 25 | limit |
| Status | designated, approved, or withdrawn_or_revoked | designated: no orphan approval yet; approved: approved for the orphan indication; withdrawn_or_revoked: designation withdrawn or revoked. Combine with product, sponsor, designation or a date. |
Every API field of FDA · Orphan designations is on its tool page: open its card above.
What can you do with FDA orphan drug designation search in opencode?
Build an FDA research view that keeps supply records, product approvals, orphan programs, and compliance correspondence understandable. A coding agent can turn returned records into project tables and link individual findings to FDA documents.
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.
Map rare disease development programs
Find designations for a condition, inspect individual drug and indication records, and compare approved drug information where Orange Book records apply.
More on FDA orphan drug designation search and opencode
Overview
FDA orphan drug designation search in other agents
Questions about FDA orphan drug designation search in opencode
Can opencode use FDA orphan drug designation search?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run FDA orphan drug designation search like any built-in tool.
How much does FDA orphan drug designation search 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 orphan drug designation search in opencode?
No. Spiral runs FDA orphan drug designation search 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 orphan drug designation search in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while FDA orphan drug designation search runs?
FDA orphan drug designation search runs in the background. opencode 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.
Start using FDA orphan drug designation search 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


