drug_price_compare
Pack: drug-prices · Endpoint: https://gateway.pipeworx.io/drug-prices/mcp
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, 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.