Wellness Cgm MCP
Local-first CGM MCP for AI agents: Dexcom Developer API + FreeStyle Libre via LibreLink Up.
Connector by davidmosiah · GitHub account verified by the MCP Registry
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/davidmosiah-wellness-cgm-mcp
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list, install config and code. Checked Oct 26, 2026.
- Tools
- 16 read · 2 write · 0 delete · 1 not yet classified
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Tools by what they do 19
Read from the source code; the running server may list different tools.
Read 16 · Look things up without changing anything.
cgm_agent_manifestcgm_authorize_urlcgm_capabilitiescgm_connection_statuscgm_daily_summarycgm_data_inventorycgm_democgm_glucose_nowcgm_glucose_windowcgm_libre_statuscgm_meal_responsecgm_onboarding
Show 4 more tools
cgm_privacy_auditcgm_profile_getcgm_quickstartcgm_time_in_range
Write 2 · Create, change, send or run things.
cgm_libre_logincgm_profile_update
Not yet classified 1 · We could not tell from the name and description.
cgm_hypo_events
Network hosts it talks to 7
api.dexcom.com· found in codeapi.libreview.io· found in codedeveloper.dexcom.com· found in codegithub.com· found in codeglama.ai· found in codesandbox-api.dexcom.com· found in codewellness.delx.ai· found in code
Files it touches
- Your home directory (~)
Tools (19)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
cgm_agent_manifestCGM agent manifestReturns the wellness-cgm-mcp agent manifest: tool list, supported clients, env vars, recommended first calls, capabilities, privacy posture, and community links.
cgm_authorize_urlCGM authorize URLread-onlyRead-only OAuth URL generation; does not exchange tokens. Not a state mutation of glucose data. Gated by: user must open URL themselves (explicit user action). Builds the Dexcom OAuth authorize URL. The user opens it, grants access, and Dexcom redirects to your registered DEXCOM_REDIRECT_URI with an auth code. If credentials are missing, returns a hint with the exact env vars needed.
cgm_capabilitiesCGM capabilitiesLists supported providers, configured providers (via env vars), available metrics, and privacy modes.
cgm_connection_statusCGM connection statusReports the active CGM provider (dexcom | libre), why it was selected, whether credentials are present, and whether the connector will return mock vs live data. For Dexcom it includes the env (sandbox/production); for FreeStyle Libre it includes the LibreLink Up region.
cgm_daily_summaryCGM daily summaryReturns daily glucose stats: mean, median, min/max, stdev, GMI (estimated A1C), CV, time-in-range (diabetic 70-180 + metabolic-health 70-140). `window_hours` is what was REQUESTED; every stat is computed over `hours_covered` / `observed_window`, which can be shorter — FreeStyle Libre (LibreLink Up) caps a live read at ~12h, so a 72h request yields a half-day metric and `notes` flags it. Never report these numbers as covering more than `hours_covered`.
cgm_data_inventoryCGM data inventoryReturns the metric catalog plus thresholds (TIR ranges, GMI formula reference).
cgm_demoCGM demoReturns realistic example payloads of cgm_glucose_now, cgm_daily_summary, and cgm_meal_response. Use this to help users see what the connector will return before configuring Dexcom.
cgm_glucose_nowCGM glucose nowReturns the most recent EGV (estimated glucose value) plus trend arrow if available.
cgm_glucose_windowCGM glucose windowReturns all EGVs over the last N hours (default 24). `hours` is the window REQUESTED; `hours_covered` and `observed_window` state what the provider actually returned. FreeStyle Libre (LibreLink Up) caps a live read at ~12h regardless of the request, so any wider ask comes back short and `notes` says so — read the covered window, not the requested one.
cgm_hypo_eventsCGM hypo eventsv0.3.3 — Detect hypoglycemia events between `from` and `to` ISO dates. Returns an array of contiguous below-threshold runs lasting ≥ `min_duration_minutes`, each with `started_at`, `ended_at`, `duration_minutes`, `min_glucose_mg_dl`, `mean_glucose_mg_dl`, `severity` (level_1 = <70 ADA Level 1, level_2 = <54 ADA Level 2), and `recovery_time_minutes` (time to first reading ≥ threshold+10). Also returns `total_events`, `total_minutes_below`, `mean_min_glucose`, `events_per_day`, a `summary` string, and `recommendations` grounded in what was actually observed. `window` is the span REQUESTED; `hour…
cgm_libre_loginCGM Libre loginAuthenticate against LibreLink Up using LIBRELINKUP_EMAIL / LIBRELINKUP_PASSWORD and list the sensors (connections) this account follows. Confirms the FreeStyle Libre path works end-to-end before reading glucose. Never returns the auth token. When credentials are missing it returns mock=true with a synthetic connection so the surface can be demoed without an Abbott account.
cgm_libre_statusCGM Libre statusReports FreeStyle Libre (LibreLink Up) configuration: region, whether LIBRELINKUP_EMAIL/PASSWORD (or a token) are set, whether a patient id is pinned, and whether reads will be live or mock. Use this to confirm the Libre path is wired before calling glucose tools with CGM_PROVIDER=libre.
cgm_meal_responseCGM meal responseCompute glucose response to a meal: baseline → peak → return-to-baseline. Returns peak delta, peak time (min after meal), and a band (excellent/good/moderate/poor).
cgm_onboardingCGM onboardingReturns the 11-question onboarding flow for the shared Delx Wellness profile. Read-only. The agent should ask these questions next so wellness-cgm-mcp (and the rest of the wellness stack) can personalize responses — non-secret data only, stored at ~/.delx-wellness/profile.json.
cgm_privacy_auditCGM privacy auditReturns what wellness-cgm-mcp stores locally, what is sent to Dexcom, what is never logged, and agent rules.
Show 4 more tools
cgm_profile_getCGM profile getReturns the shared Delx Wellness profile (~/.delx-wellness/profile.json). Read-only. Surfaces diabetes status / non-DM context so wellness-cgm-mcp can pick the right time-in-range profile (70-180 ADA vs 70-140 metabolic-health).
cgm_profile_updateCGM profile updatePersist a partial patch to the shared Delx Wellness profile. Requires explicit_user_intent: true. Rejects any field containing oauth/token/secret/password/cookie/refresh/api_key/session — the profile is for non-secret wellness context only.
cgm_quickstartCGM quickstartReturns a personalized 3-step walkthrough for getting wellness-cgm-mcp from mock mode → live mode (Dexcom). Call this first when the user asks 'how do I connect my CGM?'
cgm_time_in_rangeCGM time in range (windowed)Compute Time in Range (TIR), Time Below Range, and Time Above Range over a specific time window with a customizable target range. Use this for mealtime TIR (e.g. 7am-10am breakfast window), overnight TIR (e.g. 23:00-07:00), or specific date-range comparisons. Returns total_readings, readings_in_window, mean_glucose, median_glucose, and GMI (Glucose Management Indicator, estimated A1C per ADA / Bergenstal 2018: GMI% = 3.31 + 0.02392 × mean_mg_dL). Supports a `time_window` preset ("wake" = 06:00-22:00, "sleep" = 22:00-06:00, "all") OR explicit `start_hour` / `end_hour` (0-24, UTC) for recurring …
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit
- Oct 8, 2026 (20 days ago)
- Last release
- Aug 29, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Registry name
io.github.davidmosiah/wellness-cgm-mcp- Version
- 0.4.0
- Auth
- No auth
- Packages
- npm wellness-cgm-mcp
- License
- MIT
- Repository
- github.com/davidmosiah/wellness-cgm-mcp
- First seen
- Oct 24, 2026
- Last checked
- Oct 25, 2026
More from davidmosiah
- 0.598score
Google Health MCP
davidmosiah
Privacy-first unofficial Google Health API v4 MCP server for health, sleep, activity, HR agents
ConnectorAFreshness: ALocal★ 72Claude Code +5 - 0.567score
Samsung Health MCP
davidmosiah
Unofficial local-first MCP server for Samsung Health personal-data CSV/ZIP exports.
ConnectorAFreshness: ALocal★ 16Claude Code +5 - 0.564score
Whoop MCP
davidmosiah
Privacy-first, unofficial WHOOP MCP server for AI health, sleep, recovery, and performance agents.
ConnectorAFreshness: ALocal★ 14Claude Code +5 - 0.563score
Delx Protocol — Agent Recovery & Continuity
davidmosiah
Free agent recovery and continuity.
ConnectorAFreshness: ARemoteClaude Code +3 - 0.563score
Delx Commerce — Pay-per-Result APIs for Agents
davidmosiah
986 pay-per-result MCP/x402 APIs for web, data, Base, reliability and agent delivery.
ConnectorAFreshness: ARemoteClaude Code +3 - 0.562score
Garminmcp
davidmosiah
Privacy-first unofficial Garmin Connect MCP for AI health, sleep, activity & recovery agents.
ConnectorAFreshness: ALocal★ 13Claude Code +5
Cite this page
Wellness Cgm MCP. Agent Mart. https://agentmart.dev/connectors/davidmosiah-wellness-cgm-mcp (last updated 2026-10-25)