Imports Dexcom Stelo/Clarity CSV glucose data exports into SQLite and provides query endpoints for retrieving glucose readings, date ranges, and statistics like time-in-range, average glucose, GMI, and coefficient of variation.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Stelo Workaround MCPshow me my glucose stats for the last 14 days"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
stelo-workaround-mcp
FastAPI service to import Dexcom Stelo/Clarity CSV exports into SQLite, with MCP endpoints for Simtheory.ai.
Why?
Dexcom API v3 does not support Stelo device data. This workaround lets you:
Export CSV from Dexcom Clarity
Import into local SQLite database
Query via MCP endpoints
Endpoints
Method | Path | Description |
POST |
| Upload Clarity CSV file |
GET |
| Last N hours of readings |
GET |
| Date range query |
GET |
| TIR, avg, GMI, CV stats |
GET |
| MCP manifest for Simtheory.ai |
GET |
| Health check |
Deployment
Docker (Coolify)
Manual
Usage
Schema Migrations
Auto-migrations run on startup. To add a new migration:
Increment
LATEST_SCHEMA_VERSIONAdd migration function
_apply_migration_vN()Register in
MIGRATIONSdict
License
MIT