Skip to main content
Glama
nursing-home-ratings-medicare-care-compare-mcp

nursing-home-ratings-medicare-care-compare-mcp

nursing-home-ratings-medicare-care-compare-mcp

Nursing home ratings for AI assistants: the Medicare Care Compare star ratings of every Medicare and Medicaid certified nursing home in the US, with nurse staffing hours, staff turnover, cited inspection deficiencies, fines, the abuse icon and Special Focus Facility status. Ask for the best rated nursing homes near a ZIP code, what a facility's 1-star staffing rating means, or how three homes you are touring compare.

This is a Model Context Protocol (MCP) server. It reads the CMS Provider Data Catalog on data.cms.gov, the data behind Medicare.gov Care Compare, at call time. It needs no API key.

Tools

Tool

What it returns

nursing_home_search

Nursing homes near a ZIP code (default 10 miles) or a point, or in a city, county or state, or by name, ranked by overall, inspection, staffing or quality stars, nurse hours or distance. Filters for a minimum overall rating, the abuse icon and Special Focus status.

nursing_home_ratings

One facility in full: overall, health inspection, staffing and quality measure stars (long-stay and short-stay) with the CMS footnote behind a blank or 1-star rating, nurse and RN hours per resident per day against state and US averages, staff turnover, recent cited deficiencies with scope and severity, fines and payment denials, ownership, chain and the Medicare.gov link.

nursing_home_compare

2 to 5 facilities side by side: stars, staffing hours, turnover, deficiencies and fines, with the leader on each measure and the state averages.

Every result has structured JSON, a plain-text summary, as_of, source and more (a page on mcpstamp.com). Every tool is marked read-only.

Related MCP server: @munispot/mcp

What it knows that your model does not

  • The current CMS star ratings of all 14,686 certified nursing homes, refreshed monthly by CMS, not a training-time snapshot.

  • Each facility's inspection record: cited deficiencies with scope and severity (actual harm, immediate jeopardy), fines and payment denials of the last 3 years, the abuse icon and Special Focus Facility status.

  • Reported nurse and RN staffing hours per resident per day, weekend staffing and staff turnover, next to the state and national averages.

Install

Hosted (custom connector, ChatGPT developer mode, any remote MCP client)

Paste this URL. No token, no sign-up.

https://nursing-home-ratings-medicare-care-compare-mcp.lipmichal.workers.dev/mcp

Cursor

Add to ~/.cursor/mcp.json.

{
  "mcpServers": {
    "nursing-home-ratings": { "url": "https://nursing-home-ratings-medicare-care-compare-mcp.lipmichal.workers.dev/mcp" }
  }
}

VS Code

Add to .vscode/mcp.json.

{
  "servers": {
    "nursing-home-ratings": { "type": "http", "url": "https://nursing-home-ratings-medicare-care-compare-mcp.lipmichal.workers.dev/mcp" }
  }
}

Local stdio

The npm package is not published. Build it from this repository with Node 20 or newer, then point your MCP client at node /path/to/nursing-home-ratings-medicare-care-compare-mcp/dist/stdio.js.

git clone https://github.com/theluckystrike/nursing-home-ratings-medicare-care-compare-mcp && cd nursing-home-ratings-medicare-care-compare-mcp
npm install && npm run build
node dist/stdio.js

Example prompts

  • "What are the best rated nursing homes within 10 miles of ZIP 05401?"

  • "Show me the Care Compare ratings, fines and recent inspection problems for Premier Rehab and Healthcare at Burlington in Vermont."

  • "Compare these three nursing homes we are touring: Birchwood Terrace, Elderwood at Burlington and Wake Robin in Vermont."

  • "Which nursing homes in Cook County, Illinois have 5 stars and no abuse flag?"

Data sources

Full list in DATA_SOURCES.md.

Limitations

  • US nursing homes certified by Medicare or Medicaid only; assisted living and memory care facilities that are not certified are not in CMS data.

  • CMS refreshes the data monthly, so the newest inspections and fines appear with a delay of weeks to months.

  • Distance search centres a ZIP code on the nursing homes CMS lists in that ZIP (or its 4- or 3-digit prefix), not on the ZIP's exact geographic centre.

  • Star ratings compare health inspections within each state. They are a starting point: visit, and ask the state long-term care ombudsman.

More

More MCP servers that answer questions your assistant cannot answer alone are on mcpstamp.com.

Part of the Zovo MCP collection at https://mcp.zovo.one

Built by theluckystrike.

Development

npm install
npm test                              # builds, then runs the fixture tests and an offline stdio test
node scripts/stdio-transcript.mjs     # live stdio round trip, writes .live/stdio-transcript.jsonl

CI (.github/workflows/bundle.yml) runs the tests, the type check and wrangler deploy --dry-run --outdir out, and uploads the Worker bundle as an artifact.

License

MIT

Available Tools

3 tools
nursing_home_compareCompare nursing homesA
Read-onlyIdempotent
Inspect

Compare 2 to 5 nursing homes side by side from CMS Care Compare: the four star ratings, nurse and RN hours per resident per day, staff turnover, health deficiencies in the latest inspection cycle, fines, abuse icon and Special Focus status, with the leader on each measure and the state averages.

Inputs: facilities (required).

nursing_home_ratingsNursing home ratings and inspection recordA
Read-onlyIdempotent
Inspect

Full CMS Care Compare profile of one nursing home by ccn (or name and state): overall, health inspection, staffing and quality measure star ratings (long-stay and short-stay) with the CMS footnote that explains a blank or 1-star rating, nurse and RN staffing hours per resident per day and weekend staffing against state and US averages, nursing staff and RN turnover, the last inspections, recent cited deficiencies with scope and severity (actual harm, immediate jeopardy), fines and payment denials of the last 3 years, abuse icon, Special Focus status, ownership, chain and the Medicare.gov link.

Inputs: ccn, city, name, state, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 3 tools

    Disambiguation5/5

    The three tools map cleanly onto distinct steps of a workflow: search for candidate facilities, fetch a deep profile for one facility by ccn, and compare 2-5 facilities side by side. Descriptions explicitly state each tool's input shape (location/name vs. ccn vs. a set of 2-5 homes) and output scope, leaving no realistic overlap that would cause misselection.

    Naming Consistency4/5

    All names use snake_case with a consistent 'nursing_home_' prefix, which makes the family instantly recognizable. The only deviation is grammatical style: 'search' and 'compare' are verbs while 'ratings' is a noun, a minor inconsistency in an otherwise uniform set.

    Tool Count4/5

    Three tools (search, detail, compare) cover the natural find-inspect-compare loop with no redundancy, so each earns its place. The set is on the lean side for a CMS Care Compare domain, but nothing extraneous is included.

    Completeness4/5

    Core lifecycle is covered: discovery by geography or name, full per-facility profile with ratings, deficiencies and fines, and multi-facility comparison with state averages. Gaps exist around aggregate/browse operations such as listing regions, filtering by deficiency type or Special Focus status across a market, or exporting bulk result sets.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to discover, inspect, and query CMS open datasets covering Medicare/Medicaid provider, spending, enrollment, drug pricing, quality, hospital, nursing home, and ACO data. Supports keyword search, metadata lookup, paged row retrieval, full-text search, and exact-match column filters.
      66 npm
      1
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI assistants to search, profile, and compare 20,000+ U.S. municipalities, returning financial health scores, budget and debt figures, and economic or demographic indicators. Supports historical score trends across fiscal years and side-by-side comparisons of multiple entities.
      6
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to look up what US hospitals charge for a CPT/HCPCS or MS-DRG code near a ZIP — gross charge, discounted self-pay price, and de-identified payer-negotiated rates — sourced from the standard charges files hospitals publish under the CMS price transparency rule. Also compares up to 10 hospitals side by side by CMS Certification Number and reports whether a given hospital's prices are held, and why not, when they aren't.
      51 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to search federally funded community health center (FQHC) and FQHC look-alike sites by name, state, city, ZIP, or county, or by distance within a radius of a ZIP, city, or coordinate pair, returning address, phone, website, weekly hours, operating health center, county, NPI, and Medicare billing number. Results flag school-based and administrative-only sites, report data-as-of dates, and make not-found answers explicit with near-name non-matches.
      MIT