[Integrations](https://spiral.ai/integrations) › [Codex](https://spiral.ai/integrations/codex) › [FDA drug labeling](https://spiral.ai/integrations/codex/fda-drug-labeling)

# How to Use FDA drug labeling in Codex

Returns company-submitted drug labeling sections, such as indications, warnings, and adverse reactions, where available. Use it to compare submitted label text; it may differ from approved labeling or packaging currently distributed.

|  |  |
| --- | --- |
| Model | FDA drug labeling |
| 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 drug labeling in Codex

- Use FDA drug labeling to find Eliquis label text and populate a comparison view with indications, boxed warnings, and adverse reactions where present.
- Use FDA drug labeling to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from FDA drug labeling and tell me what changed since last week.
- Check FDA drug labeling and summarize what you find in three bullet points.
- Pull the newest data from FDA drug labeling and give me the result as a table.

## How to set up FDA drug labeling in Codex

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

### Use Spiral's MCP server

1. **Add the hosted server**

```bash
codex mcp add spiral --url https://api.spiral.ai/mcp
```

2. **Sign in**: Codex opens the browser: sign in to Spiral and click Authorize. No API key. `codex mcp list` then shows Spiral.

```bash
codex mcp login spiral
```

### Use the Spiral skill

1. **Send Codex 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 drug labeling**: 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/records/drug_labels",
    "input": {
      "skip": 0
    }
  }'
```

Then paste one of the prompts above: Codex finds FDA drug labeling on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/codex

## FDA drug labeling tools and prices

- [FDA · Drug labels](https://spiral.ai/tools/alexandria/fda-gov/records/drug_labels) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| skip | 0 to 25000 | 0 | skip |
| limit | 1 to 10 | 5 | limit |
| query |  | — | Plain openFDA search expression, e.g. product_description:aspirin or report_date:[20250101 TO 20251231]. Use spaces around AND, OR and TO; do not URL-encode the expression or use + as a space. Literal plus signs are preserved. Mutually exclusive with record_id. Omit both to browse source default order. |
| record_id |  | — | Source identifier returned by this dataset. Exact quoted lookup; mutually exclusive with query. Pattern: ^[A-Za-z0-9-]{1,100}$. |

## What can you do with FDA drug labeling in Codex?

Build a product research view that puts FDA decisions, submitted product information, and reported safety findings beside their source records. A coding agent can add the returned evidence to your project's tables while preserving application numbers, document links, and decision meanings.

### Company regulatory due diligence

Build an evidence packet for a public drug or device company using its published application decisions, documents, listings, labeling, adverse event reports, and recall findings. Keep each record's regulatory meaning attached to the finding.

### Internal FDA research digest

Prepare a recurring digest of newly available or changed FDA evidence for a company or product watchlist. Separate application decisions, submitted product information, reported reactions, and historical recall findings.

### Product claim fact-checking

Check public claims about approval, labeling, product identity, reported adverse reactions, or recall findings against the relevant FDA records. Identify the exact passage or decision that supports each statement.

### Drug catalog reconciliation

Compare a drug catalog's names, ingredients, dosage forms, routes, and packages with FDA listings. Add application references and labeling evidence without treating a listing as proof of approval.

### Drug safety literature preparation

Collect reported drug reactions, relevant labeling passages, and drug recall findings for a research review. Keep reported associations separate from label statements and documented product defects.

### Publication evidence archive

Assemble the FDA evidence behind a company profile, product explainer, or regulatory investigation. Preserve document links, source identifiers, dates, and the passages used so an editor can check the published account.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Codex guides](https://spiral.ai/integrations/codex)

## FDA drug labeling in other agents

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

## More Codex guides

- [FDA drug approval documents](https://spiral.ai/integrations/codex/fda-drug-approval-documents)
- [FDA drug recall reports](https://spiral.ai/integrations/codex/fda-drug-recall-reports)
- [FDA drug application records](https://spiral.ai/integrations/codex/fda-drug-application-records)
- [FDA drug shortage records](https://spiral.ai/integrations/codex/fda-drug-shortage-records)
- [FDA drug adverse event reports](https://spiral.ai/integrations/codex/fda-drug-adverse-event-reports)
- [FDA first generic drug approvals](https://spiral.ai/integrations/codex/fda-first-generic-drug-approvals)

## Questions about FDA drug labeling in Codex

**Can Codex use FDA drug labeling?**

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run FDA drug labeling like any built-in tool.

**How much does FDA drug labeling cost in Codex?**

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

**Do I need an Alexandria account to use FDA drug labeling in Codex?**

No. Spiral runs FDA drug labeling 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 drug labeling in Codex?**

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

**Does Codex wait while FDA drug labeling runs?**

FDA drug labeling runs in the background. Codex starts the run, checks on it and gives you the json when it's ready.

**How fresh are FDA records?**

FDA datasets follow different schedules. Application records update on weekdays, labeling updates weekly, 510(k) records update monthly, and FAERS updates quarterly with a possible lag of three months or more.

**How far back does FDA's published history go?**

Coverage depends on the record type: Drugs@FDA includes most products approved since 1939, 510(k) history begins in 1976, and the recall datasets begin in 2004. Supporting drug documents are more widely available for products approved since 1998.

**Does appearing in an FDA database prove a product is approved?**

An NDC number does not establish approval, and submitted labeling may differ from approved labeling. The CRL database also includes unapproved applications, while 510(k) records concern substantial equivalence decisions.

**Are public FDA records complete and independently verified?**

Public CRLs have confidential commercial information and trade secrets removed. NDC information is submitted by labelers, and adverse event reports do not establish that a product caused the reported reaction.

**Can FDA data be reused in a commercial research product?**

Unless otherwise noted, openFDA materials carry a CC0 1.0 dedication that permits commercial reuse. Some third-party material has separate restrictions, so the terms do not grant unrestricted rights to every included work.

