Spiral gives your agent every tool with one account. Browse the tools →

Gemini CLI · Health

How to Use FDA Purple Book biologic records in Gemini CLI

Returns FDA biologic licensing records, including approval dates, applicants, exclusivity dates, and biosimilar or interchangeable relationships. Use it to investigate a reference product such as Humira or research biologics beyond cell and gene therapies.

Prompts to try with FDA Purple Book biologic records in Gemini CLI

Copy an example into Gemini CLI, or ask in your own words.

Use FDA Purple Book biologic records to find products referencing Humira and generate a table in our project showing their names, applicants, and license classifications.

FDA Purple Book biologic recordsGemini CLI
Try asking
  • Use FDA Purple Book biologic records to retrieve BLA 125057 and reconcile the returned product names and applicant against our existing research dataset.

  • Use FDA Purple Book biologic records to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from FDA Purple Book biologic records and tell me what changed since last week.

  • Check FDA Purple Book biologic records and summarize what you find in three bullet points.

How to set up FDA Purple Book biologic records in Gemini CLI

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

Use Spiral's MCP server

  1. Add the server

    Or add it to ~/.gemini/settings.json yourself:

    gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start gemini and run:

    /mcp auth spiral
  3. Check it

    In Gemini CLI, run /mcp. From your shell:

    gemini mcp list

Use the Spiral skill

  1. Send Gemini CLI 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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run FDA Purple Book biologic records

    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/biologics/purple_book",
        "input": {
          "name": "<name>"
        }
      }'

Then paste one of the prompts above: Gemini CLI finds FDA Purple Book biologic records on Spiral, shows the price and runs it.

FDA Purple Book biologic records providers and prices

Spiral runs FDA Purple Book biologic records through Alexandria. Open a card for today's price, with every fee included.

AlexandriaHealth
FDA · Purple book
fda-gov/biologics/purple_book

Settings you can ask for

Ask Gemini CLI for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Skip0 to 50000

skip

Limit1 to 10010

limit

CenterCDER or CBER

center

License type351(a), 351(k) biosimilar, or 351(k) interchangeable

351(a): reference products and other stand-alone BLAs; 351(k): biosimilars, or those also found interchangeable.

Every API field of FDA · Purple book is on its tool page: open its card above.

What can you do with FDA Purple Book biologic records in Gemini CLI?

Build an FDA approval reference table in your project from returned product names, applicants, and dates. A coding agent can reconcile those records with an existing research file and keep approval dates separate from exclusivity dates.

Compare approved cell and gene therapies

Build a comparison of Casgevy, Lyfgenia, and Zynteglo using their returned proper names, applicants, approval dates, and reported exclusivity dates.

Create an approval timeline

Arrange returned cell and gene therapy approvals by date for a research brief. Keep the original approval date separate from first licensure and exclusivity expiration.

Check a company's approved therapy inventory

Review returned applicants and product names for a company such as Kite Pharma. Use the records to support an inventory of licensed therapies.

Prepare an exclusivity review

Collect reported exclusivity dates for named therapies before a regulatory research meeting. Flag records requiring further investigation when first-licensure information is absent.

Reconcile product names in research

Match brand names such as Zolgensma to the proper names returned by FDA records. Add the reported applicant and approval date to a research reference table.

Review changes to published approval records

Compare successive retrievals for a watchlist of approved therapies. Produce a review queue when returned product names, applicants, or reported exclusivity dates change.

Map biosimilar competition

Find records referencing Humira or Stelara and organize the returned products by biosimilar or interchangeable license classification.

Questions about FDA Purple Book biologic records in Gemini CLI

Can Gemini CLI use FDA Purple Book biologic records?

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run FDA Purple Book biologic records like any built-in tool.

How much does FDA Purple Book biologic records cost in Gemini CLI?

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

Do I need an Alexandria account to use FDA Purple Book biologic records in Gemini CLI?

No. Spiral runs FDA Purple Book biologic 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 Purple Book biologic records in Gemini CLI?

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

Does Gemini CLI wait while FDA Purple Book biologic records runs?

FDA Purple Book biologic records runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.

Which biologics does the FDA source cover?

The Purple Book covers FDA-approved CDER biologics, including biosimilars and interchangeable products. Its CBER coverage includes cell and gene therapies, vaccines, allergenic products, and hematologic products.

How quickly does FDA publish approvals and changes?

FDA says approved biologics and updates to approved product information generally enter the Purple Book within 10 business days of approval. That timing describes FDA's database publication.

Does a missing first-licensure date mean there is no exclusivity?

No. FDA has not determined first licensure for every 351(a) product, and explicitly says an absent date does not establish that the product is ineligible for exclusivity.

Does FDA provide historical snapshots?

Yes. FDA publishes monthly Purple Book reports whose bottom section contains the complete database for that month, allowing comparisons with earlier published records.

Can I search using a scientific name instead of a brand?

Yes. FDA supports both proprietary brand names and nonproprietary proper names in Purple Book searches, which helps when a research document uses a different name for the same biologic.

Get started

Start using FDA Purple Book biologic records in Gemini CLI

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Gemini CLI:

Set up Gemini CLI

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options