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

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.
yearnumbernoCalendar 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.

Regenerated from source · build July 31, 2026