{
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
  "name": "com.seniorlegit/cms-care-records",
  "title": "Senior Legit CMS Care Provider Records",
  "description": "Read-only MCP server for 42,569 Medicare-certified U.S. care providers and CMS safety records.",
  "version": "1.1.0",
  "websiteUrl": "https://seniorlegit.com/data/",
  "icons": [
    {
      "src": "https://seniorlegit.com/icon-512.png",
      "mimeType": "image/png",
      "sizes": [
        "512x512"
      ]
    },
    {
      "src": "https://seniorlegit.com/favicon.svg",
      "mimeType": "image/svg+xml",
      "sizes": [
        "any"
      ]
    }
  ],
  "repository": {
    "url": "https://github.com/seniorlegit/care-provider-records",
    "source": "github"
  },
  "remotes": [
    {
      "type": "streamable-http",
      "url": "https://seniorlegit.com/mcp"
    }
  ],
  "packages": [
    {
      "registryType": "npm",
      "identifier": "@seniorlegit/mcp",
      "version": "1.1.0",
      "transport": {
        "type": "stdio"
      }
    }
  ],
  "_meta": {
    "io.modelcontextprotocol.registry/publisher-provided": {
      "publisher": {
        "name": "Senior Legit",
        "url": "https://seniorlegit.com",
        "contact": "hello@seniorlegit.com",
        "license": "CC-BY-4.0",
        "not_a_referral_agency": true,
        "missing_field_label": "Not in the federal record"
      },
      "discovery": {
        "ai_search_endpoint": "https://seniorlegit.com/.well-known/search",
        "ai_data_json": "https://seniorlegit.com/.well-known/ai-data.json",
        "ai_plugin_json": "https://seniorlegit.com/.well-known/ai-plugin.json",
        "mcp_json": "https://seniorlegit.com/.well-known/mcp.json",
        "mcp_endpoint": "https://seniorlegit.com/mcp",
        "llms_txt": "https://seniorlegit.com/llms.txt",
        "sitemap_xml": "https://seniorlegit.com/sitemap.xml",
        "sitemap_index_xml": "https://seniorlegit.com/sitemap-index.xml",
        "workbench": "https://seniorlegit.com/workbench",
        "citation_cff": "https://seniorlegit.com/open/CITATION.cff",
        "datapackage_json": "https://seniorlegit.com/open/datapackage.json"
      },
      "archive": {
        "zenodo_doi": "10.5281/zenodo.24617749",
        "zenodo_url": "https://doi.org/10.5281/zenodo.24617749",
        "zenodo_record": "https://zenodo.org/records/24617749",
        "huggingface_dataset": "https://huggingface.co/datasets/SeniorLegit1/cms-skilled-nursing-eb-survival-2026",
        "github_open_data": "https://github.com/seniorlegit/care-provider-records",
        "license": "CC-BY-4.0"
      },
      "tools": [
        {
          "name": "lookup_provider_by_ccn",
          "description": "Look up any U.S. Medicare-certified care provider by 6-char CCN across all 6 CMS types (nh, hh, hospice, dialysis, irf, ltch)."
        },
        {
          "name": "verify_provider_record",
          "description": "Verify whether a 6-char CCN is active in the CMS snapshot with SFF/abuse flags and canonical EN/ES links."
        },
        {
          "name": "search_providers_by_zip",
          "description": "Find Medicare-certified care providers in a 5-digit U.S. ZIP code across all 6 CMS care settings."
        },
        {
          "name": "get_state_survival_stats",
          "description": "Get state or national CMS harm, immediate jeopardy, fines, turnover, HPRD, and Kaplan-Meier / Cox PH survival benchmarks."
        },
        {
          "name": "get_state_harm_stats",
          "description": "Retrieve state-level CMS nursing home harm (G-L), immediate jeopardy (J-L), fines, turnover, and backlog CSV rows."
        },
        {
          "name": "get_dataset_metadata",
          "description": "Return CMS file release dates, provider counts, open CSV URLs, Zenodo DOI, and Hugging Face dataset metadata."
        },
        {
          "name": "get_r2_catalog_summary",
          "description": "Query live R2 dataset catalog manifest (seniorlegit-datasets: shard count, total rows, and matching shard summaries)."
        },
        {
          "name": "get_r2_shard",
          "description": "Fetch summary.json, dataset.jsonld, and data.csv.gz download link for a specific R2 dataset shard slug."
        },
        {
          "name": "get_chain_contagion_record",
          "description": "Look up corporate nursing home chain contagion telemetry (harm %, fines, SFF, state footprint) and R2 chain shards."
        }
      ],
      "resources": [
        {
          "uri": "seniorlegit://meta",
          "name": "CMS Provider Data Catalog Metadata",
          "mimeType": "application/json"
        },
        {
          "uri": "seniorlegit://state-harm-stats",
          "name": "Nursing Home Harm Citations & Turnover by State (CSV)",
          "mimeType": "text/csv"
        },
        {
          "uri": "seniorlegit://r2-catalog",
          "name": "Live R2 Dataset Catalog Manifest",
          "mimeType": "application/json"
        }
      ],
      "verified_metrics": {
        "nursing_homes": 14686,
        "total_providers": 42569,
        "licensed_beds": 1567009,
        "actual_harm_g_to_l_homes": 8153,
        "actual_harm_g_to_l_pct": 55.5,
        "immediate_jeopardy_j_to_l_homes": 4334,
        "immediate_jeopardy_j_to_l_pct": 29.5,
        "federal_fines_3yr_usd": 445738479,
        "pbj_cohort_n": 12703,
        "pbj_harm_events": 6558,
        "km_36mo_low_rn_turn_pct": 58.9,
        "km_36mo_high_rn_turn_pct": 37.2,
        "cox_hr_per_30pp_rn_turn": 1.394
      }
    }
  }
}
