{
  "name": "nursing-home-quality-mcp",
  "title": "HealthMesh · Nursing Home Quality MCP",
  "version": "0.1.1",
  "description": "CMS Care Compare nursing homes, queried live: facility search and five-star ratings, full provider profiles (staffing hours per resident day, turnover, fines and penalties, ownership and chain), health inspection deficiencies with scope/severity, chain-level performance vs national averages, and Payroll-Based Journal (PBJ) daily nurse staffing with hours-per-resident-day summaries for a facility, county or state.",
  "healthmesh_domain": "Quality & Risk",
  "datasets": [
    "QUAL-03",
    "WF-06"
  ],
  "mcp_endpoint": "https://nursing-home-quality.healthmesh.ai/mcp",
  "transport": "Streamable HTTP (stateless, JSON responses)",
  "authorization": "none",
  "auth_mode": "off",
  "docs": "https://github.com/HendrikK/healthmesh/tree/main/servers/nursing-home-quality-mcp#readme",
  "contact": "hendrik.kleine@gmail.com",
  "data_source": {
    "name": "CMS Care Compare nursing home datasets (Provider Data Catalog: Provider Information, Health Deficiencies, Penalties, State US Averages) + data.cms.gov Nursing Home Chain Performance Measures and Payroll Based Journal Daily Nurse Staffing",
    "url": "https://data.cms.gov/provider-data/topics/nursing-homes",
    "license": "U.S. Government work, public domain",
    "refresh": "live API (24 h edge cache); CMS refreshes monthly (PBJ quarterly)"
  },
  "tools": [
    {
      "name": "nh_search_facilities",
      "title": "Search Care Compare nursing homes",
      "description": "Searches CMS Nursing Home Provider Information (~14,700 certified nursing homes) by name, city, state, ZIP, county, ownership type, chain, Special Focus Facility status, abuse icon and minimum star ratings (overall, staffing, health inspection, quality). Returns each facility's CCN (used by every other tool), ratings, beds, chain and abuse/SFF flags."
    },
    {
      "name": "nh_get_facility",
      "title": "Nursing home profile",
      "description": "Returns a nursing home's full Care Compare profile: star ratings (overall, health inspection, staffing, quality, long/short-stay QM) with footnote codes; reported, case-mix and case-mix-adjusted staffing hours per resident day (RN, LPN, nurse aide, total, weekend); staff and administrator turnover; inspection cycle scores; fines, payment denials and the penalty list; ownership, chain and SFF/abuse flags; with state and national averages for comparison."
    },
    {
      "name": "nh_get_deficiencies",
      "title": "Nursing home health deficiencies",
      "description": "Lists health inspection deficiencies (citations) from CMS Health Deficiencies (last 3 inspection cycles + complaint surveys, ~419k rows) for a facility or a state: survey date and type, F-tag, category and description, scope/severity code A-L with its meaning (J/K/L = immediate jeopardy, G/H/I = actual harm), correction status and date, and complaint / infection-control / IDR flags. Newest first."
    },
    {
      "name": "nh_compare_chain",
      "title": "Nursing home chain performance",
      "description": "Summarizes a nursing home chain (CMS 'affiliated entity') vs the national average from CMS Nursing Home Chain Performance Measures: facility count, states, SFF and abuse-icon counts, ownership mix, average star ratings, average total/RN/weekend nurse staffing HPRD, turnover, fines and payment denials, and selected quality measures. Give chain_id or chain_name. With state (and no chain), ranks the chains operating in that state on a metric computed from their facilities in that state (Provider Information)."
    },
    {
      "name": "pbj_get_daily_staffing",
      "title": "PBJ daily nurse staffing for a facility",
      "description": "Returns Payroll-Based Journal daily nurse staffing hours for one nursing home and date range (max 92 days): MDS resident census and hours by category (RN director of nursing, RN admin, RN, LPN admin, LPN, CNA, nurse aide in training, medication aide), employee vs contract, plus per-day total/RN/aide hours per resident day and a weekday-vs-weekend summary. Quarters 2024Q1-2026Q1."
    },
    {
      "name": "pbj_get_hprd_summary",
      "title": "PBJ hours per resident day summary",
      "description": "Computes Payroll-Based Journal hours per resident day for a quarter for one facility (provnum), a county (state + county_fips) or a whole state: total nurse, RN, LPN and nurse-aide HPRD, % of hours from contract staff, and the share of facilities at or above the 3.48 / 0.55 / 2.45 HPRD reference benchmarks (from CMS's repealed 2024 minimum staffing rule). Quarters 2024Q1-2026Q1 (default latest)."
    },
    {
      "name": "nh_describe_dataset",
      "title": "Describe the nursing home data",
      "description": "Lists the CMS datasets served (Provider Data Catalog ids with row counts and modified dates, chain release, PBJ quarters), refresh cadence, staffing benchmark status and what is not covered."
    }
  ]
}