nadac_history

Pack: drug-prices · 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/nadac_history for the schema, then POST the same URL with its arguments for the data.

Weekly price history for one drug NDC — how the pharmacy acquisition cost (NADAC) moved over time. Use for “has the price of this generic gone up”, shortage-driven price spikes, or generic erosion after a patent expiry. Returns one row per published week, oldest to newest, with the pricing unit and the percentage change across the window. Keyless.

Parameters

NameTypeRequiredDescription
ndcstringyesNational Drug Code in any common format (11-digit, dashed 5-4-2, or 10-digit).
weeksnumbernoHow many recent weekly observations to return, 1–260 (default 26).

Example call

Arguments

{
  "ndc": "00093-5056-10",
  "weeks": 26
}

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_history","arguments":{"ndc":"00093-5056-10","weeks":26}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('nadac_history', {
  "ndc": "00093-5056-10",
  "weeks": 26
});

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 drug-prices pack
{
  "mcpServers": {
    "drug-prices": {
      "url": "https://gateway.pipeworx.io/drug-prices/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 13, 2026