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

NameTypeRequiredDescription
statestringyesState, territory or DC (name or code), or “national”.
categorystringnoExact or partial service-category name. Default “Total Net Expenditures”. If several categories match, the exact one wins, otherwise the matches are listed.
programstringnoDefault 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

FieldTypeDescription
statestring
programstring
categorystring
seriesarray
notesstring
sourcestring
data_as_ofstring
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.

Regenerated from source · build November 16, 2026