Skip to main content
Glama
FitDays MCP Server

FitDays MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoServe HTTP instead of stdio.
FITDAYS_EMAILNoInitial credentials, hashed and saved.
FITDAYS_CONFIGNoAlternate config path.
FITDAYS_REGIONNoRegion: eu, us, cn, global (Plus only).eu
FITDAYS_BACKENDNoBackend: auto, legacy, plus, v2.auto
FITDAYS_API_BASENoOverride host (tests, proxies).
FITDAYS_PASSWORDNoInitial credentials, hashed and saved.
FITDAYS_CACHE_TTLNoSnapshot cache TTL (default 5m).5m
FITDAYS_SYNC_DAYSNoHistory window in days (default 2200).

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

FitDays MCP server reads body-composition, food-diary and water data from the FitDays clouds.

  1. SETUP: call check_auth_status first. If no account is configured, call setup_credentials with the FitDays email and password. Credentials persist in ~/.fitdays-mcp/config.json; the password is stored only as protocol digests.

  2. READ: list_users, list_devices and get_account show the account. The measurement tools return normalized weight and body-composition data; get_nutrition_history and get_water_history cover the FitDays 2.0 diary; get_body_composition_detail adds segmental masses; get_family_overview compares family profiles; export_data writes CSV/JSON; get_auxiliary_history and get_raw_collection cover the remaining sync fields.

  3. SYNC: the first read logs in and downloads up to the configured window (default 2200 days). Snapshots are cached for five minutes; refresh_sync forces a fresh download.

FitDays accounts may have migrated through FitDays+ to FitDays 2.0; backend auto falls back only on migration/freeze/missing-account codes, and region global is Plus-only. An account can hold several family profiles (suid); tools use the active one unless suid is passed. Weights are kg, heights and girths cm, body composition percent.

Over HTTP, the X-MCP-User header selects the profile; stdio uses "default". Every tool except setup_credentials is read-only.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
check_auth_statusA

Read-only. Call check_auth_status first. Reports local credentials, profile, token presence and cache age without network access.

compare_measurementsB

Read-only. Call check_auth_status first. Last measurement at or before each time and per-metric delta.

export_dataA

Read-only. Call check_auth_status first. Export measurements, FitDays 2.0 nutrition or water rows as CSV or JSON text, filtered by profile and time.

get_accountA

Read-only. Call check_auth_status first. Get account units and the active profile id.

get_auxiliary_historyA

Read-only. Call check_auth_status first. History rows from height, girth, balance, gravity, heart_rate, impedance or jump_rope, filtered by profile and time. Each row keeps raw fields and adds a normalized map.

get_body_composition_detailA

Read-only. Call check_auth_status first. FitDays 2.0 measurement with segmental arm/leg/trunk fat and muscle masses, body score, WHR, SMI, obesity degree and the server AI analysis for the latest record.

get_body_composition_summaryA

Read-only. Call check_auth_status first. Latest body composition, window statistics and deltas; legacy ext reference ranges when available.

get_family_overviewA

Read-only. Call check_auth_status first. One row per family profile with measurement count, first/latest weight, change and progress toward the target. Default window: last 90 days.

get_goal_progressA

Read-only. Call check_auth_status first. Progress from the first measurement in the window toward the profile or override target weight.

get_latest_weightA

Read-only. Call check_auth_status first. Return the newest measurement for the active profile, full metrics and extension data.

get_nutrition_historyA

Read-only. Call check_auth_status first. FitDays 2.0 food diary rows with calories and macros plus day/week/month totals; nutrients are scaled by the logged grams from per-100g food values.

get_raw_collectionA

Read-only. Call check_auth_status first. Redacted raw top-level sync payload key, escape hatch for unknown fields.

get_trendA

Read-only. Call check_auth_status first. Metric trend with day/week/month buckets, first/last/change/min/max/avg and slope per week. Metric: weight_kg, weight_lb, bmi, body_fat_pct, body_fat_kg, subcutaneous_fat_pct, visceral_fat, muscle_pct, muscle_mass_kg, skeletal_muscle_pct, skeletal_muscle_kg, bone_mass_kg, body_water_pct, body_water_kg, protein_pct, protein_kg, lean_body_mass_kg, bmr, body_age, body_score, whr, smi, obesity_degree, heart_rate, impedance.

get_water_historyA

Read-only. Call check_auth_status first. FitDays 2.0 water intake rows, daily totals and progress against the account daily water target.

get_weight_historyB

Read-only. Call check_auth_status first. Return measurements newest first, filtered by profile and time window.

list_devicesA

Read-only. Call check_auth_status first. List bound FitDays scales and devices.

list_usersA

Read-only. Call check_auth_status first. List family profiles (users) for the account.

refresh_syncA

Read-only upstream refresh; bypasses the five-minute cache. Returns per-collection counts and the cache timestamp.

setup_credentialsB

Validate FitDays email/password, store password digests and save the session. Never stores plaintext. Optional region/backend/profile.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 19 tools

Disambiguation4/5

Most tools target distinct resources or query shapes, such as account, users, devices, nutrition, water, trends, and raw sync data. There is some overlap among measurement/body-composition tools like get_latest_weight, get_weight_history, get_body_composition_summary, and compare_measurements, but the descriptions provide enough distinction to avoid most misselection.

Naming Consistency5/5

All tool names use consistent snake_case with a verb_noun pattern such as get_account, list_users, get_weight_history, compare_measurements, and refresh_sync. The convention is predictable throughout the set.

Tool Count4/5

At 19 tools, the server is slightly above the typical well-scoped range, but the breadth is justified by the domain: authentication, profiles, devices, measurements, body composition, nutrition, water, trends, goals, export, and raw data. Each tool appears to cover a distinct query need rather than duplicating functionality.

Completeness4/5

The surface covers a broad read-only FitDays analytics domain, including auth, account/profile management, devices, measurement history, body composition, nutrition, water, auxiliary metrics, goals, trends, export, and raw fallback access. Minor gaps exist around write/update operations for profiles, goals, or measurements, but those may be outside the server's read-only scope.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues