Skip to main content
ClaudeWave
osjayaprakash avatar
osjayaprakash

freestyle-libre-mcp

View on GitHub

MCP server exposing FreeStyle Libre glucose readings from LibreLinkUp

MCP ServersOfficial Registry0 stars0 forks● PythonMITUpdated today
ClaudeWave Trust Score
87/100
✓ Trusted
Passed
  • ✓Open-source license (MIT)
  • ✓Actively maintained (<30d)
  • ✓Clear description
  • ✓Documented (README)
Last scanned: 9/27/2026
Install in Claude Code / Claude Desktop
Method: UVX (Python) · freestyle-libre-mcp
Claude Code CLI
claude mcp add freestyle-libre-mcp -- uvx freestyle-libre-mcp
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "freestyle-libre-mcp": {
      "command": "uvx",
      "args": ["freestyle-libre-mcp"],
      "env": {
        "LIBRELINKUP_PASSWORD": "<librelinkup_password>"
      }
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
Detected environment variables
LIBRELINKUP_PASSWORD
Use cases

MCP Servers overview

# freestyle-libre-mcp

<!-- mcp-name: io.github.osjayaprakash/freestyle-libre-mcp -->

[![CI](https://github.com/osjayaprakash/freestyle-libre-mcp/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/osjayaprakash/freestyle-libre-mcp/actions/workflows/ci.yml)
[![PyPI](https://img.shields.io/pypi/v/freestyle-libre-mcp)](https://pypi.org/project/freestyle-libre-mcp/)
[![Python](https://img.shields.io/pypi/pyversions/freestyle-libre-mcp)](https://pypi.org/project/freestyle-libre-mcp/)
[![Docker](https://img.shields.io/badge/docker-ghcr.io-2496ED?logo=docker&logoColor=white)](https://github.com/osjayaprakash/freestyle-libre-mcp/pkgs/container/freestyle-libre-mcp)
[![License: MIT](https://img.shields.io/badge/license-MIT-green)](https://github.com/osjayaprakash/freestyle-libre-mcp/blob/master/LICENSE)

An MCP server that gives Claude (or any MCP client) read-only access to FreeStyle Libre
CGM glucose readings shared through LibreLinkUp. It talks to the LibreLinkUp API with its
own small async client (`librelinkup_mcp.core`); the API behaviour it relies on follows
[pylibrelinkup](https://github.com/robberwick/pylibrelinkup).

## Tools

| Tool | Returns |
|---|---|
| `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 |

Every reading tool takes an optional `patient`: a name (`"Ann Lee"`, `"ann"`) or a
`patient_id` from `list_patients`. It can be omitted when the account follows one person.

Readings include `value` in the account's unit, `value_mg_dl`, `unit`, `timestamp` (the
sensor's local time), `timestamp_utc`, and `is_high`/`is_low` flags. The current reading
also has `age_minutes`, since LibreLinkUp returns the last known value when the sensor or
phone is out of range.

## Setup

For a step-by-step guide, including account setup and troubleshooting, see the
[installation guide](https://freestyle-libre-mcp.readthedocs.io/en/latest/install/).
Full documentation is at <https://freestyle-libre-mcp.readthedocs.io>.

You need a LibreLinkUp **follower** account: invite it from the LibreLink app, accept the
invite in the LibreLinkUp app, and accept any terms there before using this server.

```bash
git clone https://github.com/osjayaprakash/freestyle-libre-mcp.git && cd freestyle-libre-mcp
uv sync
```

| Variable | Required | Default | Meaning |
|---|---|---|---|
| `LIBRELINKUP_EMAIL` | yes | | Follower account email |
| `LIBRELINKUP_PASSWORD` | yes | | Follower account password |
| `LIBRELINKUP_REGION` | no | `US` | One of `US`, `EU`, `EU2`, `AE`, `AP`, `AU`, `CA`, `DE`, `FR`, `JP`, `LA`, `RU` |

If the region is wrong, the first tool call tells you which one to set.

### Run from PyPI

No clone needed; [uv](https://docs.astral.sh/uv/) fetches and runs the published package:

```bash
uvx freestyle-libre-mcp
```

In a client config, use `"command": "uvx", "args": ["freestyle-libre-mcp"]`.

### Run with Docker

The server speaks MCP over stdio, so keep `-i`:

```bash
docker run -i --rm \
  -e LIBRELINKUP_EMAIL -e LIBRELINKUP_PASSWORD -e LIBRELINKUP_REGION \
  ghcr.io/osjayaprakash/freestyle-libre-mcp:latest
```

In a client config, use `"command": "docker"` with those arguments, and pass the
variables through the client's `env` block.

### Claude Desktop

Add to `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "librelinkup": {
      "command": "uv",
      "args": ["--directory", "/absolute/path/to/freestyle-libre-mcp", "run", "freestyle-libre-mcp"],
      "env": {
        "LIBRELINKUP_EMAIL": "you@example.com",
        "LIBRELINKUP_PASSWORD": "your-password",
        "LIBRELINKUP_REGION": "US"
      }
    }
  }
}
```

### Claude Code

```bash
claude mcp add librelinkup \
  -e LIBRELINKUP_EMAIL=you@example.com \
  -e LIBRELINKUP_PASSWORD=your-password \
  -e LIBRELINKUP_REGION=US \
  -- uv --directory /absolute/path/to/freestyle-libre-mcp run freestyle-libre-mcp
```

## Langfuse tracing (optional)

Each tool call becomes a Langfuse trace, with a child span for the LibreLinkUp API call.
Install the extra and set the keys:

```bash
uv sync --extra langfuse
```

In the server command, use `run --extra langfuse freestyle-libre-mcp` instead of
`run freestyle-libre-mcp`.

| Variable | Meaning |
|---|---|
| `LANGFUSE_PUBLIC_KEY`, `LANGFUSE_SECRET_KEY` | Tracing is on only when both are set |
| `LANGFUSE_BASE_URL` | Langfuse URL for self-hosted or regional instances (default: Langfuse Cloud) |
| `LANGFUSE_CAPTURE_DATA` | `true` to include tool inputs, outputs and error messages. Default `false` |

**Privacy:** glucose readings and patient names are health data. By default, traces hold
only tool names, timings, patient UUIDs, and error class names. Setting
`LANGFUSE_CAPTURE_DATA=true` sends readings and names to your Langfuse instance; only do
that with an instance you trust, such as a self-hosted one.

## Development

```bash
uv sync
uv run pytest            # offline suite
uv run pytest -m live    # hits the real API; needs LIBRELINKUP_EMAIL/PASSWORD
uv run ruff check src tests && uv run ruff format --check src tests
```

## License

[MIT](https://github.com/osjayaprakash/freestyle-libre-mcp/blob/master/LICENSE)

What people ask about freestyle-libre-mcp

What is osjayaprakash/freestyle-libre-mcp?

+

osjayaprakash/freestyle-libre-mcp is mcp servers for the Claude AI ecosystem. MCP server exposing FreeStyle Libre glucose readings from LibreLinkUp It has 0 GitHub stars and its last recorded update is dated 2026-09-27.

How do I install freestyle-libre-mcp?

+

You can install freestyle-libre-mcp by cloning the repository (https://github.com/osjayaprakash/freestyle-libre-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is osjayaprakash/freestyle-libre-mcp safe to use?

+

Our security agent has analyzed osjayaprakash/freestyle-libre-mcp and assigned a Trust Score of 87/100 (tier: Trusted). See the full breakdown of passed checks and flags on this page.

Who maintains osjayaprakash/freestyle-libre-mcp?

+

osjayaprakash/freestyle-libre-mcp is maintained by osjayaprakash. The last recorded GitHub activity is dated 2026-09-27, with 0 open issues.

Are there alternatives to freestyle-libre-mcp?

+

Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.

Deploy freestyle-libre-mcp to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: osjayaprakash/freestyle-libre-mcp
[![Featured on ClaudeWave](https://claudewave.com/api/badge/osjayaprakash-freestyle-libre-mcp)](https://claudewave.com/repo/osjayaprakash-freestyle-libre-mcp)
<a href="https://claudewave.com/repo/osjayaprakash-freestyle-libre-mcp"><img src="https://claudewave.com/api/badge/osjayaprakash-freestyle-libre-mcp" alt="Featured on ClaudeWave: osjayaprakash/freestyle-libre-mcp" width="320" height="64" /></a>

More MCP Servers

freestyle-libre-mcp alternatives