Skip to main content

A Model Context Protocol server providing tools to fetch and chart Dexcom CGM data

Project description

Dexcom MCP Server

A Model Context Protocol server that provides tools to fetch and chart Dexcom CGM data.

[!CAUTION] This server can access the Dexcom Share website and may represent a security risk. Exercise caution when using this MCP server to ensure this does not expose any sensitive health data.

Available Tools

  • get_latest_glucose_reading - Fetches the most recent glucose reading from the Dexcom Share website.
  • get_glucose_readings - Fetches prior 24 hours of glucose readings from the Dexcom Share website.

Installation

Using uv (recommended)

When using uv no specific installation is needed. We will use uvx to directly run mcp-server-dexcom.

Using PIP

Alternatively you can install mcp-server-dexcom via pip:

pip install mcp-server-dexcom

After installation, you can run it as a script using:

python -m mcp_server_dexcom

Configuration

Configure for Claude.app

Add to your Claude settings:

Using uvx
{
  "mcpServers": {
    "dexcom": {
      "command": "uvx",
      "args": ["mcp-server-dexcom"],
      "env": {
        "DEXCOM_USERNAME": "your_dexcom_username",
        "DEXCOM_PASSWORD": "your_dexcom_password"
      }
    }
  }
}
Using docker
{
  "mcpServers": {
    "dexcom": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "mcp/dexcom"],
      "env": {
        "DEXCOM_USERNAME": "your_dexcom_username",
        "DEXCOM_PASSWORD": "your_dexcom_password"
      }
    }
  }
}
Using pip installation
{
  "mcpServers": {
    "dexcom": {
      "command": "python",
      "args": ["-m", "mcp_server_dexcom"],
      "env": {
        "DEXCOM_USERNAME": "your_dexcom_username",
        "DEXCOM_PASSWORD": "your_dexcom_password"
      }
    }
  }
}

Debugging

You can use the MCP inspector to debug the server. For uvx installations:

npx @modelcontextprotocol/inspector uvx mcp-server-dexcom

Or if you've installed the package in a specific directory or are developing on it:

cd path/to/servers/src/dexcom
npx @modelcontextprotocol/inspector uv run mcp-server-dexcom

Contributing

We encourage contributions to help expand and improve mcp-server-dexcom. Whether you want to add new tools, enhance existing functionality, or improve documentation, your input is valuable.

Pull requests are welcome! Feel free to contribute new ideas, bug fixes, or enhancements to make mcp-server-dexcom even more powerful and useful.

License

mcp-server-dexcom is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_server_dexcom-0.2.1.tar.gz (65.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_server_dexcom-0.2.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file mcp_server_dexcom-0.2.1.tar.gz.

File metadata

  • Download URL: mcp_server_dexcom-0.2.1.tar.gz
  • Upload date:
  • Size: 65.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for mcp_server_dexcom-0.2.1.tar.gz
Algorithm Hash digest
SHA256 39ed39646849608946fb0c9630cb594e765e7ed80eee69e02db85e5c2dce9cf3
MD5 5f781d62bd03a44ed2121b1b1236df4a
BLAKE2b-256 61d856f1c72fb6d7b396b0d40e9949b3bafaee3ed03644b1652162426cb78f85

See more details on using hashes here.

File details

Details for the file mcp_server_dexcom-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_server_dexcom-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 88577498cf318e3bf53f25484a7d0753f745ef6a6b502e8970ed7603d16b889a
MD5 42a5303c4eb8bf537b16a94bd9193e84
BLAKE2b-256 fc6fe0e04ef71eca1180f10dc559f698ff1f0319e124a5353c16d4ffb6633b9f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page