Nutrition & health tracking for Claude Code
curl -fsSL https://loseit.0x17.com/install.sh | sh
Automatically detects your platform and installs to /usr/local/bin
After installation, edit your config and add the MCP server to Claude Code:
vim ~/.loseit-mcp/config
claude mcp add loseit -- loseit-mcp
The install script creates a template config file at ~/.loseit-mcp/config
Export your Apple Health data to enable body composition, vitals, sleep, and activity tracking:
export.zip to your computer and unzip it# In ~/.loseit-mcp/config, uncomment and edit: APPLE_HEALTH_EXPORT_PATH=/path/to/export.xml
Re-export weekly to keep data fresh. Use refresh_apple_health tool after updating.
You can also configure via environment variables in Claude Code:
claude mcp add-json loseit '{
"command": "loseit-mcp",
"env": {
"LOSEIT_USERNAME": "your_email@example.com",
"LOSEIT_PASSWORD": "your_password",
"APPLE_HEALTH_EXPORT_PATH": "/path/to/export.xml"
}
}'
View full documentation for detailed tool reference and configuration options.