search_drugs

Pack: dailymed · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

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

Search Structured Product Labels by any combination of name, ANDA/NDA, NDC, RxCUI.

Parameters

NameTypeRequiredDescription
namestringnoDrug name (brand or generic)
application_numberstringnoANDA/NDA number (e.g. “NDA021436”)
ndcstringnoNDC code (11-digit)
rxcuistringnoRxNorm RxCUI
manufacturerstringnoManufacturer name
pagenumberno1-based page (default 1)
pagesizenumberno1-100 (default 25)

Example call

Arguments

{
  "name": "Aspirin"
}

curl

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

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('search_drugs', {
  "name": "Aspirin"
});

More examples

{
  "ndc": "50090076501",
  "manufacturer": "Bayer"
}
{
  "application_number": "NDA021436"
}
{
  "rxcui": "7677",
  "pagesize": 50
}

Response shape

FieldTypeDescription
dataarray
metadataobject
Full JSON Schema
{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "spl_version": {
            "type": "number"
          },
          "published_date": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "setid": {
            "type": "string"
          }
        }
      }
    },
    "metadata": {
      "type": "object",
      "properties": {
        "db_published_date": {
          "type": "string"
        },
        "elements_per_page": {
          "type": "number"
        },
        "current_url": {
          "type": "string"
        },
        "next_page_url": {
          "type": "string"
        },
        "total_elements": {
          "type": "number"
        },
        "total_pages": {
          "type": "number"
        },
        "current_page": {
          "type": "number"
        },
        "previous_page": {
          "type": "string"
        },
        "previous_page_url": {
          "type": "string"
        },
        "next_page": {
          "type": [
            "number",
            "string"
          ]
        }
      }
    }
  },
  "description": "Search results for Structured Product Labels"
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the dailymed pack
{
  "mcpServers": {
    "dailymed": {
      "url": "https://gateway.pipeworx.io/dailymed/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 5, 2026