fda_drug_approvals

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

Find FDA-approved drugs by brand name, generic name, or application number (e.g., “ANDA123456”). Returns approval status, sponsor, and application details.

Parameters

NameTypeRequiredDescription
querystringyesOpenFDA search query. Examples: ‘openfda.brand_name:“KEYTRUDA”’, ‘products.active_ingredients.name:“pembrolizumab”’, ‘submissions.submission_type:“ORIG“‘
limitnumbernoNumber of results (1-100, default 10)

Example call

Arguments

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

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_approvals","arguments":{"query":"openfda.brand_name:\"KEYTRUDA\""}}}'

TypeScript (@pipeworx/sdk)

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

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

More examples

{
  "query": "products.active_ingredients.name:\"pembrolizumab\"",
  "limit": 20
}

Response shape

Always returns: total, results

FieldTypeDescription
totalnumberTotal count of matching FDA-approved drugs
resultsarrayArray of drug approval objects
Full JSON Schema
{
  "type": "object",
  "properties": {
    "total": {
      "type": "number",
      "description": "Total count of matching FDA-approved drugs"
    },
    "results": {
      "type": "array",
      "description": "Array of drug approval 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 May 9, 2026