Skip to main content

MCP Server for Gevety Health - Claude Desktop integration for blood test tracking

Project description

Gevety MCP Server

MCP (Model Context Protocol) server for Gevety Health, enabling Claude Desktop to access your blood test results, wearable data, and health insights.

Quick Setup (All Platforms)

# One-line setup for Claude Desktop, Claude Code, and Clawdbot
curl -sSL https://raw.githubusercontent.com/gevety/mcp-server/main/scripts/setup-ai-assistant.sh | bash

The script will:

  1. Prompt for your API token (get it at gevety.com/settings)
  2. Detect installed AI platforms
  3. Configure each platform automatically

Features

  • list_available_data - Discover available biomarkers, wearables, and date ranges
  • get_health_summary - Get overall healthspan score and top concerns
  • query_biomarker - Query specific biomarker history and trends
  • get_wearable_stats - Get aggregated wearable metrics (Garmin, Oura, Whoop)

Installation

# Install with pip
pip install gevety-mcp

# Or install from source
git clone https://github.com/gevety/mcp-server
cd mcp-server
pip install -e .

Quick Start

1. Get an API Token

  1. Log in to Gevety
  2. Go to Settings → Developer API
  3. Click Generate Token
  4. Copy the token (starts with gvt_)

2. Configure Claude Desktop

Add to your Claude Desktop config (claude_desktop_config.json):

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "gevety": {
      "command": "gevety-mcp",
      "env": {
        "GEVETY_API_TOKEN": "gvt_your_token_here"
      }
    }
  }
}

3. Restart Claude Desktop

After saving the config, restart Claude Desktop. You should see "gevety" in the MCP servers list.

Usage Examples

Once configured, you can ask Claude about your health data:

"What biomarkers do I have data for?"

"Show me my health summary"

"How is my vitamin D trending?"

"What are my average steps this month?"

"Query my cholesterol history"

Environment Variables

Variable Required Description
GEVETY_API_TOKEN Yes Your Gevety API token (gvt_xxx)
GEVETY_API_URL No API base URL (defaults to production)

Development

# Install dev dependencies
pip install -e ".[dev]"

# Run tests
pytest

# Run server locally
GEVETY_API_TOKEN=gvt_xxx gevety-mcp

API Endpoints

The MCP server calls these Gevety API endpoints:

  • GET /api/v1/mcp/tools/list_available_data
  • GET /api/v1/mcp/tools/get_health_summary
  • GET /api/v1/mcp/tools/query_biomarker?biomarker=xxx&days=365
  • GET /api/v1/mcp/tools/get_wearable_stats?days=30

All endpoints require Bearer token authentication and support caching.

Response Headers

Header Description
X-Gevety-Cache-Hit Whether response was served from cache
X-Gevety-Data-Age Seconds since data was computed
X-RateLimit-Limit Request limit per minute
X-RateLimit-Remaining Remaining requests
X-RateLimit-Reset Unix timestamp when limit resets

Rate Limits

  • 100 requests/minute
  • 1,000 requests/hour
  • 10,000 requests/day

Other AI Platforms

Clawdbot

For Clawdbot users, we provide an AgentSkills-compatible skill instead of MCP:

# Copy the skill to your Clawdbot skills directory
mkdir -p ~/.clawdbot/skills/gevety
cp src/gevety_mcp/skills/clawdbot/SKILL.md ~/.clawdbot/skills/gevety/

Configure in ~/.clawdbot/clawdbot.json:

{
  "skills": {
    "entries": {
      "gevety": {
        "enabled": true,
        "env": {
          "GEVETY_API_TOKEN": "gvt_your_token_here"
        }
      }
    }
  }
}

See src/gevety_mcp/skills/README.md for details.

ChatGPT / Other Platforms

The underlying REST API is platform-agnostic. See API Endpoints above for direct integration.

Privacy

  • All data access is read-only
  • Your data never leaves Gevety's servers
  • API tokens can be revoked anytime from Settings
  • See Privacy Policy

License

MIT License - see LICENSE file.

Support

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

gevety_mcp-0.8.0.tar.gz (28.5 kB view details)

Uploaded Source

Built Distribution

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

gevety_mcp-0.8.0-py3-none-any.whl (30.6 kB view details)

Uploaded Python 3

File details

Details for the file gevety_mcp-0.8.0.tar.gz.

File metadata

  • Download URL: gevety_mcp-0.8.0.tar.gz
  • Upload date:
  • Size: 28.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for gevety_mcp-0.8.0.tar.gz
Algorithm Hash digest
SHA256 877a27362e8e9514a80d8e1aabd376d5182a783f0a99c38ed73402507b2fc87b
MD5 3a074216c1f27cab54f379bc9ea55f85
BLAKE2b-256 5c4d1b9377b69c8a1641a25105d298db6279daba9d80aaaee995648151d1678e

See more details on using hashes here.

File details

Details for the file gevety_mcp-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: gevety_mcp-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 30.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for gevety_mcp-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 05f22b47f5dcc960754f8aae9d600feec8355bb4c8f24e8857e81ed1f069169f
MD5 c1832db92b52c4c56d9e4b8a91074e46
BLAKE2b-256 00c7a02b4cb1ca9b2e6317c9df6b2d76f67d91b2e197965c132e427ef9cc0605

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