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

NameTypeRequiredDescription
statestringnoTwo-letter state code, e.g. “ME”. Required unless facility_id is given.
facility_idstringnoCMS facility id (CCN for hospitals, e.g. “200001”; ASC ids look like “01C0001000”).
facility_typestringno”hopd” hospital outpatient departments (default) or “asc” ambulatory surgical centers.
min_response_ratenumbernoKeep 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_startstringnoOptional 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_endstringnoOptional reporting period end the caller wants, e.g. “2024-09-30”.
answer_with_held_periodbooleannoWhen the asked period is not held: true returns the rows for the held period (labelled), default false returns none.
limitnumbernoMax 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

FieldTypeDescription
sourcestring
facility_typestring
reporting_periodobject
data_as_ofstring | null
statestring | null
facility_idstring | null
requested_periodobject | null
period_matches_requestboolean | null
period_notestring | null
facilities_in_scopenumber
min_response_ratenumber | null
facilities_without_published_ratenumber | null
matchingnumber
highest_response_rate_in_scopenumber | null
filter_notestring | null
countnumber
facilitiesarray
notestring
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.

Regenerated from source · build November 28, 2026