cms_oas_cahps_facilities
Pack: cms · 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/cms_oas_cahps_facilities for the schema, then POST the same URL with its arguments for the data.
Patient-experience survey results (OAS CAHPS, the Outpatient and Ambulatory Surgery survey) by facility, from the CMS Provider Data Catalog: one row per facility with the survey response rate (percent), the number of completed surveys and the facilities-and-staff composite score, for hospital outpatient departments (“hopd”, default) or ambulatory surgical centers (“asc”). Filter by state (two-letter code) and/or facility_id, optionally min_response_rate. Every answer states the reporting period the dataset itself holds (currently a single calendar year) and its release date; if you pass period_start/period_end that the dataset does not hold, no facilities are returned for it and the held period is named instead (set answer_with_held_period=true to get the held-period rows anyway). Facility level only.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
state | string | no | Two-letter state code, e.g. “ME”. Required unless facility_id is given. |
facility_id | string | no | CMS facility id (CCN for hospitals, e.g. “200001”; ASC ids look like “01C0001000”). |
facility_type | string | no | ”hopd” hospital outpatient departments (default) or “asc” ambulatory surgical centers. |
min_response_rate | number | no | Keep only facilities whose survey response rate is at or above this percent, e.g. 35. Facilities with no published rate are excluded and counted. |
period_start | string | no | Optional reporting period start the caller wants, e.g. “2023-10-01” or “10/01/2023”. If the dataset does not hold that period the answer says which period it holds. |
period_end | string | no | Optional reporting period end the caller wants, e.g. “2024-09-30”. |
answer_with_held_period | boolean | no | When the asked period is not held: true returns the rows for the held period (labelled), default false returns none. |
limit | number | no | Max facilities returned (default 100, max 500). Sorted by response rate, highest first. |
Example call
Arguments
{
"state": "ME",
"min_response_rate": 30
}
curl
curl -X POST https://gateway.pipeworx.io/cms/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"cms_oas_cahps_facilities","arguments":{"state":"ME","min_response_rate":30}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('cms_oas_cahps_facilities', {
"state": "ME",
"min_response_rate": 30
});
More examples
{
"facility_id": "200001"
}
{
"state": "RI",
"facility_type": "asc",
"limit": 5
}
Response shape
| Field | Type | Description |
|---|---|---|
source | string | |
facility_type | string | |
reporting_period | object | |
data_as_of | string | null | |
state | string | null | |
facility_id | string | null | |
requested_period | object | null | |
period_matches_request | boolean | null | |
period_note | string | null | |
facilities_in_scope | number | |
min_response_rate | number | null | |
facilities_without_published_rate | number | null | |
matching | number | |
highest_response_rate_in_scope | number | null | |
filter_note | string | null | |
count | number | |
facilities | array | |
note | string |
Full JSON Schema
{
"type": "object",
"properties": {
"source": {
"type": "string"
},
"facility_type": {
"type": "string"
},
"reporting_period": {
"type": "object",
"properties": {
"start": {
"type": [
"string",
"null"
]
},
"end": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": true
},
"data_as_of": {
"type": [
"string",
"null"
]
},
"state": {
"type": [
"string",
"null"
]
},
"facility_id": {
"type": [
"string",
"null"
]
},
"requested_period": {
"type": [
"object",
"null"
],
"properties": {
"start": {
"type": [
"string",
"null"
]
},
"end": {
"type": [
"string",
"null"
]
}
}
},
"period_matches_request": {
"type": [
"boolean",
"null"
]
},
"period_note": {
"type": [
"string",
"null"
]
},
"facilities_in_scope": {
"type": "number"
},
"min_response_rate": {
"type": [
"number",
"null"
]
},
"facilities_without_published_rate": {
"type": [
"number",
"null"
]
},
"matching": {
"type": "number"
},
"highest_response_rate_in_scope": {
"type": [
"number",
"null"
]
},
"filter_note": {
"type": [
"string",
"null"
]
},
"count": {
"type": "number"
},
"facilities": {
"type": "array",
"items": {
"type": "object",
"properties": {
"facility_id": {
"type": [
"string",
"null"
]
},
"facility_name": {
"type": [
"string",
"null"
]
},
"address": {
"type": [
"string",
"null"
]
},
"city": {
"type": [
"string",
"null"
]
},
"state": {
"type": [
"string",
"null"
]
},
"zip_code": {
"type": [
"string",
"null"
]
},
"county": {
"type": [
"string",
"null"
]
},
"period_start": {
"type": [
"string",
"null"
]
},
"period_end": {
"type": [
"string",
"null"
]
},
"footnote": {
"type": [
"string",
"null"
]
},
"survey_response_rate_percent": {
"type": [
"number",
"null"
]
},
"completed_surveys": {
"type": [
"number",
"null"
]
},
"facilities_and_staff_linear_mean_score": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": true
}
},
"note": {
"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 cms pack
{
"mcpServers": {
"cms": {
"url": "https://gateway.pipeworx.io/cms/mcp"
}
}
}
See Getting Started for client-specific install steps.