Server data from the Official MCP Registry
Read-only FitDays MCP server: 19 tools for weight, body composition, nutrition, water and trends.
About
Read-only FitDays MCP server: 19 tools for weight, body composition, nutrition, water and trends.
Security Report
Valid MCP server (3 strong, 1 medium validity signals). No known CVEs in dependencies. Imported from the Official MCP Registry.
6 files analyzed · No issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
What You'll Need
Set these up before or after installing:
Environment variable: FITDAYS_EMAIL
Environment variable: FITDAYS_PASSWORD
Environment variable: FITDAYS_REGION
Environment variable: FITDAYS_BACKEND
How to Install
Install command not verified. See the repository for install instructions.
View repositoryDocumentation
View on GitHubFrom the project's GitHub README.
⚖️ FitDays MCP Server (Go)
[!IMPORTANT] This is not an official FitDays/ICOMON server. It uses private cloud APIs that can change without notice. It is read-only: no measurements, goals, users or devices are created, changed or deleted.
An MCP server for FitDays, FitDays+ and FitDays 2.0 accounts. Ask your AI assistant about weight, body composition, body girth, food and water diary, trends, goals and family profiles — over stdio or Streamable HTTP.
One static Go binary, no runtime. Config lives in ~/.fitdays-mcp/config.json.
Built on the official modelcontextprotocol/go-sdk.
✨ Features
- ⚖️ Full body history — weight, BMI, fat, muscle, skeletal muscle, water, protein, bone mass, BMR, body age, heart rate and impedance.
- 🧬 FitDays 2.0 detail — segmental arm/leg/trunk composition, body score, WHR, SMI and the server's AI body report.
- 📈 Analytics — weekly trends, kg/week slope, goal progress, date-to-date comparison and family overview.
- 🍽️ Food and water diary — FitDays 2.0 nutrition rows, macros, calories, day/week/month buckets, water totals and goal progress.
- 📏 Auxiliary data — height, girth, balance, gravity, heart rate, impedance and jump rope, with normalized values and raw rows.
- 👨👩👧 Family profiles — one account can hold several
suidprofiles; passsuidto read another member. - 🔐 Encryption at rest — optional AES-256-GCM for password-equivalent digests and session tokens.
- 🌐 Two transports — stdio for desktop clients, stateless Streamable HTTP
with
X-MCP-Userfor self-hosting. - 🧯 Raw escape hatch —
get_raw_collectionexposes redacted sync fields that are not normalized yet.
🏆 Why this server
- ✅ Covers all three generations: legacy FitDays, FitDays+ and FitDays 2.0.
- ✅ 19 read-only tools, including analytics and diary — not just weight history.
- ✅ Keeps every sync collection reachable through normalized tools or raw data.
- ✅ Single binary, no Node/Python runtime, ~10 MB RAM in normal use.
- ✅ No writes: safe to point at a real account and let an assistant explore.
- ✅ Docker image, GitHub releases, Official MCP Registry and Glama listing.
🔄 Backends
FitDays migrated accounts from the legacy service to FitDays+, then to the
current FitDays 2.0 app. backend:auto tries legacy, then Plus, then 2.0,
falling back only when the previous backend reports a migration, freeze or
missing-account code. New accounts normally resolve to 2.0.
| Region | Backend | Notes |
|---|---|---|
eu, us, cn | auto, legacy, plus, v2 | Auto-detects the account generation |
global | plus only | Global Plus host; legacy is rejected |
Credentials are stored as protocol password-equivalent digests, never as
plaintext. The config directory is 0700, the file 0600.
🚀 Quick Start
Build from source (Go 1.27+):
go build -o fitdays-mcp ./cmd/fitdays-mcp
Or use a release binary / image from Releases.
Add to your MCP client:
{
"mcpServers": {
"fitdays": {
"command": "/absolute/path/to/fitdays-mcp",
"env": {
"FITDAYS_EMAIL": "you@example.com",
"FITDAYS_PASSWORD": "your-password",
"FITDAYS_REGION": "eu",
"FITDAYS_BACKEND": "auto"
}
}
}
}
On first use:
check_auth_status— shows whether credentials, token and cache exist.setup_credentials— validates email/password, logs in and saves the session. Env credentials are hashed in memory at startup; the config file is written after setup or the first successful sync.- Call any read tool — the first read downloads the configured history window.
OpenCode
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"fitdays": {
"type": "remote",
"url": "https://<DOMAIN>/<MCP_SECRET>/fitdays/mcp",
"enabled": true
}
}
}
🐳 Docker
# stdio
docker run -i --rm \
-v fitdays-config:/home/app/.fitdays-mcp \
-e FITDAYS_EMAIL=you@example.com \
-e FITDAYS_PASSWORD=your-password \
ghcr.io/kondratjev/fitdays-mcp-go:0.2.1
# stateless HTTP
docker run --rm -p 8000:8000 \
-v fitdays-config:/home/app/.fitdays-mcp \
-e PORT=8000 \
ghcr.io/kondratjev/fitdays-mcp-go:0.2.1
The named volume keeps the non-root container's config across rebuilds.
Published images follow release tags. To include changes from main before the
next tag, build locally with docker build -t fitdays-mcp ..
🌐 HTTP
Set PORT to serve stateless Streamable HTTP at /mcp with /healthz.
X-MCP-User selects a named profile; stdio always uses default.
PORT=8000 FITDAYS_EMAIL=... FITDAYS_PASSWORD=... ./fitdays-mcp
curl -s localhost:8000/healthz # {"status":"ok"}
Use a reverse proxy with TLS. Plain HTTP is only for a trusted network.
🌍 Self-Hosted Server
HTTPS is handled by the shared mcp-edge
repository. This repo has no Caddy config: the container joins the mcp-edge
network and advertises /<MCP_SECRET>/fitdays/* through Docker labels.
One-time edge setup from this machine (point DNS at the VPS first):
git clone https://github.com/kondratjev/mcp-edge.git
cd mcp-edge
cp .env.example .env # set DOMAIN and MCP_SECRET
SYNC_ENV=1 VPS_SSH=user@host VPS_DIR=/opt/mcp-edge ./scripts/deploy.sh
Then set this server's credentials and deploy it:
cp .env.example .env # FITDAYS_* values
SYNC_ENV=1 VPS_SSH=user@host VPS_DIR=/opt/fitdays-mcp-go ./scripts/deploy.sh
Connect the client to https://<DOMAIN>/<MCP_SECRET>/fitdays/mcp; everything
else returns 404. Remote MCP connectors cannot send auth headers, so the secret
path is the access control: guard the URL like a password. Config and tokens
live in the fitdays-config volume, so they survive rebuilds
(docker compose down -v deletes login state).
Deploy to a VPS
The server is a clean git mirror: code is never edited there, and .env plus
Docker volumes survive a git reset --hard.
# first deploy: clone on the VPS and copy .env
SYNC_ENV=1 VPS_SSH=user@host VPS_DIR=/opt/fitdays-mcp-go ./scripts/deploy.sh
# later deploys
VPS_SSH=user@host VPS_DIR=/opt/fitdays-mcp-go ./scripts/deploy.sh
The script pushes the current branch, clones the repo when missing, pulls it,
and rebuilds with docker compose (or legacy docker-compose). SYNC_ENV=1
copies .env over scp with mode 0600. Export VPS_SSH/VPS_DIR in your shell
rc to run bare ./scripts/deploy.sh.
🛠️ Tools
All tools are read-only except setup_credentials.
| Tool | Purpose |
|---|---|
| 🔐 Setup & account | |
check_auth_status | Network-free profile, backend, token and cache status |
setup_credentials | Validate email/password, log in, persist digests and session |
list_users | Family profiles with height, sex, birthday and target weight |
list_devices | Bound scales with model, firmware and binding name |
get_account | Units, active profile id and account metadata |
| ⚖️ Measurements | |
get_latest_weight | Latest measurement with body-composition fields |
get_weight_history | Paginated weight/body-composition history |
get_body_composition_detail | Segmental masses, body score, WHR, SMI and AI analysis |
get_auxiliary_history | Height, girth, balance, gravity, heart rate, impedance, jump rope |
| 📈 Analytics | |
get_body_composition_summary | Latest values, min/max/average and deltas |
get_trend | Bucketed trend with weekly slope |
get_goal_progress | Target, remaining, percent, weekly rate and ETA |
compare_measurements | Two dates with per-metric deltas |
get_family_overview | Count, first/latest weight and target progress per profile |
| 🍽️ FitDays 2.0 diary | |
get_nutrition_history | Food diary with calories, macros, totals and buckets |
get_water_history | Water intake with daily totals and goal progress |
| 📤 Export & raw | |
export_data | Measurements, nutrition or water as CSV/JSON text |
get_raw_collection | Redacted raw sync key for unmapped fields |
refresh_sync | Force a fresh sync and return per-collection counts |
Tool arguments accept RFC3339 timestamps or YYYY-MM-DD dates. Times are UTC.
History tools default to the active suid; deleted rows are excluded unless
include_deleted is set. A since older than the current sync window returns
truncated:true.
⚙️ Configuration
{
"region": "eu",
"backend": "auto",
"syncDays": 2200,
"profiles": {
"default": {
"email": "you@example.com",
"legacyPasswordDigest": "…",
"v2PasswordHash": "…",
"plusAccessCode": "…",
"plusAccessSign": "…",
"plusClientId": "…",
"resolvedBackend": "v2",
"token": "…",
"uid": 123,
"activeSuid": 456,
"apiBase": "https://eu-api.fitdays.com"
}
}
}
Environment variables:
| Variable | Meaning |
|---|---|
FITDAYS_EMAIL, FITDAYS_PASSWORD | Initial credentials, hashed and saved |
FITDAYS_REGION | eu, us, cn, global |
FITDAYS_BACKEND | auto, legacy, plus, v2 |
FITDAYS_SYNC_DAYS | History window in days (default 2200) |
FITDAYS_CACHE_TTL | Snapshot cache TTL (default 5m) |
FITDAYS_API_BASE | Override host (tests, proxies) |
FITDAYS_CONFIG | Alternate config path |
FITDAYS_CONFIG_KEY | Encrypt digests and tokens at rest |
FITDAYS_CONFIG_KEY_FILE | Read the key from a file |
PORT | Serve HTTP instead of stdio |
Password digests and tokens are password-equivalent. Set
FITDAYS_CONFIG_KEY (or FITDAYS_CONFIG_KEY_FILE) to encrypt them with
AES-256-GCM; without a key they are stored as before.
📏 Units and Profiles
Weight is kilograms, heights centimetres, circumferences centimetres, body
composition percentages, BMR kcal/day, heart rate bpm, impedance ohms. The
legacy weight_lb and height_inch fields remain in raw data.
A FitDays account can contain several family profiles (suid). Tools default
to the account's active profile; pass suid to read another.
🔐 Security
- The config contains password-equivalent values and tokens. Protect it like a password. Use a dedicated FitDays account where possible.
- Every tool response is recursively redacted:
token,refresh_token,access_code,access_signandpasswordare removed, including inside raw collections. - Request URLs are never logged because the legacy protocol puts the token in the query string.
- Redirects are limited to trusted FitDays hosts; plain HTTP is allowed only for loopback.
- The server needs no inbound access beyond the optional
/mcpendpoint.
🧪 Development
go test ./...
go vet ./...
go build ./...
cmd/fitdays-probe logs in with FITDAYS_EMAIL/FITDAYS_PASSWORD, syncs and
writes raw JSON for protocol inspection:
go run ./cmd/fitdays-probe -days 30 -out raw.json
The probe is not part of the MCP surface and is not shipped in Docker or release archives.
⚠️ Limitations
- Unofficial and read-only; writes, Apple Health and Google Fit sync are out of scope.
- Food, water and body detail are FitDays 2.0 features; legacy/Plus accounts
return
backend_unsupported. - Unknown sync fields may be absent from normalized output; use
get_raw_collectionin the meantime. - Live FitDays behavior can change without notice. Tests use local fake servers; a live account is needed to validate a new protocol version.
📄 License
MIT — see LICENSE.
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Scrapling
Freeby D4Vinci · Developer Tools
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
Server Time
Freeby Modelcontextprotocol · Developer Tools
Current time lookup and conversion between IANA timezones
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
