librelinkup-mcp
Provides tools for interacting with Abbott's LibreLinkUp service, allowing retrieval of current glucose readings, graph history, logbook entries, and the list of followed FreeStyle Libre patients.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@librelinkup-mcpwhat's my latest glucose reading?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
librelinkup-mcp
An MCP server that exposes LibreLinkUp glucose
data (via pylibrelinkup) as
tools for any MCP-compatible client (Claude Desktop, Claude Code, etc).
LibreLinkUp itself has no public API keys — this works the same way the LibreLinkUp mobile app does: you sign in with the email/password of a LibreLinkUp account that has been added as a follower of one or more FreeStyle Libre users.
Tools
Tool | Description |
| List everyone you follow, with their |
| Latest reading, high/low flags, trend arrow. |
| ~last 12 hours of readings. |
| ~last 2 weeks of logged events. |
patient accepts either the patient_id (UUID) or the "First Last" name
returned by list_patients().
Related MCP server: Dexcom Share MCP Server
Setup
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -r requirements.txtSet your LibreLinkUp credentials as environment variables (do not hard-code them anywhere):
export LIBRELINKUP_EMAIL="you@example.com"
export LIBRELINKUP_PASSWORD="your_password"
# Optional — defaults to US. One of: US, EU, EU2, DE, FR, JP, AP, AU, AE, CA, LA, RU
export LIBRELINKUP_REGION="US"Run it directly to sanity-check:
python server.pyConnecting a client
Claude Desktop / Claude Code (claude_desktop_config.json or .mcp.json)
{
"mcpServers": {
"librelinkup": {
"command": "/absolute/path/to/.venv/bin/python",
"args": ["/absolute/path/to/server.py"],
"env": {
"LIBRELINKUP_EMAIL": "you@example.com",
"LIBRELINKUP_PASSWORD": "your_password",
"LIBRELINKUP_REGION": "US"
}
}
}
}Restart the client after saving the config. Then try asking it something like
"What's my latest glucose reading?" — it will call list_patients (if
needed) and get_current_glucose on your behalf.
Notes
The underlying client authenticates once per process and is cached; if a call fails with an auth error the server re-authenticates once and retries.
LibreLinkUp accounts are region-locked (the same account/region used in the LibreLinkUp app). If
list_patients()returns an empty list or an auth error, double-checkLIBRELINKUP_REGION.This talks to LibreLinkUp's unofficial-but-widely-used follower API via
pylibrelinkup; it is not affiliated with or endorsed by Abbott.Credentials never leave environment variables passed to the process — the server does not log or persist them.
Troubleshooting Guide
Verify that your LibreLinkUp account has API access enabled and at least one linked sensor.
Ensure the pylibrelinkup client (v0.10.0+) sends the Authorization: Bearer * and Account‑Id: <sha256(user-id)> headers; if not, update the library or manually add those headers in your code.
If you see 400 Bad Request – missing or malformed jwt`, double‑check credentials, region, and that 2FA is disabled or you’re using an app‑specific password.
That’s the only specific guidance needed.
This server cannot be deployed
Maintenance
Related MCP Connectors
Glucose readings from your LibreLink Up sensor: graph, logbook, stats and summaries (read-only). Sec
Remote MCP server for training, nutrition, wellness, and performance data with OAuth 2.0.
Read wearables and lab health data — sleep, activity, workouts, timeseries, lab tests and orders.
GTA doctor, specialist, clinic, language, availability, and freshness data through REST and MCP.
Related MCP Servers
- AlicenseAqualityAmaintenanceEnables access to FreeStyle Libre glucose data through Claude Desktop, providing current readings, historical data, statistics, and trend analysis from LibreLinkUp accounts with secure credential storage.101MIT
- AlicenseAqualityDmaintenanceProvides real-time Dexcom CGM glucose data to MCP clients via the unofficial Share API, enabling queries like current glucose and recent readings within the last 24 hours.2MIT
- AlicenseNot gradedqualityDmaintenanceRead-only MCP server for accessing glucose readings, charts, logbook, and statistics from LibreLink Up sensors, supporting any MCP client.MIT
- AlicenseNot gradedqualityDmaintenanceEnables clinical teams to list patients with active sharing and read glucose, graph, logbook, and statistics from LibreLink Up, with secure magic-link login and encrypted credentials.MIT