# FreeStyle Libre (LibreLinkUp) [Health: Active]

**Category:** 🧬 Biology & Bioinformatics  
**Repository:** https://github.com/osjayaprakash/freestyle-libre-mcp  
**GitHub Stars:** 0  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/freestyle-libre-librelinkup

## Description
Read-only FreeStyle Libre CGM glucose readings, graphs and logbook via LibreLinkUp

## Tools
Capabilities this server exposes over MCP:

- **list_patients** — People the LibreLinkUp account follows
- **get_current_glucose** — Latest reading with trend arrow
- **get_glucose_graph** — Readings from about the last 12 hours, oldest first
- **get_glucose_logbook** — Logged events from about the last 2 weeks, oldest first

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "freestyle-libre-librelinkup": {
    "command": "uvx",
    "args": ["freestyle-libre-mcp"],
    "env": {
      "LIBRELINKUP_EMAIL": "",
      "LIBRELINKUP_PASSWORD": "",
      "LIBRELINKUP_REGION": "",
      "LANGFUSE_PUBLIC_KEY": "",
      "LANGFUSE_SECRET_KEY": "",
      "LANGFUSE_BASE_URL": "",
      "LANGFUSE_CAPTURE_DATA": ""
    }
  }
}
```

**Requires environment variables:** `LIBRELINKUP_EMAIL`, `LIBRELINKUP_PASSWORD`, `LIBRELINKUP_REGION`, `LANGFUSE_PUBLIC_KEY`, `LANGFUSE_SECRET_KEY`, `LANGFUSE_BASE_URL`, `LANGFUSE_CAPTURE_DATA` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What FreeStyle Libre (LibreLinkUp) MCP server does

FreeStyle Libre (LibreLinkUp) MCP server exposes read-only glucose information from a LibreLinkUp account to MCP-compatible clients. The account must follow at least one person through LibreLinkUp. Available data includes the people followed by the account, the latest glucose value and trend arrow, recent readings, and logged events.

Reading responses include the value in the account's configured unit, a milligrams-per-deciliter value, the unit, sensor-local and UTC timestamps, and high or low indicators. The current-reading response also reports the age of the value in minutes. This matters when LibreLinkUp is returning the most recent known reading because the sensor or phone is out of range.

## How it works

The server uses its own asynchronous client to communicate with the LibreLinkUp API. MCP tools make the API data available to an agent without exposing write operations. Reading tools accept an optional patient selector. You can provide a full or partial name, such as `Ann Lee` or `ann`, or pass a patient ID returned by `list_patients`. If the account follows only one person, the selector can be omitted.

The graph tool returns approximately the previous 12 hours in oldest-first order. The logbook tool returns approximately the previous two weeks of logged events, also oldest first. The exact time range is described as approximate by the project.

## Setup and configuration

A LibreLinkUp follower account is required. Set up the account by sending an invitation from the LibreLink app, accepting it in LibreLinkUp, and accepting any applicable terms there. The server can be installed from the repository with `uv sync`, run from the published package with `uvx freestyle-libre-mcp`, or started as a Docker container. Docker usage requires interactive stdin because the server communicates over MCP stdio.

Set `LIBRELINKUP_EMAIL` and `LIBRELINKUP_PASSWORD` to the follower account credentials. `LIBRELINKUP_REGION` is optional and defaults to `US`; supported values include `EU`, `EU2`, `AE`, `AP`, `AU`, `CA`, `DE`, `FR`, `JP`, `LA`, and `RU`. If the region is incorrect, the first tool call reports which region to use.

Claude Desktop and Claude Code examples are provided in the project documentation. The server can also be configured in other MCP clients that launch stdio servers.

## Tools and capabilities

- `list_patients`: returns the people followed by the LibreLinkUp account.
- `get_current_glucose`: returns the latest reading and trend arrow.
- `get_glucose_graph`: returns recent readings covering about 12 hours.
- `get_glucose_logbook`: returns logged events covering about two weeks.

All four tools are read-only. Optional Langfuse tracing is available when the extra is installed and the relevant keys are configured. Traces contain limited metadata by default; enabling captured data sends tool inputs, outputs, and error messages to the configured Langfuse instance.

## Limitations and notes

FreeStyle Libre (LibreLinkUp) MCP server depends on a LibreLinkUp follower account and the service's available data. It does not write readings or logged events. Current values may be older than expected when the sensor or phone is out of range, so consumers should use the reported age and timestamps when interpreting freshness.

Glucose readings and patient names are health data. With Langfuse tracing enabled, keep the destination under appropriate control. By default, captured traces exclude readings and names; setting `LANGFUSE_CAPTURE_DATA=true` includes them, so use that setting only with a trusted Langfuse instance.

_Full upstream README: https://allmcps.com/mcp/freestyle-libre-librelinkup/readme_

