# mcp-freestyle [Health: Active]

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

## Description
Read-only FreeStyle glucose sensor access via LibreLinkUp. Not a medical device.

## Tools
Capabilities this server exposes over MCP:

- **get_current_glucose** — The most recent measurement with the instant it was actually taken, plus the account's own target band. Never presented as a live "now" reading.
- **get_glucose_history** — Readings over the last N hours (max 12) with time-in-range. Always states the range it **actually** covered and flags `truncated` when upstream returned less than asked. Collection gaps are listed, never interpolated across.

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "mcp-freestyle": {
    "url": "https://api.libreview.io"
  }
}
```

## Documentation

## What mcp-freestyle does

The mcp-freestyle MCP server retrieves read-only glucose information from Abbott’s cloud through the unofficial LibreLinkUp/LibreView API. It signs in as a LibreLinkUp follower rather than the primary LibreLink account, then makes recent sensor data available to an MCP client.

The server is intended for querying existing data, not controlling a sensor or changing treatment. It does not present an old measurement as a live reading. Every returned measurement includes the instant it was taken, and account-specific target information is included where available.

## How it works

A FreeStyle sensor must be read by the LibreLink phone app, which must already be uploading data. Sharing must then be configured from that LibreLink account to a LibreLinkUp follower account. The mcp-freestyle MCP server authenticates with the follower credentials and reads the shared cloud data.

The current-reading tool returns the newest measurement available, its actual measurement time, and the account’s target band. The history tool accepts a duration up to 12 hours. Results identify the period that was actually retrieved, report when the upstream service returned fewer readings than requested, and list collection gaps instead of filling them with estimated values. Detailed upstream history is limited to roughly 12 hours.

## Setup and configuration

Node.js 20 or newer and a working operating-system keychain are required. Supported keychain environments named by the project are macOS Keychain, Windows Credential Manager, and libsecret on Linux.

Install the package globally with `npm install -g mcp-freestyle`, or build it from a cloned repository with `npm install` followed by `npm run build`. Run the login command once and provide the LibreLinkUp follower email and password. The password is stored in the OS keychain; the issued upstream token is not retained. A password environment variable can override the keychain for CI or one-off use.

The installer can add the server to Claude Desktop, preserving other entries and backing up the existing configuration. For Claude Code, it prints the corresponding `claude mcp add` command. Configuration contains the email identifier but not the password.

Supported configuration variables include `LIBRELINKUP_EMAIL`, `LIBRELINKUP_PASSWORD`, `LIBRELINKUP_VERSION`, `LIBRELINKUP_PRODUCT`, and `LIBRELINKUP_BASE_URL`. The email is required. The version, product, and base URL have defaults; the regional host is discovered during login.

## Tools and capabilities

- `get_current_glucose`: returns the most recent available measurement, its actual timestamp, and the account’s target band.
- `get_glucose_history`: returns readings for a requested period up to 12 hours, along with time-in-range information, the actual covered interval, truncation status, and collection gaps.

## Limitations and notes

The mcp-freestyle MCP server depends on an unofficial LibreLinkUp/LibreView API that is not affiliated with or supported by Abbott. Changes upstream may stop requests from working, and the configured client version may need updating if the service rejects an older value.

A standalone FreeStyle reader is not sufficient because it does not continuously upload the required data. The server cannot provide history beyond what the upstream service retains, currently about 12 hours. Trend-arrow values are passed through as raw data rather than translated because the upstream mapping is undocumented.

This project is not a medical device. Its output is informational and must not be used for dosing, correction, therapy changes, or other treatment decisions. The official reader or app and the user’s care team remain the appropriate sources for medical decisions.

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

