Dexcom G7
MCP server for getting your blood glucose readings and history using dexcom share
What is Dexcom G7?
Dexcom G7 is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server for getting your blood glucose readings and history using dexcom share
MCP server for getting your blood glucose readings and history using dexcom share
This server falls under the Analytics category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- MCP server for getting your blood glucose readings and histo
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx dexcom-g7-mcp-serverConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Dexcom G7
Dexcom G7 MCP Server connects AI assistants to your continuous glucose monitoring data via the Dexcom Share API. It provides real-time blood glucose readings and historical trend data, enabling Claude and other MCP clients to help you understand your glucose patterns, spot trends, and answer health questions grounded in your actual CGM readings.
Prerequisites
- A Dexcom account with Share enabled in the Dexcom G7 mobile app
- Docker installed (recommended deployment method)
- Your Dexcom username and password
- An MCP-compatible client that supports HTTP/SSE transport (Claude Desktop, etc.)
Enable Dexcom Share in the mobile app
Open the Dexcom G7 app on your phone, navigate to Settings → Share, and enable sharing. This activates the Share API that the server uses to fetch your readings.
Build the Docker image
Clone the repository and build the Docker image locally.
git clone https://github.com/phildougherty/dexcom_g7_mcp_server.git
cd dexcom_g7_mcp_server
docker build -t dexcom-mcp .Run the server with your credentials
Start the container, passing your Dexcom credentials as environment variables. Use 'ous' for DEXCOM_REGION if you are outside the United States.
docker run -p 8007:8007 \
-e DEXCOM_USERNAME="your-dexcom-username" \
-e DEXCOM_PASSWORD="your-dexcom-password" \
-e DEXCOM_REGION="us" \
dexcom-mcpConfigure your MCP client
Point your MCP client at the running HTTP server. The server listens on port 8007 by default.
{
"mcpServers": {
"dexcom": {
"url": "http://localhost:8007",
"capabilities": ["tools"]
}
}
}Verify by fetching current glucose
Test the connection by calling the get_current_glucose tool directly or via an AI prompt.
curl -X POST http://localhost:8007/ \
-H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "get_current_glucose", "arguments": {}}}'Dexcom G7 Examples
Client configuration
Claude Desktop configuration using the HTTP endpoint for the Dexcom MCP Server running on localhost.
{
"mcpServers": {
"dexcom": {
"url": "http://localhost:8007",
"capabilities": ["tools"],
"description": "Dexcom G7 continuous glucose monitor"
}
}
}Prompts to try
Example prompts to use once the Dexcom MCP Server is connected.
- "What is my current blood glucose reading and what is the trend direction?"
- "Show me my glucose readings for the last 6 hours and identify any highs or lows."
- "Get my glucose history for the past 24 hours and tell me my average and standard deviation."
- "Is my glucose currently in range, and how long has it been since my last high alert?"Troubleshooting Dexcom G7
Authentication error: invalid username or password
Verify your credentials by logging into the Dexcom Share app manually. Ensure you are using your Dexcom account credentials (not your Google/Apple SSO), and set DEXCOM_REGION to 'ous' if you are outside the US.
get_current_glucose returns no data or stale readings
The Dexcom Share API only returns data when your G7 sensor is active and your phone has recently synced readings. Ensure Bluetooth is active between your G7 sensor and phone, and that the Dexcom app is running in the foreground or background.
Docker container exits immediately on startup
Check container logs with 'docker logs <container-id>'. The most common cause is missing required environment variables. Both DEXCOM_USERNAME and DEXCOM_PASSWORD must be provided.
Frequently Asked Questions about Dexcom G7
What is Dexcom G7?
Dexcom G7 is a Model Context Protocol (MCP) server that mcp server for getting your blood glucose readings and history using dexcom share It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Dexcom G7?
Follow the installation instructions on the Dexcom G7 GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Dexcom G7?
Dexcom G7 works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Dexcom G7 free to use?
Yes, Dexcom G7 is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
Dexcom G7 Alternatives — Similar Analytics Servers
Looking for alternatives to Dexcom G7? Here are other popular analytics servers you can use with Claude, Cursor, and VS Code.
OpenMetadata
★ 14.0kOpenMetadata is a unified metadata platform for data discovery, data observability, and data governance powered by a central metadata repository, in-depth column level lineage, and seamless team collaboration.
Superset
★ 10.9kAn MCP server that provides AI assistants with full access to Apache Superset instances, enabling interaction with dashboards, charts, datasets, databases, and SQL execution capabilities.
Horizon
★ 4.4k📡 Your own AI-powered news radar. Generates daily briefings in English & Chinese. | 用 AI 构建你专属的新闻雷达
MCP Server Chart
★ 4.1kEnables generation of 25+ types of charts and data visualizations using AntV, including bar charts, line charts, maps, mind maps, and specialized diagrams like fishbone and sankey charts. Supports both statistical charts and geographic visualizations
Muapi CLI
★ 997Official CLI for muapi.ai — generate images, videos & audio from the terminal. MCP server, 14 AI models, npm + pip installable.
Weather MCP Server
★ 907Weather Data Fetcher MCP server built with Node.js, MCP SDK, and Zod. Provides weather details like temperature and forecast for cities such as Noida and Delhi via a registered tool. Simplifies API integration, enabling structured responses for clien
Browse More Analytics MCP Servers
Explore all analytics servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Dexcom G7 in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Dexcom G7?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.