fda_drug_labels

Pack: openfda · Endpoint: https://gateway.pipeworx.io/openfda/mcp

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/fda_drug_labels for the schema, then POST the same URL with its arguments for the data.

Get FDA drug labeling (SPL) by drug name OR by INDICATION. This is the tool for “what drugs are approved to treat ” — it searches the indications_and_usage text, which the drugsfda approvals endpoint does NOT carry. Query by brand/generic name (openfda.brand_name:“HUMIRA”), or by indicated use (indications_and_usage:“rheumatoid arthritis”). Returns indications, boxed/other warnings, dosage, contraindications, and adverse reactions (each text field capped, set_id preserved for out-of-band full-label fetch). Note: FDA label publication trails approval by weeks, so a just-approved drug may not have a label yet.

Parameters

NameTypeRequiredDescription
querystringyesOpenFDA search query. Examples: ‘openfda.brand_name:“HUMIRA”’, ‘openfda.generic_name:“adalimumab“‘
limitnumbernoNumber of results (1-100, default 5)
skipnumbernoPagination offset (default 0) — the reported total can exceed one page of 100.

Example call

Arguments

{
  "query": "openfda.brand_name:\"HUMIRA\""
}

curl

curl -X POST https://gateway.pipeworx.io/openfda/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"fda_drug_labels","arguments":{"query":"openfda.brand_name:\"HUMIRA\""}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('fda_drug_labels', {
  "query": "openfda.brand_name:\"HUMIRA\""
});

More examples

{
  "query": "openfda.generic_name:\"adalimumab\"",
  "limit": 10
}

Response shape

Always returns: total, results

FieldTypeDescription
totalnumberTotal count of matching drug labels
resultsarrayArray of drug label objects
Full JSON Schema
{
  "type": "object",
  "properties": {
    "total": {
      "type": "number",
      "description": "Total count of matching drug labels"
    },
    "results": {
      "type": "array",
      "description": "Array of drug label objects",
      "items": {
        "type": "object"
      }
    }
  },
  "required": [
    "total",
    "results"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "openfda": {
      "url": "https://gateway.pipeworx.io/openfda/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build September 22, 2026