medicaid_drug_trend
Pack: medicaid-intelligence · Endpoint: https://gateway.pipeworx.io/medicaid-intelligence/mcp
Show annual Medicaid prescription, unit, and gross reimbursement trends for an exact 11-digit NDC from 2020 onward, split between fee-for-service and managed care. Suppressed values are never converted to zero.
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. |
state | string | no | US state, as a two-letter code (“CA”) or a full name (“California”) — both are accepted. |
from_year | number | no | First calendar year, 2020 or later. |
to_year | number | no | Last calendar year, 2026 or earlier. |
Example call
Arguments
{
"ndc": "00002143380",
"state": "CA",
"from_year": 2022,
"to_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_trend","arguments":{"ndc":"00002143380","state":"CA","from_year":2022,"to_year":2025}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('medicaid_drug_trend', {
"ndc": "00002143380",
"state": "CA",
"from_year": 2022,
"to_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.