rx_wac_lookup

Pack: rx-wac-lookup · 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/rx_wac_lookup for the schema, then POST the same URL with its arguments for the data.

Brand-drug list prices (Wholesale Acquisition Cost, WAC) as manufacturers reported them to two state price-transparency programs: California HCAI Cost Transparency Rx and Minnesota MDH Prescription Drug Price Transparency.

Parameters

NameTypeRequiredDescription
drugstringnoBrand or generic name or fragment, e.g. “Lytgobi”, “encorafenib”, “Fabhalta”.
ndcstringnoNational Drug Code, any common format (11-digit digits preferred).
manufacturerstringnoManufacturer name or fragment, e.g. “Novartis”.
limitnumbernoMax products (distinct NDCs) to return, 1-50 (default 10).

Example call

Arguments

{
  "drug": "Lytgobi"
}

curl

curl -X POST https://gateway.pipeworx.io/rx-wac-lookup/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"rx_wac_lookup","arguments":{"drug":"Lytgobi"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('rx_wac_lookup', {
  "drug": "Lytgobi"
});

Response shape

FieldTypeDescription
foundboolean
product_countnumber
returnednumber
productsarray
datasets_unavailablearray
possibly_truncatedboolean
price_date_caveatstring
sourcestring
data_as_ofstring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "found": {
      "type": "boolean"
    },
    "product_count": {
      "type": "number"
    },
    "returned": {
      "type": "number"
    },
    "products": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "ndc": {
            "type": "string"
          },
          "drug": {
            "type": "string"
          },
          "manufacturer": {
            "type": "string"
          },
          "latest_disclosed_wac_usd": {
            "type": "number"
          },
          "basis": {
            "type": "string"
          },
          "state_source": {
            "type": "string"
          },
          "wac_effective_date": {
            "type": "string"
          },
          "report_year": {
            "type": "string"
          },
          "disclosures": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "state": {
                  "type": "string"
                },
                "basis": {
                  "type": "string"
                },
                "wac_usd": {
                  "type": "number"
                },
                "effective_date": {
                  "type": "string"
                },
                "report_year": {
                  "type": "string"
                }
              },
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": true
      }
    },
    "datasets_unavailable": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "dataset": {
            "type": "string"
          },
          "error": {
            "type": "string"
          }
        },
        "additionalProperties": true
      }
    },
    "possibly_truncated": {
      "type": "boolean"
    },
    "price_date_caveat": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "data_as_of": {
      "type": "string"
    }
  },
  "additionalProperties": true
}

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

See Getting Started for client-specific install steps.

Regenerated from source · build December 6, 2026