{
  "name": "opais-340b-mcp",
  "title": "HealthMesh · 340B OPAIS Covered Entities & Contract Pharmacies MCP",
  "version": "0.1.1",
  "description": "HRSA 340B Drug Pricing Program (OPAIS) covered entities and contract pharmacies: search registered hospitals and clinics by name, 340B ID, entity type (DSH, CAH, SCH, RRC, PED, CAN, health centers, Ryan White, STD, TB, family planning, ...), state, city, Medicare provider number or NPI; full entity records with child sites, shipping addresses, Medicaid numbers and NPIs; and contract-pharmacy arrangements by covered entity or by pharmacy (name, ZIP, state), with active/terminated status computed for today.",
  "healthmesh_domain": "Pharmacy & PBM",
  "datasets": [
    "RX-12"
  ],
  "mcp_endpoint": "https://opais-340b.healthmesh.ai/mcp",
  "transport": "Streamable HTTP (stateless, JSON responses)",
  "authorization": "none",
  "auth_mode": "off",
  "docs": "https://github.com/HendrikK/healthmesh/tree/main/servers/opais-340b-mcp#readme",
  "contact": "hendrik.kleine@gmail.com",
  "data_source": {
    "name": "HRSA 340B OPAIS Covered Entity Daily Export (JSON)",
    "url": "https://340bopais.hrsa.gov/Reports",
    "license": "U.S. Government Work (public domain) – HRSA Office of Pharmacy Affairs 340B OPAIS public data",
    "refresh": "HRSA export daily; loaded monthly into D1 by GitHub Actions (blue/green)"
  },
  "tools": [
    {
      "name": "opais_search_covered_entities",
      "title": "Search 340B covered entities",
      "description": "Searches HRSA's 340B OPAIS register of covered entities (parent registrations and child sites/outpatient facilities) by name words, 340B ID, entity type (DSH, CAH, SCH, RRC, PED, CAN, CH, FQHCLA, FQHC638, UI, NH, RW*, STD, TB, FP, BL, HM), state, city, ZIP, Medicare provider number (CCN) or NPI, and participation status. Returns 340B ID, name, type, address, participation start/termination dates and contract-pharmacy counts with the exact total. Use to find a hospital's 340B ID or list e.g. participating critical access hospitals in a state."
    },
    {
      "name": "opais_get_entity",
      "title": "Get a 340B covered entity record",
      "description": "Returns a 340B covered entity's full OPAIS record by 340B ID: type, participation dates and status, street/billing/shipping addresses, Medicare provider number, NPIs, Medicaid numbers (Medicaid billing/carve-in), grant number, authorizing official (name/title), last certification date, its parent registration or its child sites, and contract-pharmacy counts (active today / total)."
    },
    {
      "name": "opais_list_contract_pharmacies",
      "title": "List 340B contract pharmacy arrangements",
      "description": "Lists 340B contract-pharmacy arrangements from OPAIS in three modes: (1) id_340b -> a covered entity's contract pharmacies (optionally filtered by pharmacy name/state/ZIP/city), with active/terminated counts and the top pharmacy names; (2) pharmacy_id -> the covered entities a pharmacy serves; (3) pharmacy_name and/or zip/state/city without an id -> matching pharmacies with how many covered entities each serves today. Status (active/terminated) is computed for today."
    },
    {
      "name": "opais_describe_dataset",
      "title": "Describe the 340B OPAIS dataset",
      "description": "Describes the loaded 340B OPAIS export: export date, load time, counts of covered entities by type (registered and participating today), contract pharmacies and arrangements, entity-type code meanings, status rules and caveats."
    }
  ]
}