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
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | OpenFDA search query. Examples: ‘openfda.brand_name:“HUMIRA”’, ‘openfda.generic_name:“adalimumab“‘ |
limit | number | no | Number of results (1-100, default 5) |
skip | number | no | Pagination 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
| Field | Type | Description |
|---|---|---|
total | number | Total count of matching drug labels |
results | array | Array 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.