Pixel
БесплатноНе проверенMCP server for Pixel Watch / Google Health API v4: 49 tools covering activity, heart, HRV, sleep, SpO2, body, nutrition, ECG.
Описание
MCP server for Pixel Watch / Google Health API v4: 49 tools covering activity, heart, HRV, sleep, SpO2, body, nutrition, ECG.
README
MCP server for the Google Health API (v4) — access Pixel Watch, Fitbit, and Google Health data from Claude or any MCP client.
Built with Python + FastMCP. Replaces the deprecated Fitbit Web API.
Features
Health data (31 convenience tools)
- Activity — steps, distance, active energy burned, active zone minutes, activity level, sedentary periods, floors
- Heart — heart rate, resting heart rate, heart rate zones, HRV, HRV intraday
- Sleep — sleep sessions, sleep temperature
- Body — weight, body fat, height, core body temperature
- Breathing — respiratory rate, daily respiratory rate, SpO2, daily SpO2
- Exercise — exercise sessions with export to TCX
- Nutrition — nutrition log, hydration log
- Medical — ECG, IRN alerts, IRN profile
- Other — VO2 max, run VO2 max
Write tools
- Log weight — record a weigh-in (kg)
- Log body fat — record body fat percentage
- Log height — record height (cm)
- Log hydration — record water intake (ml)
- Delete data point — remove any data point by ID
Generic CRUD
- List, get, create, patch, delete any data point
- Rollup and daily rollup aggregations
- Reconcile data points
- List all supported data types
Profile & devices
- User identity, profile, settings
- List paired devices, device details
50+ tools total
Setup
1. Create a Google Cloud project
- Go to https://console.cloud.google.com
- Create a new project
- Enable the Google Health API
- Go to OAuth consent screen > add all
googlehealth.*scopes (15 scopes) - Create an OAuth 2.0 Client ID (Web application) with redirect URI:
http://127.0.0.1:8733/callback
Tip: Publish your app (OAuth consent screen > Audience > Publish) to avoid refresh token expiry every 7 days in "Testing" mode.
2. Configure credentials
cd pixel-mcp
cp .env.example .env
# Edit .env with your GOOGLE_HEALTH_CLIENT_ID and GOOGLE_HEALTH_CLIENT_SECRET
3. Install and run
uv sync
uv run python -m pixel_mcp.server
# First run opens your browser for Google OAuth authorization
4. Add to Claude Desktop
{
"mcpServers": {
"pixel": {
"command": "uv",
"args": ["--directory", "/path/to/pixel-mcp", "run", "python", "-m", "pixel_mcp.server"]
}
}
}
Authentication
OAuth 2.0 with loopback redirect on http://127.0.0.1:8733/callback. Tokens persisted in ~/.config/pixel-mcp/tokens.json. Auto-refresh with automatic re-auth on invalid_grant.
Google Health API filter quirks
This server handles several undocumented filter syntax quirks:
- Exercise and nutrition use
civil_start_time(notstart_time) - Sleep is indexed by
end_time(wake-up time) - ECG only supports single
>=bound (no upper bound) - Floors require
dailyRollUp(list not supported) - respiratory-rate-sleep-summary is a sample type, not interval
Logging
JSON-lines logs in ~/.config/pixel-mcp/logs/pixel-mcp.log. Set PIXEL_MCP_LOG_LEVEL=DEBUG in .env.
License
MIT
Установка Pixel
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/Belenos-Toutatis/pixel-mcpFAQ
Pixel MCP бесплатный?
Да, Pixel MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Pixel?
Нет, Pixel работает без API-ключей и переменных окружения.
Pixel — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Pixel в Claude Desktop, Claude Code или Cursor?
Открой Pixel на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Pixel with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
