Nursing Home Database

com.nursinghomedatabase由 nursinghomedatabase.com 發布官方發布者v1.0.1更新於 Oct 25, 2026

MCP server for US nursing facility search and ownership lookup (NursingHomeDatabase).

已驗證Streamable HTTP可網頁執行位置與生活資料與分析

概覽

AI 產生的概覽

一個公開的遠端 MCP 伺服器,讓助理搜尋、比較與彙整美國認證的熟練護理機構及其 CMS 所有權資料。

可以做什麼
依地址、城市、州、郵遞區號、所有權類型、星級評分、虐待標記或特別關注狀態搜尋與篩選認證護理機構,支援排序與分頁,並依提供者編號或網站代稱開啟單一機構的完整 CMS 詳細資料。並排比較最多 25 家機構,並計算全國或分組統計(數量、平均值、最小值、最大值,可選中位數),涵蓋護理工時、人員流動率、評分、床位與罰款。查詢某機構的擁有者或管理者,依名稱搜尋擁有者,並開啟某擁有者名下的機構組合。追蹤單一機構在兩份 CMS 月度快照之間的欄位級變化。列出可用的 CMS 月度快照日期並回報資料新鮮度,以及列出 CMS 欄位的不同取值。
適用情境
適合依地點比較或篩選養護機構,查核護理工時、人員流動率、檢查評分、罰款或虐待標記,研究所有權與連鎖關係,或追蹤某機構 CMS 資料的逐月變化。
執行需求
遠端 Streamable HTTP 端點;未宣告需要身分驗證、API 金鑰或環境變數。需要能存取該端點的網路。資料來自 CMS 月度快照,伺服器說明限制為每分鐘 60 次請求。
安裝前請注意
僅提供唯讀查詢,工具似乎不會寫入、傳送或刪除資料。查詢會包含地址、城市與擁有者名稱,這些內容會傳送給第三方服務。結果源自 CMS,README 提醒 0% 或 100% 的人員流動率與接近零的護理工時可能是回報誤差,平均值以機構等權而非以床位加權,某機構未出現在快照中並不代表已歇業。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Nursing Home Database,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/com.nursinghomedatabase%2Fmcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "nursing-home-database": {
      "type": "http",
      "url": "https://mcp.nursinghomedatabase.com/mcp"
    }
  }
}

README

Nursing Home Database — MCP

Public documentation for the Nursing Home Database Model Context Protocol server. It exposes US skilled nursing facility search, detail, ownership, and owner portfolio data — including CMS nurse hours, turnover, and inspection scores — to AI assistants and other MCP clients.

Website: nursinghomedatabase.com
Contact: Contact page

MCP endpoint

TransportStreamable HTTP (JSON-RPC 2.0 over HTTPS)
URLhttps://mcp.nursinghomedatabase.com/mcp
AuthNone required (public access)
Server namenhd-mcp
Version1.4.0

Send a standard MCP session: initialize → notifications/initialized (optional; may receive HTTP 204) → tools/list → tools/call as needed.

Tools

ToolPurpose
search_facilitiesFinds certified SNFs near an address (or by name/city/state/ownership type) so you can shortlist more than three homes using hours, turnover, and inspection scores
search_facilities_by_ownershipSame search, with CMS ownership type required (For profit / Non profit / Government, or an exact value from list_distinct_values)
summarize_facilitiesNational or grouped stats (n, mean, min, max; optional median) for nurse hours, turnover, ratings, beds, fines. Prefer this over paging search_facilities
get_facilityOpens one home by CMS provider number or site slug, with the same hours, turnover, inspection, beds, and penalty fields as search
compare_facilitiesSame schema for up to 25 CCNs/slugs — prefer this over looping get_facility (MCP is 60 req/min)
get_facility_changesField-level diff of one home across two CMS monthly files. Defaults to the latest file versus the prior snapshot. Not owner names
get_facility_ownershipLists who owns a home and in what role
search_ownersFinds nursing-home owners by name
get_ownerOpens an owner’s portfolio of certified SNFs
list_file_datesLists CMS monthly snapshot dates in the database so you can look at a prior month
list_distinct_valuesLists distinct CMS values and counts for a ProviderInfo field (ownership, state, sffstatus, chainname, …)
get_data_freshnessReports when the latest CMS file was published and how many rows it contains

Exact inputSchema objects are returned in tools/list.

Historical months (filedate)

By default every lookup uses the latest CMS monthly file. To retrieve a prior month:

  1. Call list_file_dates (returns current, filedates newest first, and known_gaps for unpublished months).
  2. Pass one of those dates as filedate (YYYY-MM-DD or YYYY-MM) on search_facilities, search_facilities_by_ownership, summarize_facilities, compare_facilities, get_facility, get_facility_ownership, search_owners, get_owner, or list_distinct_values. get_facility_changes does not take filedate; pass from and to.

CMS snapshots are stored as the first of the month (YYYY-MM-01). A value like 2026-07 or 2026-07-15 is normalized to 2026-07-01. Unknown dates return a validation error — call list_file_dates rather than guessing.

search_facilities

Finds certified SNFs near an address so you can shortlist more than three homes using hours, turnover, and inspection scores. You can also search by name, city, state, or ZIP.

ParameterTypeDescription
qstringFree-text facility name
addressstringOrigin address for distance search (e.g. 150 Corporate Woods Drive, Magnolia, TX 77354)
citystringCity filter
statestringState filter
zipstringZIP code filter
radius_milesnumberStraight-line radius in miles; defaults to 25 when address is provided
min_overall_ratingintegerMinimum CMS overall star rating (already on REST; also on this MCP tool)
max_overall_ratingintegerMaximum CMS overall star rating (already on REST; also on this MCP tool)
abuse_iconstringFilter by CMS abuse icon (Y / N, true / false) (already on REST; also on this MCP tool)
sffstatusstringWhen set, keep homes that have a CMS Special Focus Facility (or candidate) status (already on REST; also on this MCP tool)
ownershipstringCMS ownership type (ProviderInfo.ownership). Case-insensitive. Prefixes For profit, Non profit, and Government match that kind. Call list_distinct_values with field=ownership for the 13 exact values
sortstringSort key (see Sort keys below)
limitintegerMax results
offsetintegerPagination offset
filedatestringOptional CMS monthly snapshot from list_file_dates (defaults to the latest month)

If the supplied address cannot be resolved, the API returns an address-specific validation error.

Facility payload (search and detail)

search_facilities (each items[] row) and get_facility (facility) return the same richer object, so a shortlist does not require a detail call per home.

Identity, location, and CMS star ratings are included (provnum, web, provname, lbn, address, city, state, zip, latitude, longitude, phone, overall_rating, survey_rating, quality_rating, staffing_rating, public urls). Decision fields use CMS keys:

KeyMeaning
tothrdTotal nurse hours per resident per day (HPRD)
rnhrdRN hours per resident per day
totalnumberofnursestaffhoursperresidentperdayontheweekendWeekend total nurse HPRD
registerednursehoursperresidentperdayontheweekendWeekend RN HPRD
totalnursingstaffturnoverNursing staff turnover
registerednurseturnoverRN turnover
numberofadministratorswhohaveleftthenursinghomeAdministrators who have left the nursing home
weighted_all_cycles_scoreWeighted health-inspection score (all cycles)
bedcertCertified beds
restotResidents in certified beds
occupancyOccupancy (residents / certified beds)
fine_totTotal fines (dollars)
fine_cntNumber of fines
abuse_iconCMS abuse icon
sffstatusSpecial Focus Facility status
chain_idChain identifier
chain_nameChain name
ownershipCMS ownership type (e.g. For profit - Corporation)
oldsurveyFlag (Y/N): most recent standard health inspection is more than two years old
cycle_1_survey_dateDate of the most recent standard health inspection

Distance (straight-line miles, not driving minutes)

When search_facilities is called with address:

  • distance_miles is straight-line Haversine miles from that origin to the facility.
  • distance is kept as an alias of the same number.

These values are not driving minutes or road miles. For driving minutes, use maps.google_dir / maps.apple_dir on the row, or pass the coordinates to a mapping tool.

Sort keys

Pass sort on search_facilities (and on GET /api/v1/nh/facilities). Default is overall_rating (stars, descending) when sort is omitted. Use sort=distance for nearest-first when searching from an address.

sort valueAliasOrder
overall_ratingStars descending (higher better)
survey_ratingStars descending
quality_ratingStars descending
staffing_ratingStars descending
distanceMiles ascending (nearest first)
tothrdtotal_nurse_hoursHours descending (higher better)
totalnursingstaffturnovernurse_turnoverTurnover ascending (lower better)
weighted_all_cycles_scoresurvey_scoreInspection score ascending (lower better)

search_facilities_by_ownership

Same result schema as search_facilities, with ownership required. Use this when the question is “find government / nonprofit / for-profit homes in …”. Combine with state, city, zip, or address. Call list_distinct_values with field=ownership first for the exact CMS strings.

ParameterTypeRequiredDescription
ownershipstringyesCMS ownership type (prefix or exact value)
statestringnoTwo-letter state
citystringnoCity filter
zipstringnoZIP filter
addressstringnoOrigin address for distance search
filedatestringnoCMS monthly snapshot from list_file_dates

summarize_facilities

Aggregate numeric CMS ProviderInfo fields across certified SNFs. Prefer this over paging search_facilities for national or grouped stats (government vs private hours, state means, etc.). Means are facility-equal (not bed-weighted). Facilities missing a metric are excluded from that metric’s n/mean/min/max only — values are not imputed. Not causal. Not a substitute for get_facility on a named home.

ParameterTypeRequiredDescription
metricsarray of stringsyes1–20 keys: tothrd, rnhrd, weekend_tothrd, weekend_rnhrd, totalnursingstaffturnover, registerednurseturnover, weighted_all_cycles_score, overall_rating, survey_rating, staffing_rating, quality_rating, bedcert, restot, fine_tot, fine_cnt, occupancy. Synonyms: total_nurse_hours, nurse_turnover, rn_turnover, survey_score
group_bystringnoownership, ownership_kind (Government / For profit / Non profit), state, overall_rating, staffing_rating, survey_rating, quality_rating, sffstatus, abuse_icon. Omit for one national (or filter-scoped) row
ownershipstringnoSame prefix/exact filter as search_facilities
statestringnoTwo-letter state
citystringnoRequires state
zipstringnoZIP filter
abuse_iconstringnoSame as search_facilities
sffstatusstringnoSame as search_facilities
min_overall_ratingintegerno1–5
max_overall_ratingintegerno1–5
include_medianbooleannoDefault false. When true, each stats object includes median
filedatestringnoCMS monthly snapshot from list_file_dates

REST: GET /api/v1/nh/facilities/summary?metrics=tothrd,rnhrd&group_by=ownership_kind&include_median=true

Response groups[] each have group_key, group_label, facilities_in_group, and stats keyed by canonical metric (n, mean, min, max, optional median, unit). facilities_in_scope is the filter-matched count; per-metric n is the non-null count in that group. Unknown metric keys return invalid_metric with the allowed list.

0% / 100% turnover and near-zero HPRD can be reporting artifacts.

list_distinct_values

Lists distinct CMS ProviderInfo values and row counts for a field in the active monthly snapshot. Omit field to see the allowed field catalog. field=city requires state.

ParameterTypeRequiredDescription
fieldstringnoownership, state, sffstatus, abuse_icon, certification, chainname, overall_rating, …
statestringnoTwo-letter state (required for city)
filedatestringnoCMS monthly snapshot from list_file_dates

compare_facilities

Same decision fields as search_facilities, for up to 25 CMS provider numbers or web slugs, on one snapshot. Ids past 25 are dropped. This is not a month-to-month diff; use get_facility_changes for that.

ParameterTypeRequiredDescription
idsarray of stringsyesCMS provider numbers or web slugs. Maximum 25
filedatestringnoCMS monthly snapshot from list_file_dates

get_facility

Opens one home by CMS provider number (provnum) or site slug. The facility object matches a search_facilities row (hours, turnover, inspection, beds, penalties, maps links).

ParameterTypeRequiredDescription
idstringyesProvider number or web slug
filedatestringnoCMS monthly snapshot from list_file_dates

get_facility_changes

Diff one home across two CMS monthly snapshots. Omit from and to to compare the latest file with the previous snapshot. changes is field-level: stars, nurse hours, turnover, weighted inspection score, the CMS abuse icon, Special Focus status, ownership type (for-profit / nonprofit / government, not the owner’s name), fines, beds, residents, and occupancy. A home missing from one of the two files is found.from or found.to false. That is not a closure.

ParameterTypeRequiredDescription
idstringyesCMS provider number or web slug
fromstringnoEarlier filedate (YYYY-MM-DD or YYYY-MM). Omit to use the snapshot before to
tostringnoLater filedate. Omit to use the latest CMS file

get_facility_ownership

Lists who owns a home and in what role.

ParameterTypeRequiredDescription
idstringyesProvider number or web slug
filedatestringnoCMS monthly snapshot from list_file_dates

search_owners

Finds nursing-home owners by name.

ParameterTypeRequiredDescription
qstringyesOwner name search term
limitintegernoMax results
offsetintegernoPagination offset
filedatestringnoCMS monthly snapshot from list_file_dates

get_owner

Opens an owner’s portfolio of certified SNFs by web_owner slug.

ParameterTypeRequiredDescription
web_ownerstringyesOwner slug identifier
filedatestringnoCMS monthly snapshot from list_file_dates

list_file_dates

Lists CMS monthly snapshot dates available in the database. No parameters. Returns current, filedates (newest first), and known_gaps for unpublished months.

get_data_freshness

Reports latest CMS source dataset dates and row counts. No parameters. For a prior month, call list_file_dates and pass filedate to the other tools.

MCP Registry

Listed in the official MCP Registry as com.nursinghomedatabase/mcp.

  • Registry manifest: server.json
  • Search: https://registry.modelcontextprotocol.io/v0.1/servers?search=com.nursinghomedatabase

REST API (same backend)

JSON discovery APIs are also available under the main site:

  • GET https://www.nursinghomedatabase.com/api/v1/nh/capabilities
  • GET https://www.nursinghomedatabase.com/api/v1/nh/file-dates
  • GET https://www.nursinghomedatabase.com/api/v1/nh/facilities?address=150+Corporate+Woods+Drive,+Magnolia,+TX+77354
  • GET https://www.nursinghomedatabase.com/api/v1/nh/facilities?address=150+Corporate+Woods+Drive,+Magnolia,+TX+77354&radius_miles=10&sort=distance
  • GET https://www.nursinghomedatabase.com/api/v1/nh/facilities?state=TX&min_overall_rating=4&sort=tothrd
  • GET https://www.nursinghomedatabase.com/api/v1/nh/facilities?state=TX&filedate=2026-07-01
  • GET https://www.nursinghomedatabase.com/api/v1/nh/field-values?field=ownership
  • GET https://www.nursinghomedatabase.com/api/v1/nh/facilities?state=TX&ownership=Non+profit
  • GET https://www.nursinghomedatabase.com/api/v1/nh/facilities/summary?metrics=tothrd,rnhrd,totalnursingstaffturnover&group_by=ownership_kind

REST callers can pass filedate=YYYY-MM-DD (or YYYY-MM) on facilities and owners endpoints the same way MCP tools do. min_overall_rating, max_overall_rating, abuse_icon, sffstatus, and ownership are query parameters on GET /api/v1/nh/facilities.

MCP and REST share the same underlying data layer.

Example: Cursor / IDE config

json
{  "mcpServers": {    "nursing-home-database": {      "type": "streamableHttp",      "url": "https://mcp.nursinghomedatabase.com/mcp"    }  }}

License and data

Data is derived from public CMS and related sources. Use is subject to the terms published on nursinghomedatabase.com.

來源:README.md,提交 a391893

工具

12

search_facilities

Find certified US skilled nursing facilities near an address or in a city. Filter by CMS ownership type (call list_distinct_values field=ownership first), star rating, abuse flag, high-performing icon, or Special Focus status. Returns ownership, ratings, nurse hours (HPRD), nurse/RN turnover, weighted inspection score, beds, fines, straight-line distance_miles, and maps deep-links. distance_miles is crow-flies, not drive time — use maps.google_dir / a mapping service for minutes.

輸入參數qzipcitysortlimitstateoffsetaddressfiledateownershipsffstatusabuse_icon另有 4 個

search_facilities_by_ownership

Find certified US SNFs by CMS ownership type (ProviderInfo.ownership). Call list_distinct_values with field=ownership first. Same result schema as search_facilities; combine with state, city, ZIP, or address.

輸入參數qzipcitysortlimitstateoffsetaddressfiledateownership必填radius_milesmax_overall_rating另有 1 個

summarize_facilities

Aggregate numeric CMS ProviderInfo fields (n, mean, min, max; optional median) across certified SNFs. Prefer this over paging search_facilities for national or grouped stats. Call list_distinct_values for ownership catalogs; call list_file_dates for filedate. Facility-equal means — not bed-weighted. Missing values excluded per metric. Not causal. Not a substitute for get_facility on a named home. Rate limit 60 requests/minute.

輸入參數zipcitystatemetrics必填filedategroup_byownershipsffstatusabuse_iconicon_hi_perfinclude_medianmax_overall_rating另有 1 個

compare_facilities

Compare up to 25 certified skilled nursing facilities by CMS CCN or web slug. Returns the same decision fields as search_facilities (ratings, nurse hours, turnover, inspection score, beds, fines, maps) as a table. Prefer this over looping get_facility against the 60 requests/minute limit.

輸入參數ids必填filedate

get_facility_changes

Monitor one skilled nursing facility across two CMS monthly files. Defaults to latest vs the prior snapshot. Returns field-level diffs for stars, nurse hours, turnover, inspection score, abuse icon, high-performing icon, fines, and occupancy. Care Compare shows this month only — rerun after the next file.

輸入參數id必填tofrom

get_facility

Get one certified skilled nursing facility by CMS CCN (provnum) or web slug. Returns the same decision fields as search_facilities: ratings, nurse hours (HPRD), nurse/RN turnover, weighted inspection score, beds, fines, abuse/SFF flags, and maps deep-links. Use data_as_of as the CMS vintage; do not invent ratings or hours that are missing. Defaults to the latest monthly snapshot; pass filedate from list_file_dates for a prior month.

輸入參數id必填filedate

get_facility_ownership

Get CMS ownership records for one facility — who owns or manages the building. Defaults to the latest CMS monthly snapshot; pass filedate from list_file_dates to query a prior month.

輸入參數id必填filedate

search_owners

Search nursing-home owners by name. Defaults to the latest CMS monthly snapshot; pass filedate from list_file_dates to query a prior month.

輸入參數q必填limitoffsetfiledate

get_owner

Get an owner portfolio by web_owner slug, including facility names, locations, and overall stars. Defaults to the latest CMS monthly snapshot; pass filedate from list_file_dates to query a prior month.

輸入參數filedateweb_owner必填

list_file_dates

List CMS monthly snapshot dates available in the database (newest first), plus the current filedate and known unpublished months. Use a returned date as filedate on other tools to retrieve a prior month instead of the latest data.

無需輸入參數。

list_distinct_values

List distinct CMS ProviderInfo values and counts for a field. Omit field to see the catalog. Use field=ownership before search_facilities to get the 13 ownership types. city requires state.

輸入參數fieldstatefiledate

get_data_freshness

Get latest source dataset dates and row counts. For prior months, call list_file_dates and pass filedate to other tools.

無需輸入參數。

版本歷史

1
  1. v1.0.1最新Sep 16, 2026

評分

已滿足適用檢查項的 90%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。