# Medicaid Intelligence [Health: Active]

**Category:** 🧬 Biology & Bioinformatics  
**Repository:** https://github.com/pipeworx-io/mcp-medicaid-intelligence  
**GitHub Stars:** 0  
**npm Downloads (last month):** 555  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/medicaid-intelligence

## Description
Medicaid drug utilization by NDC, managed-care enrollment and state enrollment operations from CMS

## Tools
Capabilities this server exposes over MCP:

- **medicaid_drug_utilization** — Quarterly state-level Medicaid utilization rows for a drug — prescriptions, units and reimbursement per state and quarter, separated into fee-for-service and managed care. Ask by NAME ("Ozempic") or by an exact 11-digit NDC. Reimbursement is gross before Medicaid rebates and is not manufacturer revenue or net price.
- **medicaid_drug_state_market** — Which states spend the most on a drug — one year of Medicaid reimbursement broken down by state, keeping fee-for-service and managed care separate. Ask by NAME ("Ozempic") or by an exact 11-digit NDC. Suppressed rows remain unavailable and totals are gross pharmacy reimbursement before rebates.
- **medicaid_drug_trend** — How much Medicaid spent on a drug, year by year — annual prescriptions, units and gross reimbursement from 2020 onward, split between fee-for-service and managed care. Ask by NAME ("Ozempic", "Humira"): the name is matched against the Medicaid product list and aggregated across every package size, so this answers "how much did Medicaid spend on X" directly. An exact 11-digit NDC narrows to one package instead. Reimbursement is GROSS, before the rebates Medicaid negotiates, so it is not manufacturer revenue or net cost to the programme. Suppressed values are never converted to zero.
- **medicaid_managed_care_summary** — Show annual state Medicaid enrollment and enrollment in any or comprehensive managed care. Counts are state-reported program enrollment, not covered lives attributable to a particular insurer.
- **medicaid_managed_care_program_mix** — Show state Medicaid enrollment by managed-care program type, including comprehensive MCO, PCCM, MLTSS, behavioral health, dental, transportation, and PACE. Program counts overlap and must not be summed.
- **medicaid_plan_market** — Return a bounded API-order sample of Medicaid managed-care plan/program rows by state and optional year, with the authoritative matching-row count. Zero may represent confidentiality suppression in this source.
- **medicaid_monthly_managed_care** — Show monthly Medicaid/CHIP enrollment for one state and managed-care participation category. Data-quality flags and confidentiality suppression are preserved.
- **medicaid_enrollment_operations** — Show monthly Medicaid and CHIP enrollment and application-processing indicators for one state. Values are preliminary or updated state reports and may include footnotes or missing periods.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "medicaid-intelligence": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-medicaid-intelligence"]
  }
}
```

## Documentation

## What Medicaid Intelligence does

Medicaid Intelligence exposes CMS Medicaid Open Data through MCP tools focused on two areas: prescription-drug utilization and state Medicaid enrollment. Drug queries return prescriptions, units, and reimbursement by state and period, while enrollment tools cover managed-care participation, program categories, plan and program rows, monthly enrollment, and application-processing measures.

The drug tools can work from a drug name such as Ozempic or Humira, aggregating package sizes where appropriate, or from an exact 11-digit NDC to target one package. State drug results retain fee-for-service and managed-care measures as separate channels. Reimbursement represents gross pharmacy reimbursement before Medicaid rebates; it is not manufacturer revenue or a net program cost.

## How it works

The hosted MCP endpoint is `https://gateway.pipeworx.io/medicaid-intelligence/mcp`. It queries CMS datastore APIs at `data.medicaid.gov`, including annual State Drug Utilization Data and CMS managed-care and enrollment datasets. A full Pipeworx gateway endpoint is also available when broader access to the catalog is useful.

The service is keyless for anonymous use. An optional Pipeworx API key can raise the anonymous daily call allowance and is sent as a Bearer token. Calls require network access because the npm package forwards requests to the hosted gateway rather than providing an offline data store.

Responses distinguish caller mistakes from upstream failures. Recoverable argument problems use a `found:false` response with a reason and hint, while upstream or service failures use an `error` response. State arguments accept either two-letter codes or full state names, even though the underlying CMS datasets use different forms.

## Setup and configuration

Add the hosted endpoint to an MCP client such as Claude Desktop, Cursor, or Windsurf:

```json
{
  "mcpServers": {
    "medicaid-intelligence": {
      "url": "https://gateway.pipeworx.io/medicaid-intelligence/mcp"
    }
  }
}
```

For a local stdio connection, run the bridge with npm:

```json
{
  "mcpServers": {
    "medicaid-intelligence": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-medicaid-intelligence"]
    }
  }
}
```

The bridge works anonymously with a daily call cap. Set `PIPEWORX_API_KEY` in the client environment to use an account key. Set `PIPEWORX_META_TOOLS=1` if the local bridge should also list shared Pipeworx tools such as `ask_pipeworx`; otherwise it lists the Medicaid pack tools. Behind an HTTPS proxy, Node’s proxy support may require `NODE_USE_ENV_PROXY=1`.

The tools can also be called over HTTP at the gateway’s `/v1/tools/` endpoints, without an MCP client.

## Tools and capabilities

- `medicaid_drug_utilization`: Retrieves quarterly state rows with prescriptions, units, and gross reimbursement, separated into fee-for-service and managed care.
- `medicaid_drug_state_market`: Compares one year of reimbursement across states while retaining the two delivery channels.
- `medicaid_drug_trend`: Reports annual prescriptions, units, and gross reimbursement from 2020 onward.
- `medicaid_managed_care_summary`: Returns annual state Medicaid enrollment and enrollment in any or comprehensive managed care.
- `medicaid_managed_care_program_mix`: Breaks enrollment out by categories such as MCO, PCCM, MLTSS, behavioral health, dental, transportation, and PACE.
- `medicaid_plan_market`: Provides a bounded state and year sample of managed-care plan or program rows alongside the authoritative matching-row count.
- `medicaid_monthly_managed_care`: Queries monthly Medicaid or CHIP enrollment for a state and managed-care participation category.
- `medicaid_enrollment_operations`: Returns monthly enrollment and application-processing indicators for a state.

## Limitations and notes

CMS-suppressed cells are represented as unavailable values, not zeros. A channel with entirely suppressed data is reported as unavailable. Plan-market zeros can also indicate confidentiality suppression. Managed-care program counts overlap, so categories such as comprehensive MCO and MLTSS should not be added together.

Enrollment figures are state-reported program enrollment, not insurer-specific covered lives. Monthly operations data may be preliminary, updated, footnoted, or missing for some periods. Drug reimbursement excludes Medicaid rebates, and fee-for-service and managed-care measures should generally be interpreted separately rather than summed. Exact NDC inputs must use an 11-digit National Drug Code, with or without hyphens.

_Full upstream README: https://allmcps.com/mcp/medicaid-intelligence/readme_

