search_drug_labels

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

Search FDA drug labeling for indications, warnings, dosage, and adverse reactions. Returns relevant label sections. Use to check drug safety profiles, contraindications, or usage guidelines.

Parameters

NameTypeRequiredDescription
querystringyesSearch query (e.g., a drug brand name, generic name, or active ingredient)
limitnumbernoNumber of results to return (default 5, max 100)

Example call

Arguments

{
  "query": "metformin",
  "limit": 5
}

curl

curl -X POST https://gateway.pipeworx.io/fda/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_drug_labels","arguments":{"query":"metformin","limit":5}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('search_drug_labels', {
  "query": "metformin",
  "limit": 5
});

More examples

{
  "query": "lisinopril"
}

Response shape

Always returns: query, total, limit, results

FieldTypeDescription
querystringThe search query used
totalnumberTotal number of matching drug labels
limitnumberMaximum results returned
resultsarrayArray of drug label records
Full JSON Schema
{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "The search query used"
    },
    "total": {
      "type": "number",
      "description": "Total number of matching drug labels"
    },
    "limit": {
      "type": "number",
      "description": "Maximum results returned"
    },
    "results": {
      "type": "array",
      "description": "Array of drug label records",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Label unique identifier"
          },
          "brand_name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Drug brand name"
          },
          "generic_name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Drug generic name"
          },
          "manufacturer": {
            "type": [
              "string",
              "null"
            ],
            "description": "Drug manufacturer name"
          },
          "product_type": {
            "type": [
              "string",
              "null"
            ],
            "description": "Product type (e.g., HUMAN PRESCRIPTION DRUG)"
          },
          "route": {
            "type": [
              "string",
              "null"
            ],
            "description": "Route of administration"
          },
          "substances": {
            "type": "array",
            "description": "Active substance names",
            "items": {
              "type": "string"
            }
          },
          "indications_and_usage": {
            "type": [
              "string",
              "null"
            ],
            "description": "Indications and usage information"
          },
          "warnings": {
            "type": [
              "string",
              "null"
            ],
            "description": "Warning information"
          },
          "dosage_and_administration": {
            "type": [
              "string",
              "null"
            ],
            "description": "Dosage and administration guidance"
          },
          "adverse_reactions": {
            "type": [
              "string",
              "null"
            ],
            "description": "Adverse reactions information"
          },
          "contraindications": {
            "type": [
              "string",
              "null"
            ],
            "description": "Contraindications"
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Product description"
          }
        },
        "required": [
          "id"
        ]
      }
    }
  },
  "required": [
    "query",
    "total",
    "limit",
    "results"
  ]
}

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026