drug_price_compare
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/drug_price_compare for the schema, then POST the same URL with its arguments for the data.
Put the two US drug price benchmarks side by side for one drug — what a pharmacy pays to acquire it (NADAC, weekly) against what Medicare Part B pays a provider for it (ASP limit, quarterly). Use to see the spread between acquisition cost and reimbursement, or to check whether a drug is a retail or a clinic-administered product at all. States the vintage of each number and warns when they are measured months apart, because the ASP limit in force is derived from ASP data two quarters earlier. Returns whichever benchmarks exist — many drugs legitimately have only one. Keyless.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
drug | string | yes | Drug name, e.g. “pembrolizumab”, “atorvastatin”, “rituximab”. |
ndc | string | no | Optional NDC to pin the NADAC side to one product. |
Example call
Arguments
{
"drug": "pembrolizumab"
}
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":"drug_price_compare","arguments":{"drug":"pembrolizumab"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('drug_price_compare', {
"drug": "pembrolizumab"
});
More examples
{
"drug": "atorvastatin"
}
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.