MCPSERV.CLUB
phildougherty

Dexcom G7 MCP Server

MCP Server

Real‑time and historical glucose data via Model Context Protocol

Stale(55)
3stars
0views
Updated Aug 4, 2025

About

Provides AI assistants and MCP clients with current and historical Dexcom G7 glucose readings, supporting mg/dL and mmol/L units over a native HTTP/JSON‑RPC interface.

Capabilities

Resources
Access data sources
Tools
Execute functions
Prompts
Pre-built templates
Sampling
AI model interactions

Dexcom G7 MCP Server – Overview

The Dexcom G7 MCP Server bridges the gap between continuous glucose monitoring (CGM) devices and AI assistants that rely on Model Context Protocol (MCP). By exposing real‑time and historical glucose data through a standard HTTP/JSON‑RPC interface, it enables developers to enrich conversational agents with up‑to‑date health metrics without building custom device integrations from scratch. This is particularly valuable for applications that require contextual awareness of a user’s glycemic status, such as personalized nutrition advice, medication reminders, or predictive health analytics.

At its core, the server authenticates with Dexcom’s cloud API using a user’s account credentials and region setting. Once connected, it offers two primary tools: and . The former returns the latest glucose value, trend direction, and timestamp in both mg/dL and mmol/L units, allowing an AI assistant to describe a patient’s immediate state. The latter fetches a configurable window of past readings (default six hours), providing a concise time series that can be used for trend analysis, alert generation, or training data. The dual‑unit output ensures compatibility with both U.S. and international medical standards.

Developers can integrate the Dexcom server into their AI workflows in several straightforward ways. The MCP‑compatible HTTP endpoint can be added to any tool registry, such as Claude Desktop or OpenWebUI, simply by specifying the server’s address and declaring its “tools” capability. Once registered, an assistant can invoke or as part of its reasoning chain, enabling dynamic responses like “Your blood sugar is currently 120 mg/dL and has been stable for the past ten minutes.” Because the server adheres to MCP’s protocol versioning and capability negotiation, it can coexist with other health‑data providers (e.g., wearable trackers) within a single orchestration framework like mcp-compose.

Unique advantages of this server include its native HTTP transport, which eliminates the need for specialized SDKs, and its full MCP compliance that guarantees seamless interoperability with any compliant client. The ability to fetch both real‑time and historical data in a single call reduces latency, while the inclusion of trend information adds actionable context for AI agents. For developers building health‑tech solutions, this MCP server offers a plug‑and‑play gateway to Dexcom G7 data, accelerating feature delivery and ensuring that AI assistants can provide timely, data‑driven insights to users.