All connectors
Wellness CGM

wellness-cgm-mcp

Wellness CGM MCP connector

Pair cgm_meal_response with wellness-nourish meal logs to get 'this meal hit a 72 mg/dL spike at 45min — try protein-first next time'. Levels charges $199/mo for this; here it's an MCP. Sandbox mode lets any agent demo without setup.

GlucoseTIR (70-180)TIR (70-140)GMI (estimated A1C)CVMeal response bandShared profile
Continuous glucose monitor data visualization with meal response coaching
Dexcom OAuth + mock mode

Biohackers, T2D users, athletes optimizing carb timing, anyone who wants their AI agent to see meal→glucose response in real time.

MCP server answers

The Wellness CGM MCP server is the local process provided by wellness-cgm-mcp. Add its MCP configuration to a compatible client and it exposes the provider records listed on this page to that client. It is not an official Wellness CGM product and Delx does not host a copy of the data.

Compare this connector with the other wellness paths
What is the Wellness CGM MCP server?

The Wellness CGM MCP server is the local process provided by wellness-cgm-mcp. Add its MCP configuration to a compatible client and it exposes the provider records listed on this page to that client. It is not an official Wellness CGM product and Delx does not host a copy of the data.

How do I install Wellness CGM MCP?

Run npx -y wellness-cgm-mcp doctor, then npx -y wellness-cgm-mcp doctor. The Quick Start section below contains the client configuration and provider-specific setup.

What can an agent read from Wellness CGM?

The available records start with Live EGV (5-minute glucose), Time-in-range (ADA 70-180), Time-in-range (Levels 70-140), GMI (estimated A1C). Check Data Availability for scope, device and export limitations before using any result.

Quick Start

terminal
npx -y wellness-cgm-mcp doctor
npx -y wellness-cgm-mcp doctor
mcp-client.json
{
  "mcpServers": {
    "wellness-cgm": {
      "command": "npx",
      "args": ["-y", "wellness-cgm-mcp"],
      "env": {
        "DEXCOM_ENV": "sandbox",
        "DEXCOM_CLIENT_ID": "<your_id>",
        "DEXCOM_CLIENT_SECRET": "<your_secret>",
        "DEXCOM_REDIRECT_URI": "http://localhost:3012/callback",
        "DEXCOM_ACCESS_TOKEN": "<set_after_authorize>"
      }
    }
  }
}
  1. 01

    Sign up at https://developer.dexcom.com (sandbox is free).

  2. 02

    Create an app, register a redirect URI, set DEXCOM_CLIENT_ID/SECRET/REDIRECT_URI.

  3. 03

    Run wellness-cgm authorize → open URL → exchange code for access_token → set DEXCOM_ACCESS_TOKEN.

  4. 04

    Until then, mock mode returns synthetic data with mock=true so agents can demo.

Data Availability

Available

Live EGV (5-minute glucose)

Dexcom v3 API; mock fallback otherwise.

Available

Time-in-range (ADA 70-180)

Computed from EGVs.

Available

Time-in-range (Levels 70-140)

Metabolic-health profile for non-DM users.

Available

GMI (estimated A1C)

Bergenstal 2018 formula: 3.31 + 0.02392 × mean(mg/dL).

Available

CV (variability)

stdev / mean × 100.

Available

Meal response (peak + band)

Pair with wellness-nourish meal logs.

Opt-in

Refresh-token rotation

Lands in v0.2.

Not exposed

FreeStyle Libre (LibreLink Up)

Roadmapped for v0.2.

Agent Tools

Profile and onboarding

  • cgm_profile_get
  • cgm_profile_update
  • cgm_onboarding

Start here

  • cgm_quickstart
  • cgm_demo
  • cgm_glucose_now

Diagnostics

  • cgm_connection_status
  • cgm_capabilities
  • cgm_privacy_audit
  • cgm_data_inventory

Reasoning

  • cgm_glucose_window
  • cgm_daily_summary
  • cgm_meal_response
  • cgm_authorize_url

Prompts and Resources

Prompts

    Resources

    • wellness-cgm-mcp://agent-manifest
    • wellness-cgm-mcp://capabilities
    • wellness-cgm-mcp://privacy-audit

    Privacy Model

    OAuth tokens stored in env, never returned in tool output.
    Mock mode clearly tagged mock=true on every payload.
    CGM data is medical-record sensitive — agent rules enforce that.
    Defer insulin/medication decisions to a clinician.
    Profile and goals persist locally to ~/.delx-wellness/profile.json (mode 0600); shared with all 14 Delx Wellness connectors and never uploaded.