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

NameTypeRequiredDescription
ndcstringyesExact 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.
statestringnoUS state, as a two-letter code (“CA”) or a full name (“California”) — both are accepted.
from_yearnumbernoFirst calendar year, 2020 or later.
to_yearnumbernoLast 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.

Regenerated from source · build July 31, 2026