{
  "info": {
    "name": "LibreLink Up B2B (CGM clínica) — mcp.ai",
    "description": "REST API for the LibreLink Up B2B (CGM clínica) MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/librelink_business",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "librelink_business_get_current_glucose",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/current/glucose",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "current",
            "glucose"
          ]
        },
        "description": "Latest glucose reading for a patient (value, trend, flags). For history use librelink_business_get_glucose_graph. Read-only CGM data — clinic/follower account; not for medical decisions without clinic",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"patient_id\": \"\",\n  \"patient_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "librelink_business_get_glucose_graph",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/glucose/graph",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "glucose",
            "graph"
          ]
        },
        "description": "~12h high-resolution glucose graph (graphData). Read-only CGM data — clinic/follower account; not for medical decisions without clinician review.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"patient_id\": \"\",\n  \"patient_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "librelink_business_get_glucose_logbook",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/glucose/logbook",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "glucose",
            "logbook"
          ]
        },
        "description": "Manual-scan logbook (~14 days). For continuous graph use librelink_business_get_glucose_graph. Read-only CGM data — clinic/follower account; not for medical decisions without clinician review.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"patient_id\": \"\",\n  \"patient_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "librelink_business_get_glucose_stats",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/glucose/stats",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "glucose",
            "stats"
          ]
        },
        "description": "Time-in-range, avg, min/max from current graph window (~12h). Default target 70–180 mg/dL. Read-only CGM data — clinic/follower account; not for medical decisions without clinician review.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"patient_id\": \"\",\n  \"target_low\": 0,\n  \"target_high\": 0,\n  \"patient_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "librelink_business_get_last_hours",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/last/hours",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "last",
            "hours"
          ]
        },
        "description": "Last N hours of normalized points from the current graph window (max ~12h available). Read-only CGM data — clinic/follower account; not for medical decisions without clinician review.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"patient_id\": \"\",\n  \"hours\": 0,\n  \"patient_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "librelink_business_get_latest_reading",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/latest/reading",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "latest",
            "reading"
          ]
        },
        "description": "Normalized latest reading: { mg_dl, trend_arrow, timestamp, minutes_ago, has_active_sensor }. Read-only CGM data — clinic/follower account; not for medical decisions without clinician review.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"patient_id\": \"\",\n  \"patient_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "librelink_business_get_patient",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/patient",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "patient"
          ]
        },
        "description": "Get one connection by patient_id (target range, sensor, latest glucose envelope). Read-only CGM data — clinic/follower account; not for medical decisions without clinician review.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"patient_id\": \"\",\n  \"patient_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "librelink_business_get_today_summary",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/today/summary",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "today",
            "summary"
          ]
        },
        "description": "Like glucose stats but filtered to \"today\" in an IANA timezone; includes hypo/hyper event counts. Read-only CGM data — clinic/follower account; not for medical decisions without clinician review.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"patient_id\": \"\",\n  \"timezone\": \"\",\n  \"target_low\": 0,\n  \"target_high\": 0,\n  \"patient_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "librelink_business_list_patients",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/patients",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "patients"
          ]
        },
        "description": "List all patients whose CGM data is visible to this LibreLink Up follower account (same as /llu/connections). Use patientId from each row for other tools. Read-only CGM data — clinic/follower account;",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}