ca_hospital_finance
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_finance for the schema, then POST the same URL with its arguments for the data.
California hospital financials from HCAI (Department of Health Care Access and Information, formerly OSHPD): the quarterly financial and utilization report for each licensed hospital. Returns gross patient revenue, deductions, net patient revenue, other operating revenue, total operating expense, derived operating margin, non-operating revenue, assets, liabilities, equity, beds, discharges and patient days, for the trailing four quarters ending in the chosen quarter. Use for “2025 Q1 operating margin for Adventist Health Rideout”, “California hospital revenue and expenses”, “compare hospitals in Los Angeles county”. Filter by hospital name words, facility number or county; omit year/quarter for the latest published quarter.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
hospital | string | no | Words from the hospital name, e.g. “Rideout” or “Cedars-Sinai”. |
facility_no | string | no | HCAI facility number (9 digits), e.g. “106580996”. |
county | string | no | County name, e.g. “Los Angeles”. Lists hospitals in the county. |
year | number | no | Report year, e.g. 2025. |
quarter | number | no | Quarter 1-4 of the report year. Each report covers the four quarters ending then. |
limit | number | no | Max hospitals (1-100, default 10). |
Example call
Arguments
{
"hospital": "Rideout",
"year": 2025,
"quarter": 1
}
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_finance","arguments":{"hospital":"Rideout","year":2025,"quarter":1}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('ca_hospital_finance', {
"hospital": "Rideout",
"year": 2025,
"quarter": 1
});
Response shape
| Field | Type | Description |
|---|---|---|
period | object | |
total_matches | number | |
returned | number | |
hospitals | array | |
source | string |
Full JSON Schema
{
"type": "object",
"properties": {
"period": {
"type": "object",
"properties": {
"year": {
"type": "number"
},
"quarter": {
"type": "number"
},
"released": {
"type": "string"
},
"covers": {
"type": "string"
}
},
"additionalProperties": true
},
"total_matches": {
"type": "number"
},
"returned": {
"type": "number"
},
"hospitals": {
"type": "array",
"items": {
"type": "object",
"properties": {
"facility_no": {
"type": "number"
},
"name": {
"type": "string"
},
"county": {
"type": "string"
},
"city": {
"type": "string"
},
"ownership": {
"type": "string"
},
"hospital_type": {
"type": "string"
},
"status": {
"type": "string"
},
"report_period": {
"type": "object",
"properties": {
"begin": {
"type": "string"
},
"end": {
"type": "string"
},
"year_quarter": {
"type": "number"
}
},
"additionalProperties": true
},
"licensed_beds": {
"type": "number"
},
"discharges_total": {
"type": "number"
},
"patient_days_total": {
"type": "number"
},
"gross_inpatient_revenue_usd": {
"type": "number"
},
"gross_outpatient_revenue_usd": {
"type": "number"
},
"deductions_from_revenue_usd": {
"type": "number"
},
"net_patient_revenue_usd": {
"type": "number"
},
"other_operating_revenue_usd": {
"type": "number"
},
"total_operating_revenue_usd_derived": {
"type": "number"
},
"total_operating_expense_usd": {
"type": "number"
},
"operating_income_usd_derived": {
"type": "number"
},
"operating_margin_pct_derived": {
"type": "number"
},
"nonoperating_revenue_usd": {
"type": "number"
},
"depreciation_amortization_usd": {
"type": "number"
},
"bad_debt_usd": {
"type": "number"
},
"total_assets_usd": {
"type": "number"
},
"total_liabilities_usd": {
"type": "number"
},
"total_equity_usd": {
"type": "number"
}
},
"additionalProperties": true
}
},
"source": {
"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 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.