Freestyle Libre MCP Server
Provides tools for accessing Abbott Freestyle Libre continuous glucose monitor data, including current glucose, historical readings, and daily summaries via LibreView, Terra, or Thryve APIs.
Click on "Install 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., "@Freestyle Libre MCP ServerWhat's my current glucose level?"
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.
Freestyle Libre MCP Server
An MCP (Model Context Protocol) server that gives Claude access to Abbott Freestyle Libre CGM (continuous glucose monitor) data.
Supported providers
Provider | Auth | Cost | Notes |
libreview (default) | Email + password | Free | Unofficial LibreView/LibreLinkUp API |
terra | API key | Paid | Terra API (tryterra.co) |
thryve | API key + OAuth token | Paid | Thryve health platform |
Related MCP server: LibreLink MCP Server
Quick start (LibreView — recommended)
The LibreLinkUp API is designed for follower/carer accounts — accounts that have been invited to view a patient's glucose data. You'll need two LibreView accounts:
Your patient account (the one linked to your sensor)
A follower account (a second account you invite via the LibreLinkUp app)
Use the follower account's credentials in the MCP config.
1. Install
npm install
npm run build2. Configure Claude Desktop
Edit your Claude Desktop config file, using the full path to your Node.js binary (Node 18+ required). The config location depends on your OS:
OS | Path |
macOS |
|
Windows |
|
Linux |
|
{
"mcpServers": {
"freestyle-libre": {
"command": "/path/to/node",
"args": ["/absolute/path/to/freestyle-libre/dist/index.js"],
"env": {
"LIBRE_PROVIDER": "libreview",
"LIBRE_REGION": "EU",
"LIBRE_EMAIL": "your-follower@email.com",
"LIBRE_PASSWORD": "yourpassword"
}
}
}
}Replace the paths and credentials accordingly. The server auto-detects regional API endpoints (e.g. eu2) at login, so LIBRE_REGION just needs to be the base region for your account:
Region | Value |
Europe |
|
United States |
|
Australia |
|
Asia-Pacific |
|
Japan |
|
Germany |
|
Global |
|
3. Restart Claude Desktop
The server authenticates automatically on startup — no login step needed in the chat.
Available tools
Tool | Description |
| List patient connections on the account |
| Fetch the latest glucose reading |
| Fetch historical readings (1–24 hours) |
| 24-hour summary: TIR, avg, min/max, std dev |
Example prompts
"What's my current glucose level?"
"Show me my glucose history for the past 6 hours"
"Give me a summary of my glucose control today"
"Was I in range more than 70% of the time yesterday?"
Terra API setup
Sign up at tryterra.co and create an application
Connect a LibreView account via the Terra Connect widget to get a
user_idConfigure Claude Desktop:
{
"mcpServers": {
"freestyle-libre": {
"command": "/path/to/node",
"args": ["/absolute/path/to/freestyle-libre/dist/index.js"],
"env": {
"LIBRE_PROVIDER": "terra",
"TERRA_API_KEY": "your-api-key",
"TERRA_DEV_ID": "your-dev-id"
}
}
}
}Thryve API setup
Contact thryve.health for API access
Direct users through Thryve's OAuth flow to connect their LibreView account
Configure Claude Desktop:
{
"mcpServers": {
"freestyle-libre": {
"command": "/path/to/node",
"args": ["/absolute/path/to/freestyle-libre/dist/index.js"],
"env": {
"LIBRE_PROVIDER": "thryve",
"THRYVE_API_KEY": "your-api-key",
"THRYVE_API_SECRET": "your-api-secret",
"THRYVE_ACCESS_TOKEN": "user-oauth-access-token"
}
}
}
}Development
npm run dev # watch mode — recompiles on save
npm run build # one-off compile
npm start # run the compiled serverThe server communicates over stdio, which is the standard transport for local MCP servers used by Claude Desktop.
Disclaimer
The libreview provider uses a community-documented, reverse-engineered API that powers Abbott's LibreLinkUp app. It is not an official Abbott API and may change without notice. Use it responsibly and in accordance with Abbott's terms of service.
Available Tools
4 toolsget_connectionsList Patient ConnectionsA
List all patient connections associated with the logged-in account. Returns patient IDs needed for glucose reading tools.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the behavioral disclosure burden. It reveals the scope ('associated with the logged-in account') and that the return value contains patient IDs, which implies a read-only list operation. However, it does not explicitly state read-only behavior, error cases, or pagination, leaving some gaps for an agent.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two concise sentences, with the main purpose stated first and the return value second. No filler or redundant information is present.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a zero-parameter list tool with no output schema, the description provides the essential workflow context (returns patient IDs for glucose tools) and scope. It could add more detail about the exact response structure, but the description is largely complete for its simplicity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
There are no parameters to document; the schema is empty with 100% coverage. Per the rubric, the baseline for zero-parameter tools is 4, and the description sensibly adds context about the logged-in account rather than parameter details.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb 'List' with a clear resource 'patient connections' and scopes it to 'the logged-in account'. It additionally distinguishes from the sibling glucose reading tools by explaining it returns patient IDs needed for those tools.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description states the output is 'patient IDs needed for glucose reading tools', which positions this as a prerequisite step before using get_current_glucose, get_glucose_history, or get_glucose_summary. It does not explicitly name alternatives or exclusions, but the workflow context is clear.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_current_glucoseGet Current Glucose ReadingA
Fetch the latest blood glucose reading for a patient. Returns the glucose value in both mg/dL and mmol/L, plus trend direction.
| Name | Required | Description | Default |
|---|---|---|---|
| patient_id | Yes | Patient ID from get_connections (or leave blank to auto-select first connection) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
There are no annotations provided, so the description carries the burden. It discloses what is returned (mg/dL, mmol/L, trend direction), which is useful, but does not mention whether the operation is read-only, data freshness, authentication requirements, or potential errors. For a simple fetch this is acceptable, but it could be richer.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two concise sentences, front-loaded with the core purpose and key return details, with no wasted words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (one parameter, no output schema), the description adequately covers what it does and what it returns. It is slightly limited by not mentioning data freshness or edge cases, but overall it is complete enough for selecting and invoking the tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema already provides complete documentation for the single parameter (patient_id from get_connections or leave blank). The description adds no additional meaning about parameters, so it meets the baseline without exceeding it.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Fetch') and the resource ('latest blood glucose reading'), and distinguishes it from sibling tools like glucose history and summary by specifying it returns the current reading with value and trend direction.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The context is clear: use this tool to get the most recent glucose reading. However, it does not explicitly compare with alternatives like get_glucose_history or get_glucose_summary, so it lacks explicit when-to-use vs. when-not-to-use guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_glucose_historyGet Glucose HistoryA
Fetch historical blood glucose readings for a patient. Returns a time-series of readings ordered oldest-first.
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | How many hours of history to retrieve (1–24, default: 12) | |
| patient_id | No | Patient ID from get_connections (auto-selects first if omitted) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are present, so the description carries the full burden. It reveals one behavioral trait—'ordered oldest-first'—which is useful, but it does not explicitly state that the operation is read-only, mention data units, timezone handling, or error conditions. It is adequate but not rich.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is exactly two sentences with no wasted words. The primary action and a key return characteristic are front-loaded, making it easy to scan.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple read tool with two fully documented parameters and no output schema, the description adequately covers the purpose and return ordering. The absence of explicit units or timezone is a minor gap, but the tool is still usable for basic historical fetch scenarios.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema provides complete descriptions for both parameters (hours range/default and patient_id source), so the schema does the heavy lifting. The tool description adds no parameter-specific information, which matches the baseline score of 3 for high schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states 'Fetch historical blood glucose readings for a patient,' which specifies the verb (fetch), resource (blood glucose readings), and scope (historical, for a patient). It also adds a distinctive detail about the return format ('time-series... oldest-first') that differentiates it from siblings like get_current_glucose and get_glucose_summary.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies it is for retrieving past glucose data, but it does not explicitly mention when to use it versus alternatives such as get_current_glucose or get_glucose_summary. No exclusions or prerequisites are stated, so the guidance is implicit rather than directive.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_glucose_summaryGet Glucose SummaryA
Summarise glucose trends over the past 24 hours: time-in-range, average, highs, lows, and standard deviation.
| Name | Required | Description | Default |
|---|---|---|---|
| patient_id | No | Patient ID (auto-selects first connection if omitted) | |
| low_threshold | No | Low glucose threshold in mg/dL (default: 70) | |
| high_threshold | No | High glucose threshold in mg/dL (default: 180) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the burden of behavioral disclosure. It communicates the 24-hour window and the output metrics, which are useful, but it does not explicitly state that it is read-only or mention any permissions or side effect expectations. Non-destructive nature is implied but not stated.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence that efficiently lists the key output metrics and the time span. Every word contributes, with no filler or repetition.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool is simple (3 optional parameters, no output schema), and the description fully explains the purpose, time window, and the expected return values (the listed metrics). This is sufficient for an agent to invoke the tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema covers all parameters with high detail (patient_id, low_threshold, high_threshold, including defaults). The description adds no parameter-specific context beyond what the schema already provides, so the baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description explicitly states the tool summarizes glucose trends over the past 24 hours, listing specific metrics (time-in-range, average, highs, lows, standard deviation). This clearly distinguishes it from siblings like get_current_glucose (single reading) and get_glucose_history (raw data).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies the tool is for obtaining an aggregate summary rather than raw data, but it does not explicitly mention when to use it vs alternatives. No direct exclusions or alternative tool references are given, so it relies on implicit inference.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
4 tool updates
v1.0.0- First observed
get_connections - First observed
get_current_glucose - First observed
get_glucose_history - First observed
get_glucose_summary
TDQS
Each tool has a clearly distinct purpose: get_connections lists patient IDs, get_current_glucose returns a single latest reading, get_glucose_history returns a time-series, and get_glucose_summary provides aggregate stats. There is no overlap between these tools, and their descriptions make the boundaries explicit.
All tool names follow a consistent get_<resource> pattern: get_connections, get_current_glucose, get_glucose_history, get_glucose_summary. The verbs are uniform and the nouns are descriptive, making the naming predictable and easy to navigate.
Four tools is well-scoped for a focused glucose monitoring server, covering the essential read operations without unnecessary bloat. Each tool earns its place, and the count is far below the threshold where confusion would arise.
The tool surface covers the core glucose data retrieval operations (list patients, current, history, summary) and meets the apparent purpose. A minor gap is the lack of patient metadata beyond IDs, which would require an additional tool to fully contextualize the data, but this does not severely hinder the primary workflow.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Garmin data in Claude & ChatGPT via the Garmin Health API. OAuth sign-in, no password sharing.
Glucose readings from your LibreLink Up sensor: graph, logbook, stats and summaries (read-only). Sec
WHOOP recovery, strain, sleep and workouts in Claude via official WHOOP OAuth. Free, open source.
- NightscoutOAuthai.b77
Your Nightscout glucose data, conversational.
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables AI assistants to query glucose data from health storage APIs, providing natural language access to glucose readings, trends, and statistics for diabetes management and health monitoring.3-
- 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
- FlicenseNot gradedqualityDmaintenanceProvides access to Dexcom G7 continuous glucose monitor data, enabling AI assistants to retrieve current glucose readings and historical data.12-
- FlicenseNot gradedqualityDmaintenanceEnables reading real-time continuous glucose monitor data from Dexcom sensors via the Share API, allowing Claude to access glucose levels, trends, and statistics.-
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jonnyhaynes/freestyle-libre-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server