nadac_price

Pack: drug-prices · Endpoint: https://gateway.pipeworx.io/drug-prices/mcp

What a US retail pharmacy actually PAYS to acquire a drug — the National Average Drug Acquisition Cost (NADAC), surveyed and published weekly by CMS. Look up by drug name (“atorvastatin 20 mg”, “Eliquis”, “insulin glargine”) or by NDC. NAME MATCHING IS LITERAL: NADAC lists brand products under their BRAND name and generics under the ingredient name, so “Eliquis” finds rows where “apixaban” finds none — if one returns nothing, try the other. Returns the most recent weekly price per NDC with its pricing unit (EA/ML/GM), brand-or-generic classification, and the week the price applies to. This is the ACQUISITION cost, not a retail price, not an insurance copay, and not what Medicare pays a clinic — for a drug given in a doctor’s office or infusion centre see asp_payment_limit. Keyless.

Parameters

NameTypeRequiredDescription
drugstringnoDrug name or fragment, e.g. “atorvastatin 20 mg”, “apixaban”, “albuterol”. Matched against the NDC description. Give either this or ndc.
ndcstringnoNational Drug Code. Any common format accepted — 11-digit “00093505610”, dashed 5-4-2 “00093-5056-10”, or 10-digit; it is normalised to the canonical 11-digit form.
as_ofstringnoOptional ISO date (YYYY-MM-DD). Returns the pricing week in effect on that date instead of the newest. Use for “what did this cost in March”.
limitnumbernoMax NDCs to return, 1–100 (default 20).

Example call

Arguments

{
  "drug": "atorvastatin 20 mg"
}

curl

curl -X POST https://gateway.pipeworx.io/drug-prices/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"nadac_price","arguments":{"drug":"atorvastatin 20 mg"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('nadac_price', {
  "drug": "atorvastatin 20 mg"
});

More examples

{
  "ndc": "00093505610"
}
{
  "drug": "Eliquis",
  "limit": 10
}

Connect

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

{
  "mcpServers": {
    "drug-prices": {
      "url": "https://gateway.pipeworx.io/drug-prices/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build August 29, 2026