medicaid-intelligence
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@medicaid-intelligenceWhat's the annual trend for Medicaid drug NDC 00002123456?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@pipeworx/medicaid-intelligence
Medicaid drug utilization, managed-care enrollment and state enrollment operations from the CMS Medicaid Open Data API. Keyless.
Tools
Tool | What it returns |
| Quarterly state utilization rows for one NDC, fee-for-service and managed care kept separate |
| One NDC aggregated across states for a year |
| Annual prescriptions, units and gross reimbursement for one NDC from 2020 |
| Annual state enrollment, and enrollment in any or comprehensive managed care |
| State enrollment by program type — comprehensive MCO, PCCM, MLTSS, behavioral health, dental, transportation, PACE |
| Bounded sample of managed-care plan/program rows by state, with the authoritative matching-row count |
| Monthly Medicaid/CHIP enrollment for one state and participation category |
| Monthly enrollment and application-processing indicators for one state |
Related MCP server: USAspending MCP
Auth
None. Every endpoint is public CMS infrastructure at data.medicaid.gov.
Reading these numbers correctly
This source is easy to misread, and most of the pack's design is about preventing that. Each
response carries an interpretation field stating the caveat that applies to it.
Reimbursement is gross, before rebates.
total_amount_reimbursedis what state Medicaid programs paid pharmacies. It is neither manufacturer revenue nor net price — Medicaid rebates are substantial and are not in this data. Treating these figures as a manufacturer's Medicaid revenue overstates it, often by a lot.Suppressed is not zero. CMS suppresses small cells (
DS,*,--, or asuppression_usedflag). Those becomenull, never0, and a channel that is entirely suppressed is reported as unavailable rather than as an absence of utilization. Tests guard this specifically.Fee-for-service and managed care are separate measures and stay separate. Adding them is not meaningful for most questions, because a state's mix shifts over time.
Managed-care program categories overlap and must not be summed. A beneficiary can appear under comprehensive MCO and MLTSS and behavioral health.
medicaid_managed_care_program_mixsays so in itsinterpretation.Enrollment counts are state-reported program enrollment, not covered lives attributable to a particular insurer. They do not map cleanly onto a payer's book of business.
A zero in the plan file can be confidentiality suppression, not an empty plan.
medicaid_plan_marketreturns a bounded sample plus the authoritative total row count, so a short list never implies a small market.
Argument conventions
The underlying datasets disagree about how a state is written — the drug files use two-letter
codes, the enrollment and managed-care files use full names. Both forms are accepted on every
tool and converted internally. This matters: before that, asking the managed-care summary for
"CA" matched nothing and returned a confident total: 0, which reads as "California has no
managed care" rather than as a wrong argument.
ndc takes an exact 11-digit National Drug Code, hyphenated or not. A brand or ingredient name
returns {found:false, reason:'ndc_expected_got_name'} with a hint pointing at openfda_drug_label
or rxnorm to resolve it first.
Failure shapes
A recoverable caller mistake resolves to {found:false, reason, hint} naming what to do instead.
An upstream failure or a genuine defect resolves to {error, hint}. The two are deliberately
distinguishable, so a monitoring sweep can tell "CMS refused us" apart from "we returned garbage".
Data sources
All datasets are queried through the CMS Medicaid Open Data datastore API,
https://data.medicaid.gov/api/1/datastore/query:
State Drug Utilization Data — one dataset per year, 2020 through 2026
Quick Start
Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
{
"mcpServers": {
"medicaid-intelligence": {
"url": "https://gateway.pipeworx.io/medicaid-intelligence/mcp"
}
}
}Or connect to the full Pipeworx gateway for access to all 1395+ data sources:
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}Using with ask_pipeworx
Instead of calling tools directly, you can ask questions in plain English:
ask_pipeworx({ question: "your question about Medicaid Intelligence data" })The gateway picks the right tool and fills the arguments automatically.
More
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseBqualityDmaintenanceA comprehensive MCP server that provides access to U.S. FDA public datasets via the openFDA API, enabling querying of drug adverse events, labeling, recalls, approvals, shortages, NDC directory, and medical device regulatory data.Last updated1020
- Alicense-qualityCmaintenanceA free, key-less MCP server for querying U.S. federal spending data from USAspending.gov, including contracts, grants, loans, recipients, agencies, and geographic breakdowns.Last updatedMIT
- AlicenseAqualityDmaintenanceMCP server providing access to U.S. FDA public datasets including drugs, medical devices, adverse events, recalls, and more through standardized tools.Last updated14381MIT
- Alicense-qualityBmaintenanceA remote MCP server that lets an LLM explore, query, aggregate, and benchmark the ~234 datasets in the CMS Provider Data Catalog — hospitals, dialysis facilities, nursing homes, home health, hospice, physicians, and more — in plain language.Last updatedAGPL 3.0
Related MCP Connectors
MCP server for US Treasury Fiscal Data — debt, interest rates, exchange rates, and spending.
This MCP server provides seamless access to Malaysia's government open data, including datasets, w…
MCP server for nonprofit financials via ProPublica — IRS Form 990 data for 1.8M+ nonprofits.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/pipeworx-io/mcp-medicaid-intelligence'
If you have feedback or need assistance with the MCP directory API, please join our Discord server