Medicaid Intelligence logo

Medicaid Intelligence

Query CMS Medicaid drug spending, managed-care enrollment, plan markets, and state enrollment operations through MCP.

Install Medicaid Intelligence

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "medicaid-intelligence": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-medicaid-intelligence"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

Medicaid Intelligence connects MCP clients to public CMS Medicaid Open Data datasets for drug utilization, managed-care enrollment, plan markets, and enrollment operations. Its tools query the hosted Pipeworx gateway, with no CMS credentials required, and can also run through a local npm stdio bridge. Reach for it when you need state-level Medicaid drug spending, enrollment comparisons, managed-care program detail, or application-processing indicators. Results preserve suppression, reporting, and gross-reimbursement caveats needed for responsible analysis.

Use cases

  • Compare Medicaid drug reimbursement across states
  • Track annual utilization and spending for a drug
  • Analyze managed-care enrollment by program type
  • Inspect monthly state enrollment and application operations
  • Review Medicaid plan-market rows and matching counts

Key features

  • CMS Medicaid drug utilization data
  • State and national drug spending trends
  • Managed-care enrollment summaries
  • Program-type enrollment breakdowns
  • Plan-market sampling with matching counts
  • Monthly enrollment operations indicators

Tools8

What Medicaid Intelligence lets your agent do. Expand a tool for its parameters.

Verified live~1.8k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 84d

What it can do

From the 8 tools this server returned when we ran it; 8 declare their own safety hints.

Makes network requests · 8Read-only tools · 8
Network at startup4 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age92 days
Maintainers1

Observed 2026-11-03 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 3d ago via OSV.dev · @pipeworx/mcp-medicaid-intelligence (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads555Package downloads in the last 30 days.
Last commit21d agoMost recent push to the default branch.
Tools exposed8Callable tools this server registers over MCP.

How Medicaid Intelligence works

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:

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

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

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

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Medicaid Intelligence

Medicaid Intelligence is an MCP server that connects AI clients to public CMS Medicaid Open Data through Pipeworx. Its main tools query drug utilization, state drug markets, annual spending trends, managed-care enrollment, program mixes, plan markets, monthly enrollment, and enrollment operations without requiring CMS credentials.

Install it by adding the hosted MCP URL to your client, or run the local bridge with `npx -y @pipeworx/mcp-medicaid-intelligence`. The hosted URL is `https://gateway.pipeworx.io/medicaid-intelligence/mcp`; the npm bridge forwards calls to that endpoint and needs network access.

Yes, Medicaid Intelligence can be added to Cursor using the hosted MCP URL. The same configuration also works with Claude Desktop and Windsurf. No CMS API key is needed for anonymous use.

No, an API key is not required for anonymous use. Anonymous calls are capped at 50 per day; adding `PIPEWORX_API_KEY` raises the allowance to 200 calls per day with a free Pipeworx account.

No, the reimbursement figures are gross pharmacy reimbursement before Medicaid rebates. They should not be treated as manufacturer revenue, net pricing, or the Medicaid program’s final net cost.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMedicaid Intelligence AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/medicaid-intelligence?style=directory)](https://allmcps.com/mcp/medicaid-intelligence)
HTML Embed
<a href="https://allmcps.com/mcp/medicaid-intelligence"><img src="https://allmcps.com/api/badge/medicaid-intelligence?style=directory" alt="Medicaid Intelligence on AllMCPs" /></a>