FitDays

v0.2.1
io.github.kondratjev/fitdays-mcp-go Checked 2 hours ago Published 2 days ago

Read-only FitDays MCP server: 19 tools for weight, body composition, nutrition, water and trends.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

check_auth_status

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

compare_measurements

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

ParameterTypeDescription
from *stringReference time (RFC3339 or date)
to *stringComparison time (RFC3339 or date)
suidnull | integerProfile id; defaults to the active profile

export_data

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.

ParameterTypeDescription
dataset *stringDataset: measurements, nutrition or water
formatstringOutput format: csv or json (default csv)
limitintegerMaximum rows, default 5000, max 20000
sincestringWindow start (RFC3339 or date)
suidnull | integerProfile id; defaults to the active profile
untilstringWindow end (RFC3339 or date)

get_account

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

get_auxiliary_history

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.

ParameterTypeDescription
collection *stringheight, girth, balance, gravity, heart_rate, impedance or jump_rope
limitintegerMaximum rows, default 100, max 1000
offsetintegerRows to skip
sincestringEarliest measured time (RFC3339 or date)
suidnull | integerProfile id; defaults to the active profile
untilstringLatest measured time (RFC3339 or date)

get_body_composition_detail

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.

ParameterTypeDescription
data_idstringMeasurement id; defaults to the latest measurement
suidnull | integerProfile id; defaults to the active profile

get_body_composition_summary

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

ParameterTypeDescription
include_deletedbooleanInclude tombstoned rows (default false)
sincestringWindow start (RFC3339 or date)
suidnull | integerProfile id; defaults to the active profile
untilstringWindow end (RFC3339 or date)

get_family_overview

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.

ParameterTypeDescription
sincestringWindow start (RFC3339 or date); defaults to the last 90 days
untilstringWindow end (RFC3339 or date)

get_goal_progress

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

ParameterTypeDescription
sincestringWindow start (RFC3339 or date)
suidnull | integerProfile id; defaults to the active profile
target_weight_kgnull | numberOverride the profile target weight in kg
untilstringWindow end (RFC3339 or date)

get_latest_weight

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

ParameterTypeDescription
include_deletedbooleanInclude tombstoned rows (default false)
include_ext_datanull | booleanInclude parsed extension data (default true)
suidnull | integerProfile id; defaults to the active profile

get_nutrition_history

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.

ParameterTypeDescription
bucketstringAggregation bucket: day, week or month (default day)
limitintegerMaximum rows, default 100, max 1000
offsetintegerRows to skip
sincestringEarliest intake time (RFC3339 or date)
suidnull | integerProfile id; defaults to the active profile
untilstringLatest intake time (RFC3339 or date)

get_raw_collection

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

ParameterTypeDescription
collection *stringAny top-level sync key, for example account, products or bind_device
limitintegerMaximum array rows, default 50, max 1000
offsetintegerArray rows to skip

get_trend

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.

ParameterTypeDescription
metric *stringMetric to trend (see tool description)
bucketstringBucket: day, week or month (default week)
include_deletedbooleanInclude tombstoned rows (default false)
sincestringEarliest measured time (RFC3339 or date)
suidnull | integerProfile id; defaults to the active profile
untilstringLatest measured time (RFC3339 or date)

get_water_history

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

ParameterTypeDescription
limitintegerMaximum rows, default 100, max 1000
offsetintegerRows to skip
sincestringEarliest drink time (RFC3339 or date)
suidnull | integerProfile id; defaults to the active profile
untilstringLatest drink time (RFC3339 or date)

get_weight_history

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

ParameterTypeDescription
include_deletedbooleanInclude tombstoned rows (default false)
include_ext_datanull | booleanInclude parsed extension data (default false)
limitintegerMaximum rows, default 100, max 1000
offsetintegerRows to skip after sorting newest first
sincestringEarliest measured time (RFC3339 or date)
suidnull | integerProfile id; defaults to the active profile
untilstringLatest measured time (RFC3339 or date)

list_devices

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

list_users

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

refresh_sync

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

ParameterTypeDescription
daysintegerHistory window in days; defaults to the configured sync window

setup_credentials

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

ParameterTypeDescription
email *stringFitDays account email or phone
password *stringFitDays account password (hashed locally, never stored plaintext)
backendstringBackend: auto, legacy, plus or v2 (default from config)
profilestringProfile name (default: X-MCP-User, then default)
regionstringRegion: eu, us, cn or global (default from config)