{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "metriport.usefulapi.io",
    "site": "usefulapi.io",
    "addresses": [
      {
        "address": "172.67.138.37",
        "endpoints": 1110,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "172.67.128.0/20",
          "country": "US"
        }
      },
      {
        "address": "104.21.62.184",
        "endpoints": 1110,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "104.21.32.0/19",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3032::6815:3eb8",
        "endpoints": 1110,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3032::/48",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3030::ac43:8a25",
        "endpoints": 1110,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3030::/48",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "172.67.138.37",
          "104.21.62.184",
          "2606:4700:3032::6815:3eb8",
          "2606:4700:3030::ac43:8a25"
        ],
        "first_seen": "2026-11-23T16:21:00.574Z",
        "last_seen": "2026-11-23T16:21:00.574Z",
        "checks": 1
      },
      {
        "addresses": [
          "172.67.138.37",
          "104.21.62.184",
          "2606:4700:3030::ac43:8a25",
          "2606:4700:3032::6815:3eb8"
        ],
        "first_seen": "2026-11-22T16:20:03.410Z",
        "last_seen": "2026-11-22T16:20:03.410Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare",
        "evidence": "Server header \"cloudflare\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "metriport-mcp",
      "version": "1.41.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "cloudflare"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 1109,
      "sample": [
        {
          "id": "22186",
          "url": "https://mcp.easyscribe.guide/mcp",
          "server_name": "guide.easyscribe/easy-scribe",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T18:00:14.785Z"
        },
        {
          "id": "42087",
          "url": "https://17track.usefulapi.io/mcp",
          "server_name": "io.usefulapi/17track",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:37:00.117Z"
        },
        {
          "id": "42088",
          "url": "https://a2x-accounting.usefulapi.io/mcp",
          "server_name": "io.usefulapi/a2x-accounting",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:38:01.144Z"
        },
        {
          "id": "42089",
          "url": "https://abacus-pos.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abacus-pos",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:39:01.150Z"
        },
        {
          "id": "42090",
          "url": "https://abaninja.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abaninja",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:40:04.827Z"
        },
        {
          "id": "42091",
          "url": "https://ablesign.usefulapi.io/mcp",
          "server_name": "io.usefulapi/ablesign",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:41:00.510Z"
        },
        {
          "id": "42092",
          "url": "https://ably.usefulapi.io/mcp",
          "server_name": "io.usefulapi/ably",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:42:01.406Z"
        },
        {
          "id": "42093",
          "url": "https://abra-flexi.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abra-flexi",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:43:00.718Z"
        },
        {
          "id": "42094",
          "url": "https://absence-io.usefulapi.io/mcp",
          "server_name": "io.usefulapi/absence-io",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:44:09.505Z"
        },
        {
          "id": "42095",
          "url": "https://abstract-api.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abstract-api",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:45:03.727Z"
        },
        {
          "id": "42096",
          "url": "https://academy-of-mine.usefulapi.io/mcp",
          "server_name": "io.usefulapi/academy-of-mine",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:46:00.640Z"
        },
        {
          "id": "42097",
          "url": "https://academyocean.usefulapi.io/mcp",
          "server_name": "io.usefulapi/academyocean",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:47:00.764Z"
        },
        {
          "id": "42098",
          "url": "https://accelo.usefulapi.io/mcp",
          "server_name": "io.usefulapi/accelo",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:48:07.939Z"
        },
        {
          "id": "42099",
          "url": "https://accredible.usefulapi.io/mcp",
          "server_name": "io.usefulapi/accredible",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:49:01.212Z"
        },
        {
          "id": "42100",
          "url": "https://action1.usefulapi.io/mcp",
          "server_name": "io.usefulapi/action1",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:50:02.305Z"
        },
        {
          "id": "42101",
          "url": "https://acube.usefulapi.io/mcp",
          "server_name": "io.usefulapi/acube",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:51:00.623Z"
        },
        {
          "id": "42102",
          "url": "https://acuity-scheduling.usefulapi.io/mcp",
          "server_name": "io.usefulapi/acuity-scheduling",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:52:00.408Z"
        },
        {
          "id": "42103",
          "url": "https://adafruit-io.usefulapi.io/mcp",
          "server_name": "io.usefulapi/adafruit-io",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:53:01.972Z"
        },
        {
          "id": "42104",
          "url": "https://addevent.usefulapi.io/mcp",
          "server_name": "io.usefulapi/addevent",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:54:01.697Z"
        },
        {
          "id": "42105",
          "url": "https://addressfinder.usefulapi.io/mcp",
          "server_name": "io.usefulapi/addressfinder",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:55:02.861Z"
        }
      ]
    },
    "same_site": {
      "total": 1108,
      "sample": [
        {
          "id": "42087",
          "url": "https://17track.usefulapi.io/mcp",
          "server_name": "io.usefulapi/17track",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:37:00.117Z"
        },
        {
          "id": "42088",
          "url": "https://a2x-accounting.usefulapi.io/mcp",
          "server_name": "io.usefulapi/a2x-accounting",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:38:01.144Z"
        },
        {
          "id": "42089",
          "url": "https://abacus-pos.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abacus-pos",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:39:01.150Z"
        },
        {
          "id": "42090",
          "url": "https://abaninja.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abaninja",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:40:04.827Z"
        },
        {
          "id": "42091",
          "url": "https://ablesign.usefulapi.io/mcp",
          "server_name": "io.usefulapi/ablesign",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:41:00.510Z"
        },
        {
          "id": "42092",
          "url": "https://ably.usefulapi.io/mcp",
          "server_name": "io.usefulapi/ably",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:42:01.406Z"
        },
        {
          "id": "42093",
          "url": "https://abra-flexi.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abra-flexi",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:43:00.718Z"
        },
        {
          "id": "42094",
          "url": "https://absence-io.usefulapi.io/mcp",
          "server_name": "io.usefulapi/absence-io",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:44:09.505Z"
        },
        {
          "id": "42095",
          "url": "https://abstract-api.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abstract-api",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:45:03.727Z"
        },
        {
          "id": "42096",
          "url": "https://academy-of-mine.usefulapi.io/mcp",
          "server_name": "io.usefulapi/academy-of-mine",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:46:00.640Z"
        },
        {
          "id": "42097",
          "url": "https://academyocean.usefulapi.io/mcp",
          "server_name": "io.usefulapi/academyocean",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:47:00.764Z"
        },
        {
          "id": "42098",
          "url": "https://accelo.usefulapi.io/mcp",
          "server_name": "io.usefulapi/accelo",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:48:07.939Z"
        },
        {
          "id": "42099",
          "url": "https://accredible.usefulapi.io/mcp",
          "server_name": "io.usefulapi/accredible",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:49:01.212Z"
        },
        {
          "id": "42100",
          "url": "https://action1.usefulapi.io/mcp",
          "server_name": "io.usefulapi/action1",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:50:02.305Z"
        },
        {
          "id": "42101",
          "url": "https://acube.usefulapi.io/mcp",
          "server_name": "io.usefulapi/acube",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:51:00.623Z"
        },
        {
          "id": "42102",
          "url": "https://acuity-scheduling.usefulapi.io/mcp",
          "server_name": "io.usefulapi/acuity-scheduling",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:52:00.408Z"
        },
        {
          "id": "42103",
          "url": "https://adafruit-io.usefulapi.io/mcp",
          "server_name": "io.usefulapi/adafruit-io",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:53:01.972Z"
        },
        {
          "id": "42104",
          "url": "https://addevent.usefulapi.io/mcp",
          "server_name": "io.usefulapi/addevent",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:54:01.697Z"
        },
        {
          "id": "42105",
          "url": "https://addressfinder.usefulapi.io/mcp",
          "server_name": "io.usefulapi/addressfinder",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:55:02.861Z"
        },
        {
          "id": "42106",
          "url": "https://adminpulse.usefulapi.io/mcp",
          "server_name": "io.usefulapi/adminpulse",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:56:00.432Z"
        }
      ]
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "io.usefulapi",
      "total": 1108,
      "sample": [
        {
          "name": "io.usefulapi/17track",
          "title": "17TRACK MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/a2x-accounting",
          "title": "A2X MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abacus-pos",
          "title": "Abacus POS MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abaninja",
          "title": "AbaNinja MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/ablesign",
          "title": "AbleSign MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/ably",
          "title": "Ably MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abra-flexi",
          "title": "ABRA Flexi MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/absence-io",
          "title": "absence.io MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abstract-api",
          "title": "Abstract API MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/academy-of-mine",
          "title": "Academy of Mine MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/academyocean",
          "title": "AcademyOcean MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/accelo",
          "title": "Accelo MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/accredible",
          "title": "Accredible MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/action1",
          "title": "Action1 MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/acube",
          "title": "A-Cube MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/acuity-scheduling",
          "title": "Acuity Scheduling MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/adafruit-io",
          "title": "Adafruit IO MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/addevent",
          "title": "AddEvent MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/addressfinder",
          "title": "Addressfinder MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/adminpulse",
          "title": "AdminPulse MCP by usefulapi"
        }
      ]
    },
    "same_repository": {
      "repository_url": "https://github.com/m190/usefulapi-mcp",
      "total": 1108,
      "sample": [
        {
          "name": "io.usefulapi/17track",
          "title": "17TRACK MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/a2x-accounting",
          "title": "A2X MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abacus-pos",
          "title": "Abacus POS MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abaninja",
          "title": "AbaNinja MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/ablesign",
          "title": "AbleSign MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/ably",
          "title": "Ably MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abra-flexi",
          "title": "ABRA Flexi MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/absence-io",
          "title": "absence.io MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abstract-api",
          "title": "Abstract API MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/academy-of-mine",
          "title": "Academy of Mine MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/academyocean",
          "title": "AcademyOcean MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/accelo",
          "title": "Accelo MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/accredible",
          "title": "Accredible MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/action1",
          "title": "Action1 MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/acube",
          "title": "A-Cube MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/acuity-scheduling",
          "title": "Acuity Scheduling MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/adafruit-io",
          "title": "Adafruit IO MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/addevent",
          "title": "AddEvent MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/addressfinder",
          "title": "Addressfinder MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/adminpulse",
          "title": "AdminPulse MCP by usefulapi"
        }
      ]
    },
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "42660",
    "server_name": "io.usefulapi/metriport",
    "url": "https://metriport.usefulapi.io/mcp",
    "host": "metriport.usefulapi.io",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-23T16:21:00.574Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "b091eb6f9788ea01e4f002b56de14d46becaf75eca8299794af652410d3afeb0",
    "first_listed_at": "2026-11-22T16:20:03.410Z",
    "created_at": "2026-11-21T12:40:11.090Z",
    "resolved_addresses": [
      "172.67.138.37",
      "104.21.62.184",
      "2606:4700:3032::6815:3eb8",
      "2606:4700:3030::ac43:8a25"
    ]
  },
  "server": {
    "name": "io.usefulapi/metriport",
    "title": "Metriport MCP by usefulapi",
    "description": "Read and write patients, facilities, medical documents, and consolidated FHIR records in Metriport.",
    "version": "1.41.0",
    "registry_status": "active",
    "repository_url": "https://github.com/m190/usefulapi-mcp",
    "website_url": "https://usefulapi.io/metriport/",
    "published_at": "2026-11-21T08:05:54.144Z",
    "updated_at": "2026-11-21T08:05:54.144Z",
    "first_seen": "2026-11-21T12:40:10.415Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T16:20:15.846Z"
  },
  "operator": {
    "key": "usefulapi.io",
    "name": "usefulapi.io",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 2,
    "answered": 2,
    "answered_percent": 100,
    "avg_listing_latency_ms": 691,
    "first_check_in_window": "2026-11-22T16:20:03.410Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-23",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "b091eb6f9788ea01e4f002b56de14d46becaf75eca8299794af652410d3afeb0",
    "tools": 12,
    "resources": 0,
    "prompts": 5,
    "first_seen": "2026-11-22T16:20:03.767Z",
    "tool_names": [
      "metriport_list_facilities",
      "metriport_get_facility",
      "metriport_list_patients",
      "metriport_get_patient",
      "metriport_list_documents",
      "metriport_get_document_query_status",
      "metriport_get_document_url",
      "metriport_list_consolidated_queries",
      "metriport_get_medical_record_summary",
      "metriport_create_patient",
      "metriport_start_document_query",
      "metriport_start_consolidated_query"
    ],
    "declared": {
      "tools": [
        {
          "name": "metriport_list_facilities",
          "title": "List facilities",
          "description": "List all Facilities under your Metriport Organization (id, name, npi, address). Medical API: GET /medical/v1/facility.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {}
          },
          "annotations": {
            "title": "List facilities",
            "readOnlyHint": true
          }
        },
        {
          "name": "metriport_get_facility",
          "title": "Get facility",
          "description": "Get a single Facility by its Metriport ID. Medical API: GET /medical/v1/facility/{id}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "description": "The Metriport Facility ID."
              }
            }
          },
          "annotations": {
            "title": "Get facility",
            "readOnlyHint": true
          }
        },
        {
          "name": "metriport_list_patients",
          "title": "List patients",
          "description": "List Patients — all Patients, or only those at a given Facility if facilityId is supplied. Medical API: GET /medical/v1/patient.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "facilityId": {
                "type": "string",
                "description": "Optional Facility ID to filter by. Omit to list all patients."
              }
            }
          },
          "annotations": {
            "title": "List patients",
            "readOnlyHint": true
          }
        },
        {
          "name": "metriport_get_patient",
          "title": "Get patient",
          "description": "Get a single Patient by its Metriport ID (demographics + facility IDs). Medical API: GET /medical/v1/patient/{id}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "description": "The Metriport Patient ID."
              }
            }
          },
          "annotations": {
            "title": "Get patient",
            "readOnlyHint": true
          }
        },
        {
          "name": "metriport_list_documents",
          "title": "List documents",
          "description": "List the document references currently available for a Patient at Metriport (optionally filtered by date range and content search). Medical API: GET /medical/v1/document.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "patientId"
            ],
            "properties": {
              "dateTo": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Inclusive end date yyyy-mm-dd."
              },
              "content": {
                "type": "string",
                "description": "Text to search within the document reference and contents (min 3 chars)."
              },
              "dateFrom": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Inclusive start date yyyy-mm-dd."
              },
              "patientId": {
                "type": "string",
                "description": "The Patient ID whose available documents to list."
              }
            }
          },
          "annotations": {
            "title": "List documents",
            "readOnlyHint": true
          }
        },
        {
          "name": "metriport_get_document_query_status",
          "title": "Get document query status",
          "description": "Check the progress/status of a Patient's document query (download + FHIR conversion counts). Medical API: POST /medical/v1/document/query with only patientId (no facilityId) returns current status without starting a new query.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "patientId"
            ],
            "properties": {
              "patientId": {
                "type": "string",
                "description": "The Patient ID whose document-query status to check."
              }
            }
          },
          "annotations": {
            "title": "Get document query status",
            "readOnlyHint": true
          }
        },
        {
          "name": "metriport_get_document_url",
          "title": "Get document download URL",
          "description": "Get a temporary, downloadable URL for a document by its file name (optionally converting XML/CDA to html or pdf). Medical API: GET /medical/v1/document/download-url.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "fileName"
            ],
            "properties": {
              "fileName": {
                "type": "string",
                "description": "The file name of the document (from metriport_list_documents)."
              },
              "conversionType": {
                "type": "string",
                "description": "Optional doc type to convert to, e.g. pdf, html, xml (for XML/CDA files)."
              }
            }
          },
          "annotations": {
            "title": "Get document download URL",
            "readOnlyHint": true
          }
        },
        {
          "name": "metriport_list_consolidated_queries",
          "title": "List consolidated queries",
          "description": "Get the status of the Patient's consolidated-data (FHIR) queries. Medical API: GET /medical/v1/patient/{id}/consolidated/query.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "description": "The Metriport Patient ID."
              }
            }
          },
          "annotations": {
            "title": "List consolidated queries",
            "readOnlyHint": true
          }
        },
        {
          "name": "metriport_get_medical_record_summary",
          "title": "Get medical record summary",
          "description": "Get a URL to the Patient's medical record summary rendered as pdf or html. Medical API: GET /medical/v1/patient/{patientId}/medical-record.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "patientId",
              "conversionType"
            ],
            "properties": {
              "patientId": {
                "type": "string",
                "description": "The Metriport Patient ID."
              },
              "conversionType": {
                "enum": [
                  "pdf",
                  "html"
                ],
                "type": "string",
                "description": "The format to render: pdf or html."
              }
            }
          },
          "annotations": {
            "title": "Get medical record summary",
            "readOnlyHint": true
          }
        },
        {
          "name": "metriport_create_patient",
          "title": "Create patient",
          "description": "Creates a Patient in Metriport (writes PHI and initiates health-information-exchange queries). Medical API: POST /medical/v1/patient (facilityId is a required query param).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "facilityId",
              "firstName",
              "lastName",
              "dob",
              "genderAtBirth",
              "address"
            ],
            "properties": {
              "dob": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Date of birth, yyyy-mm-dd."
              },
              "address": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "addressLine1",
                    "city",
                    "state",
                    "zip"
                  ],
                  "properties": {
                    "zip": {
                      "type": "string",
                      "description": "ZIP / postal code."
                    },
                    "city": {
                      "type": "string",
                      "description": "City."
                    },
                    "state": {
                      "type": "string",
                      "description": "2-letter US state code, e.g. CA."
                    },
                    "country": {
                      "type": "string",
                      "description": "Country. Defaults to USA."
                    },
                    "addressLine1": {
                      "type": "string",
                      "description": "Street address line 1."
                    },
                    "addressLine2": {
                      "type": "string",
                      "description": "Street address line 2 (apt/suite)."
                    }
                  }
                },
                "minItems": 1,
                "description": "One or more addresses for the Patient."
              },
              "contact": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "email": {
                      "type": "string",
                      "description": "Email address."
                    },
                    "phone": {
                      "type": "string",
                      "description": "10-digit phone number, e.g. 1234567890."
                    }
                  }
                },
                "description": "Optional contact info (phone / email)."
              },
              "lastName": {
                "type": "string",
                "description": "The Patient's last name(s)."
              },
              "firstName": {
                "type": "string",
                "description": "The Patient's first name(s)."
              },
              "facilityId": {
                "type": "string",
                "description": "REQUIRED. The Facility ID where the Patient receives care."
              },
              "middleName": {
                "type": "string",
                "description": "The Patient's middle name(s)."
              },
              "genderAtBirth": {
                "enum": [
                  "M",
                  "F",
                  "O",
                  "U"
                ],
                "type": "string",
                "description": "Gender at birth: M, F, O (other), or U (unknown)."
              },
              "personalIdentifiers": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "type",
                    "value"
                  ],
                  "properties": {
                    "type": {
                      "enum": [
                        "driversLicense",
                        "ssn"
                      ],
                      "type": "string",
                      "description": "Identifier type."
                    },
                    "state": {
                      "type": "string",
                      "description": "2-letter state code (required for driversLicense)."
                    },
                    "value": {
                      "type": "string",
                      "description": "The ID number."
                    },
                    "assigner": {
                      "type": "string"
                    }
                  }
                },
                "description": "Optional personal IDs (driver's license / SSN)."
              }
            }
          },
          "annotations": {
            "title": "Create patient",
            "destructiveHint": true
          }
        },
        {
          "name": "metriport_start_document_query",
          "title": "Start document query",
          "description": "Starts a document query — retrieves the patient's medical documents from connected HIE networks. Returns a requestId; results arrive asynchronously. Medical API: POST /medical/v1/document/query (patientId and facilityId are required query params).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "patientId",
              "facilityId"
            ],
            "properties": {
              "metadata": {
                "type": "object",
                "description": "Optional custom string key-value pairs returned in the webhook.",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "type": "string"
                }
              },
              "patientId": {
                "type": "string",
                "description": "REQUIRED. The Patient ID to query documents for."
              },
              "facilityId": {
                "type": "string",
                "description": "REQUIRED. The Facility ID where the patient receives care."
              }
            }
          },
          "annotations": {
            "title": "Start document query",
            "destructiveHint": true
          }
        },
        {
          "name": "metriport_start_consolidated_query",
          "title": "Start consolidated query",
          "description": "Starts a consolidated-data (FHIR) query for the patient. Returns a requestId; the bundle is delivered asynchronously (webhook). Medical API: POST /medical/v1/patient/{id}/consolidated/query.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "description": "The Metriport Patient ID."
              },
              "dateTo": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Inclusive end date yyyy-mm-dd."
              },
              "dateFrom": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Inclusive start date yyyy-mm-dd."
              },
              "metadata": {
                "type": "object",
                "description": "Optional custom string key-value pairs returned in the webhook.",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "type": "string"
                }
              },
              "resources": {
                "type": "string",
                "description": "Comma-separated, case-sensitive list of FHIR resource types. Omit for all."
              },
              "conversionType": {
                "enum": [
                  "json",
                  "pdf",
                  "html"
                ],
                "type": "string",
                "description": "Output format: json, pdf, or html."
              }
            }
          },
          "annotations": {
            "title": "Start consolidated query",
            "destructiveHint": true
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": [
        {
          "name": "getting_started",
          "description": "What you can do with Metriport here, with example requests to try."
        },
        {
          "name": "review_the_facilities_and_their_patients",
          "description": "The AI lists the facilities of your organization and the patients registered at one facility."
        },
        {
          "name": "check_which_documents_are_available_for_a_patient",
          "description": "The AI lists the documents of one patient and the progress of the latest document query. You see what arrived and what is still loading."
        },
        {
          "name": "open_a_document_or_the_record_summary",
          "description": "The AI gets a temporary download link for a chosen document, or a link to the medical record summary as PDF or HTML."
        },
        {
          "name": "request_new_records_for_a_patient",
          "description": "The AI starts a document query and a consolidated data query for one patient. Results arrive later. It asks for your OK first."
        }
      ]
    },
    "instructions": "Tools for Metriport, hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: \"Which facilities are set up in our account?\"; \"List the patients registered at our main facility.\"; \"Show the available documents for the first patient at my main facility.\". Read-only tools never change data; ask the user before a tool that creates, changes or deletes Metriport data. Free plan: 50 tool calls per month. Run metriport_usage_status to see the calls used this month. If the user asks for something none of these tools can do, tell the user and, with their OK, run metriport_request_feature to record the request. Paid plans: Pro (10,000 tool calls a month, $9/month or $90/year, for normal use) and Pro+ (100,000 tool calls a month, $39/month or $390/year, for automations and heavy use). A plan can be cancelled at any time and then runs to the end of the paid period, so it also suits a one-time job. When the user wants more calls or reaches the limit, run metriport_upgrade without a plan: it returns both plans, each with a payment link for the user to open. metriport_cancel_subscription cancels Pro at the end of the paid period."
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}