ca_hospital_payer_mix
Pack: ca-hcai-hospital-finance · 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/ca_hospital_payer_mix for the schema, then POST the same URL with its arguments for the data.
Payer mix of California hospitals from HCAI’s quarterly report: share of net patient revenue from Medicare (traditional and managed care), Medi-Cal (traditional and managed care), county indigent, other third parties and other payers, summed across every hospital that matches the filters (the whole state if none). Returns dollars and percent share per payer and the combined Medicare plus Medi-Cal share. Filter by licensed-bed range, county, ownership, hospital group or teaching/rural flag; group_by county, ownership or hospital_type for a breakdown. Figures are trailing four quarters ending in the report quarter. Answered from a stored copy (labelled, with data_as_of).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
county | string | no | County name, e.g. “Los Angeles”. |
min_beds | number | no | Minimum licensed beds (inclusive). |
max_beds | number | no | Maximum licensed beds (inclusive). |
ownership | string | no | Words from the ownership class, e.g. “Non Profit”. |
hospital_type | string | no | Words from the hospital group, e.g. “Comparable” (general acute care) or “Kaiser”. |
teaching_rural | string | no | ”Teaching” or “Rural”. |
group_by | string | no | Also return one payer-mix row per group. |
year | number | no | Report year (default: latest published). |
quarter | number | no | Quarter 1-4 of the report year. |
Example call
Arguments
{
"group_by": "ownership"
}
curl
curl -X POST https://gateway.pipeworx.io/ca-hcai-hospital-finance/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ca_hospital_payer_mix","arguments":{"group_by":"ownership"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('ca_hospital_payer_mix', {
"group_by": "ownership"
});
Response shape
| Field | Type | Description |
|---|---|---|
period | object | |
scope | object | |
source | string | |
answered_from | string | |
data_as_of | string | |
copy_refreshed_at | string | |
note | string | |
hospitals_included | number | |
net_patient_revenue_usd | number | |
payers | object | |
medicare_plus_medi_cal_share_pct | number | null | |
payer_lines_sum_check | string | |
groups | array |
Full JSON Schema
{
"type": "object",
"properties": {
"period": {
"type": "object",
"properties": {
"year": {
"type": "number"
},
"quarter": {
"type": "number"
},
"released": {
"type": [
"string",
"null"
]
},
"covers": {
"type": "string"
}
},
"additionalProperties": true
},
"scope": {
"type": "object",
"properties": {},
"additionalProperties": true
},
"source": {
"type": "string"
},
"answered_from": {
"type": "string"
},
"data_as_of": {
"type": "string"
},
"copy_refreshed_at": {
"type": "string"
},
"note": {
"type": "string"
},
"hospitals_included": {
"type": "number"
},
"net_patient_revenue_usd": {
"type": "number"
},
"payers": {
"type": "object",
"properties": {
"medicare_total": {
"type": "object",
"properties": {
"usd": {
"type": "number"
},
"share_pct": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": true
},
"medicare_traditional": {
"type": "object",
"properties": {
"usd": {
"type": "number"
},
"share_pct": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": true
},
"medicare_managed_care": {
"type": "object",
"properties": {
"usd": {
"type": "number"
},
"share_pct": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": true
},
"medi_cal_total": {
"type": "object",
"properties": {
"usd": {
"type": "number"
},
"share_pct": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": true
},
"medi_cal_traditional": {
"type": "object",
"properties": {
"usd": {
"type": "number"
},
"share_pct": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": true
},
"medi_cal_managed_care": {
"type": "object",
"properties": {
"usd": {
"type": "number"
},
"share_pct": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": true
},
"county_indigent_programs": {
"type": "object",
"properties": {
"usd": {
"type": "number"
},
"share_pct": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": true
},
"other_third_parties": {
"type": "object",
"properties": {
"usd": {
"type": "number"
},
"share_pct": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": true
},
"other_indigent": {
"type": "object",
"properties": {
"usd": {
"type": "number"
},
"share_pct": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": true
},
"other_payers": {
"type": "object",
"properties": {
"usd": {
"type": "number"
},
"share_pct": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": true
}
},
"additionalProperties": true
},
"medicare_plus_medi_cal_share_pct": {
"type": [
"number",
"null"
]
},
"payer_lines_sum_check": {
"type": "string"
},
"groups": {
"type": "array",
"items": {
"type": "object",
"properties": {},
"additionalProperties": true
}
}
},
"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 ca-hcai-hospital-finance pack
{
"mcpServers": {
"ca-hcai-hospital-finance": {
"url": "https://gateway.pipeworx.io/ca-hcai-hospital-finance/mcp"
}
}
}
See Getting Started for client-specific install steps.