medicaid_drug_state_market
Pack: medicaid-intelligence · Endpoint: https://gateway.pipeworx.io/medicaid-intelligence/mcp
Aggregate one exact NDC across states for a year, keeping fee-for-service and managed-care measures separate. Suppressed rows remain unavailable and totals are gross pharmacy reimbursement before rebates.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
ndc | string | yes | Exact 11-digit National Drug Code, hyphenated or not, e.g. “00002-1433-80” or “00002143380”. Resolve a brand or ingredient name to an NDC first with openfda_drug_label or rxnorm. |
year | number | no | Calendar year 2020-2026. Defaults to the most recent year with data. |
Example call
Arguments
{
"ndc": "00002143380",
"year": 2025
}
curl
curl -X POST https://gateway.pipeworx.io/medicaid-intelligence/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"medicaid_drug_state_market","arguments":{"ndc":"00002143380","year":2025}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('medicaid_drug_state_market', {
"ndc": "00002143380",
"year": 2025
});
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"medicaid-intelligence": {
"url": "https://gateway.pipeworx.io/medicaid-intelligence/mcp"
}
}
}
See Getting Started for client-specific install steps.