Skip to content
MCP server

FreeStyle Libre (LibreLinkUp)

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

Runs locallyStatus and history
Pricing
Open source
Platforms
CLI, self-hosted, macOS
Runs
Locally
Version
0.1.1
Listing updated
1 day ago

About FreeStyle Libre (LibreLinkUp)

FreeStyle Libre (LibreLinkUp) is an open-source MCP server for health and science. It runs locally on your machine and is started by your AI client.

Instead of opening the app, a caregiver or the wearer can ask an assistant for the latest glucose reading. The server signs in as a LibreLinkUp follower account, which you create by inviting it from the LibreLink app and accepting the invite and terms in LibreLinkUp, and then reads shared data without ever changing it.

Four tools cover the people the account follows, the current reading with a trend arrow, a graph of roughly the last 12 hours and a logbook of events from about the last two weeks. Readings include the value in the account's unit and in mg/dL, local and UTC timestamps and high and low flags. Because LibreLinkUp returns the last known value when a sensor or phone is out of range, the current reading also reports its age in minutes.

Select the account's region from twelve options; a wrong choice is reported on the first call. Optional Langfuse tracing records tool names and timings by default and sends readings only if you turn on data capture, which the docs say to do only with a trusted instance.

Install

Run in a terminal

claude mcp add freestyle-libre-mcp --env LIBRELINKUP_EMAIL='<LIBRELINKUP_EMAIL>' --env LIBRELINKUP_PASSWORD='<LIBRELINKUP_PASSWORD>' -- uvx freestyle-libre-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "freestyle-libre-mcp": {
      "command": "uvx",
      "args": [
        "freestyle-libre-mcp"
      ],
      "env": {
        "LIBRELINKUP_EMAIL": "<LIBRELINKUP_EMAIL>",
        "LIBRELINKUP_PASSWORD": "<LIBRELINKUP_PASSWORD>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "freestyle-libre-mcp": {
      "command": "uvx",
      "args": [
        "freestyle-libre-mcp"
      ],
      "env": {
        "LIBRELINKUP_EMAIL": "<LIBRELINKUP_EMAIL>",
        "LIBRELINKUP_PASSWORD": "<LIBRELINKUP_PASSWORD>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "freestyle-libre-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "freestyle-libre-mcp"
      ],
      "env": {
        "LIBRELINKUP_EMAIL": "<LIBRELINKUP_EMAIL>",
        "LIBRELINKUP_PASSWORD": "<LIBRELINKUP_PASSWORD>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "freestyle-libre-mcp": {
      "command": "uvx",
      "args": [
        "freestyle-libre-mcp"
      ],
      "env": {
        "LIBRELINKUP_EMAIL": "<LIBRELINKUP_EMAIL>",
        "LIBRELINKUP_PASSWORD": "<LIBRELINKUP_PASSWORD>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "freestyle-libre-mcp": {
      "command": "uvx",
      "args": [
        "freestyle-libre-mcp"
      ],
      "env": {
        "LIBRELINKUP_EMAIL": "<LIBRELINKUP_EMAIL>",
        "LIBRELINKUP_PASSWORD": "<LIBRELINKUP_PASSWORD>"
      }
    }
  }
}

Configuration

  • LIBRELINKUP_EMAILLibreLinkUp follower account emailRequired
  • LIBRELINKUP_PASSWORDLibreLinkUp follower account passwordRequired
  • LIBRELINKUP_REGIONLibreLinkUp region of the account
  • LIBRELINKUP_EMAILLibreLinkUp follower account emailRequired
  • LIBRELINKUP_PASSWORDLibreLinkUp follower account passwordRequired
  • LIBRELINKUP_REGIONLibreLinkUp region of the account

Tools this server provides (4)

Taken from the project documentation; the running server may differ.

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.
get_glucose_logbook
Logged events from about the last 2 weeks.

What it does

Current glucose
Latest reading with a trend arrow and its age in minutes.
12-hour graph
Recent readings, oldest first.
Two-week logbook
Logged events from about the last two weeks.
Multiple followed people
Choose a patient by name or ID.
High and low flags
Each reading is flagged when out of range.
Region selection
Twelve LibreLinkUp regions supported.
Optional tracing
Langfuse traces with data capture off by default.

Good for

  • Ask for the latest glucose reading of someone you follow
  • Review the last twelve hours of glucose levels
  • Summarise logged events over two weeks
  • Check a child's readings from an assistant

Pricing

Open source

Open source (MIT) package

Prices change. Check freestyle-libre-mcp.readthedocs.io before you buy.

FreeStyle Libre (LibreLinkUp) FAQ

Can it change any data?

No. Access is read-only.

What account do I need?

A LibreLinkUp follower account, invited from the LibreLink app.

Is the reading always live?

Not necessarily; the current reading shows its age because the last known value is returned when a sensor or phone is out of range.

Is health data sent to tracing?

Only if you set LANGFUSE_CAPTURE_DATA=true; by default traces hold names, timings and error classes.

Is FreeStyle Libre (LibreLinkUp) free?

Yes. FreeStyle Libre (LibreLinkUp) is open source, so you can use and self-host it for free.

How do I add FreeStyle Libre (LibreLinkUp) to Claude Code?

Run this command in your terminal: claude mcp add freestyle-libre-mcp --env LIBRELINKUP_EMAIL='<LIBRELINKUP_EMAIL>' --env LIBRELINKUP_PASSWORD='<LIBRELINKUP_PASSWORD>' -- uvx freestyle-libre-mcp

What are the best alternatives to FreeStyle Libre (LibreLinkUp)?

The closest alternatives to FreeStyle Libre (LibreLinkUp) are Tooluniverse, Oya Browser, Later Stages, MedXpert 标准检索连接器 and MedXpert 全球法规连接器 (reg-connector).

Alternatives to FreeStyle Libre (LibreLinkUp)

  1. Tooluniverse

    MCP server

    MCP server giving AI agents access to thousands of scientific research tools

    Runs locally
    • Open source
    • 1.8K GitHub stars
    • Health and science
  2. Oya Browser

    MCP server

    HIPAA-oriented agentic browser with replayable playbooks, reachable over MCP

    • 32 tools
    • Remote
    • Freemium
    • 349 GitHub stars
    • Browser automation
  3. Later Stages

    MCP server

    California senior living and care provider records from state licensing and Medicare

    • 6 tools
    • Remote
    • Free
    • Health and science
  4. Read-only local index of medical-device standards with official links, no standard text

    Runs locally
    • 4 tools
    • Free
    • Legal and government
  5. Splyt

    MCP server

    Let Claude or ChatGPT read your Splyt workouts, records, plan, habits and sleep

    • Remote
    • Free
    • Health and science