{
  "markdown": "# Nursing Home Database — MCP\n\nPublic documentation for the **Nursing Home Database** [Model Context Protocol](https://modelcontextprotocol.io/) server. It exposes US nursing facility search, detail, ownership, and owner portfolio data to AI assistants and other MCP clients.\n\n**Website:** [nursinghomedatabase.com](https://www.nursinghomedatabase.com)  \n**Contact:** [Contact page](https://www.nursinghomedatabase.com/contact)\n\n## MCP endpoint\n\n| | |\n|---|---|\n| **Transport** | Streamable HTTP (JSON-RPC 2.0 over HTTPS) |\n| **URL** | `https://mcp.nursinghomedatabase.com/mcp` |\n| **Auth** | None required for discovery and tools (public access) |\n\nSend a standard MCP session: `initialize` → `notifications/initialized` (optional; may receive HTTP 204) → `tools/list` → `tools/call` as needed.\n\n## Tools\n\nAfter `tools/list`, you will see tools such as:\n\n| Tool | Purpose |\n|------|---------|\n| `search_facilities` | Search facilities by name, geography, filters, or distance from a free-form address |\n| `get_facility` | Get one facility by CMS provider number or site slug |\n| `get_facility_ownership` | Ownership records for a facility |\n| `search_owners` | Search owners by name |\n| `get_owner` | Owner portfolio by `web_owner` slug |\n| `get_data_freshness` | Dataset freshness metadata |\n\nExact parameters and schemas are returned in the `tools/list` response (`inputSchema` per tool).\n\n### `search_facilities` highlights\n\n`search_facilities` supports the usual location and rating filters plus address-based distance search.\n\n- `address`: free-form origin address, for example `150 Corporate Woods Drive, Magnolia, TX 77354`\n- `radius_miles`: optional positive number; defaults to `25` when `address` is provided\n- `sort=distance`: sorts nearest results first when using address-based search\n\nIf the supplied address cannot be resolved to a valid location, the API returns an address-specific validation error rather than a generic internal failure.\n\n## MCP Registry\n\nThis server is listed in the official MCP Registry as **`com.nursinghomedatabase/mcp`**.\n\n- Registry metadata for clients and automation: [`server.json`](./server.json) in this repository.\n- Search API: `https://registry.modelcontextprotocol.io/v0.1/servers?search=com.nursinghomedatabase`\n\n## REST API (same backend)\n\nJSON discovery APIs are also available under the main site, for example:\n\n- `GET https://www.nursinghomedatabase.com/api/v1/nh/capabilities`\n- `GET https://www.nursinghomedatabase.com/api/v1/nh/...` (see site documentation)\n\nMCP and REST share the same underlying data layer.\n\nFor REST callers, the facilities endpoint now supports:\n\n- `GET https://www.nursinghomedatabase.com/api/v1/nh/facilities?address=150+Corporate+Woods+Drive,+Magnolia,+TX+77354`\n- `GET https://www.nursinghomedatabase.com/api/v1/nh/facilities?address=150+Corporate+Woods+Drive,+Magnolia,+TX+77354&radius_miles=10`\n- `GET https://www.nursinghomedatabase.com/api/v1/nh/facilities?address=150+Corporate+Woods+Drive,+Magnolia,+TX+77354&radius_miles=10&sort=distance`\n\n## Example: Cursor / IDE config\n\nAdd a **Streamable HTTP** MCP server pointing at the URL above, for example:\n\n```json\n{\n  \"mcpServers\": {\n    \"nursing-home-database\": {\n      \"type\": \"streamableHttp\",\n      \"url\": \"https://mcp.nursinghomedatabase.com/mcp\"\n    }\n  }\n}\n```\n\nAdjust field names to match your client’s MCP configuration format.\n\n## Repository contents\n\n| File | Description |\n|------|-------------|\n| [`server.json`](./server.json) | Published MCP Registry manifest (name, version, remote URL) |\n| `README.md` | This file |\n\nThere is no application source code in this repository; the MCP is implemented in the Nursing Home Database production environment.\n\n## License and data\n\nData is derived from public CMS and related sources; use is subject to the terms published on [nursinghomedatabase.com](https://www.nursinghomedatabase.com). For licensing or bulk use, use the site contact form.\n",
  "bytes": 3937,
  "sha": "7825cf0ccbc60366699d43f6114ca34461d86e3338e9e1ff84a4beb6d2ece562",
  "repo_slug": "jmtroller/nhd-mcp-public-documentation",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_com_nursinghomedatabase_mcp_f653276d/readme"
}