ca_hospital_screen
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_screen for the schema, then POST the same URL with its arguments for the data.
Screen California hospitals statewide in HCAI’s quarterly financial and utilization report: list the hospitals whose licensed beds fall in a range (e.g. 250 to 400), optionally narrowed by county, ownership (non profit, investor, district, city/county, church, state), hospital group (Comparable = general acute care) or teaching/rural flag, sorted by beds, net patient revenue, operating margin or name. Also returns counts of the matches by hospital group, so it answers “how many general acute care hospitals in California”. Answered from a stored copy of the report (labelled, with data_as_of), so it does not depend on the state portal being reachable. Use ca_hospital_finance for one named hospital’s full revenue and expense lines.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
min_beds | number | no | Minimum licensed beds (inclusive). |
max_beds | number | no | Maximum licensed beds (inclusive). |
county | string | no | County name, e.g. “Los Angeles”. |
ownership | string | no | Words from the ownership class, e.g. “Non Profit”, “Investor”, “District”, “City/County”, “Church”, “State”. |
hospital_type | string | no | Words from the hospital group: “Comparable” (general acute care), “Kaiser”, “Psychiatric”, “State Hospitals”, “Shriners”, “LTC”. |
teaching_rural | string | no | ”Teaching” or “Rural”. |
sort_by | string | no | Sort key (default licensed_beds, largest first; name sorts A-Z). |
year | number | no | Report year (default: latest published). |
quarter | number | no | Quarter 1-4 of the report year. |
limit | number | no | Max hospitals returned (1-100, default 25). Counts always cover all matches. |
Example call
Arguments
{
"min_beds": 250,
"max_beds": 400,
"limit": 10
}
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_screen","arguments":{"min_beds":250,"max_beds":400,"limit":10}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('ca_hospital_screen', {
"min_beds": 250,
"max_beds": 400,
"limit": 10
});
Response shape
| Field | Type | Description |
|---|---|---|
period | object | |
scope | object | |
source | string | |
answered_from | string | |
data_as_of | string | |
copy_refreshed_at | string | |
note | string | |
total_matches | number | |
returned | number | |
counts_by_hospital_type | object | |
hospitals | 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"
},
"total_matches": {
"type": "number"
},
"returned": {
"type": "number"
},
"counts_by_hospital_type": {
"type": "object",
"properties": {},
"additionalProperties": true
},
"hospitals": {
"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.