medicaid_spending_trend
Pack: medicaid-spending · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/medicaid_spending_trend for the schema, then POST the same URL with its arguments for the data.
One state’s Medicaid spending across federal fiscal years 2014 onward: total computable, federal share, state share and the effective federal share percentage per year, plus year-over-year growth. Defaults to the headline “Total Net Expenditures”; pass category to trend one service line (e.g. “Prescribed Drugs”). Source: CMS, Medicaid Financial Management Report (CMS-64).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
state | string | yes | State, territory or DC (name or code), or “national”. |
category | string | no | Exact or partial service-category name. Default “Total Net Expenditures”. If several categories match, the exact one wins, otherwise the matches are listed. |
program | string | no | Default medical_assistance. |
Example call
Arguments
{
"state": "Texas"
}
curl
curl -X POST https://gateway.pipeworx.io/medicaid-spending/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"medicaid_spending_trend","arguments":{"state":"Texas"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('medicaid_spending_trend', {
"state": "Texas"
});
Response shape
| Field | Type | Description |
|---|---|---|
state | string | |
program | string | |
category | string | |
series | array | |
notes | string | |
source | string | |
data_as_of | string |
Full JSON Schema
{
"type": "object",
"properties": {
"state": {
"type": "string"
},
"program": {
"type": "string"
},
"category": {
"type": "string"
},
"series": {
"type": "array",
"items": {
"type": "object",
"properties": {
"fiscal_year": {
"type": "number"
},
"total_computable": {
"type": "number"
},
"federal_share": {
"type": "number"
},
"state_share": {
"type": "number"
},
"federal_share_pct": {
"type": "number"
},
"reported": {
"type": "boolean"
},
"yoy_growth_pct": {
"type": [
"null",
"number"
]
}
},
"additionalProperties": true
}
},
"notes": {
"type": "string"
},
"source": {
"type": "string"
},
"data_as_of": {
"type": "string"
}
},
"additionalProperties": true
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the medicaid-spending pack
{
"mcpServers": {
"medicaid-spending": {
"url": "https://gateway.pipeworx.io/medicaid-spending/mcp"
}
}
}
See Getting Started for client-specific install steps.