Dexcom + Carb Search
Enables diabetes management by retrieving real-time glucose readings from Dexcom continuous glucose monitors and searching for carbohydrate content of foods to help make informed dietary decisions.
README
Dexcom + Carb Search
A tool that helps people with diabetes make informed decisions by bringing together real-time glucose data and nutritional information.
What This Does
This service connects to two essential data sources:
- Your Dexcom glucose monitor - Retrieves your current blood glucose reading and trend information
- Nutritional search - Finds carbohydrate content for foods you're considering eating
By combining these capabilities, it provides a clearer picture for managing blood sugar levels throughout the day.
Who This Is For
This tool is designed for individuals managing diabetes who:
- Use Dexcom continuous glucose monitoring systems
- Want quick access to their glucose data alongside nutritional information
- Prefer having relevant health data available in one place
How It Works
The service integrates with the Dexcom Share platform to access your glucose readings and uses web search to find carbohydrate information for specific foods. All data is retrieved on-demand when requested.
Privacy Note: Your Dexcom credentials are stored securely in your session configuration and are only used to authenticate with Dexcom's official servers.
Setup Requirements
You'll need:
- An active Dexcom account with Share enabled
- A Bright Data API key for nutritional search functionality
- A Smithery account for deployment
Getting Started
Local Development
-
Start the development server:
uv run dev -
Test the tools interactively:
uv run playground
Configuration
The service requires four credentials:
- Dexcom username - Your Dexcom account email
- Dexcom password - Your Dexcom account password
- Dexcom region - Either "us" (United States) or "ous" (Outside US)
- Bright Data API key - For web search functionality
These can be configured either:
- Through Smithery session settings (recommended for deployment)
- As environment variables for local testing
- As parameters when calling the tools directly
Available Capabilities
Read Blood Glucose
Retrieves your most recent glucose reading from Dexcom, including:
- Current blood glucose level (mg/dL)
- Trend direction (rising, falling, steady)
- Timestamp of the reading
Search Carbs
Finds carbohydrate information for specific foods by searching Google. Simply provide the food name, and the tool returns relevant nutritional data from multiple sources.
Deployment
To make this service available through Smithery:
-
Create a GitHub repository:
git init git add . git commit -m "Initial commit" git remote add origin https://github.com/YOUR_USERNAME/YOUR_REPO.git git push -u origin main -
Deploy to Smithery at smithery.ai/new
-
Configure your Dexcom credentials and Bright Data API key in the Smithery session settings
Technical Details
Built using:
- Smithery CLI for MCP server deployment
- Dexcom's official Python SDK (pydexcom)
- Bright Data API for web search
- FastMCP framework for tool definitions
Server implementation: bg_server.py
Support
For issues or questions about this implementation, please file an issue in this repository.
For Dexcom-related questions, consult Dexcom Support.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Neon Database
MCP server for interacting with Neon Management API and databases