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

NameTypeRequiredDescription
min_bedsnumbernoMinimum licensed beds (inclusive).
max_bedsnumbernoMaximum licensed beds (inclusive).
countystringnoCounty name, e.g. “Los Angeles”.
ownershipstringnoWords from the ownership class, e.g. “Non Profit”, “Investor”, “District”, “City/County”, “Church”, “State”.
hospital_typestringnoWords from the hospital group: “Comparable” (general acute care), “Kaiser”, “Psychiatric”, “State Hospitals”, “Shriners”, “LTC”.
teaching_ruralstringno”Teaching” or “Rural”.
sort_bystringnoSort key (default licensed_beds, largest first; name sorts A-Z).
yearnumbernoReport year (default: latest published).
quarternumbernoQuarter 1-4 of the report year.
limitnumbernoMax 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

FieldTypeDescription
periodobject
scopeobject
sourcestring
answered_fromstring
data_as_ofstring
copy_refreshed_atstring
notestring
total_matchesnumber
returnednumber
counts_by_hospital_typeobject
hospitalsarray
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.

Regenerated from source · build November 28, 2026