fitdays-mcp-server 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # fitdays-mcp-server
2
2
 
3
+ [![npm](https://img.shields.io/npm/v/fitdays-mcp-server)](https://www.npmjs.com/package/fitdays-mcp-server)
4
+
5
+ [![Sponsor](https://img.shields.io/badge/Sponsor-%E2%9D%A4-db61a2?logo=githubsponsors&logoColor=white&style=for-the-badge)](https://github.com/sponsors/roquerodrigo)
6
+
3
7
  [Model Context Protocol](https://modelcontextprotocol.io) server that exposes
4
8
  the unofficial [FitDays / iComon smart-scale API](https://github.com/roquerodrigo/fitdays-api)
5
9
  as tools that an LLM client (Claude Desktop, Claude Code, etc.) can call.
@@ -13,8 +17,8 @@ and serves the data as structured tool responses.
13
17
  | --- | --- |
14
18
  | `list_users` | Sub-users (people) registered under the account. |
15
19
  | `list_devices` | FitDays-compatible devices known to the account. |
16
- | `get_weight_history` | Body-composition / weight measurements. Filters: `suid`, `since`, `until`, `limit`, `include_deleted` (default `true` — the FitDays mobile app marks edited records `is_deleted: 1` rather than removing them server-side). |
17
- | `get_latest_weight` | Most recent weight measurement (filter by `suid`; `include_deleted` defaults to `false`). |
20
+ | `get_weight_history` | Body-composition / weight measurements. Filters: `suid`, `since`, `until`, `limit`, `include_deleted` (default `true` — the FitDays mobile app marks edited records `is_deleted: 1` rather than removing them server-side), `include_ext_data` (default `false` — adds the FitDays reference ranges, targets and body-type classification to each record). |
21
+ | `get_latest_weight` | Most recent weight measurement (filter by `suid`; `include_deleted` defaults to `false`; `include_ext_data` defaults to `true`). |
18
22
  | `refresh_sync` | Force-refresh the cached sync data. Returns counts including the `active` / `deleted` / `total` split for weight records. |
19
23
 
20
24
  ## Install
@@ -65,6 +69,10 @@ npm run build
65
69
  FITDAYS_EMAIL=… FITDAYS_PASSWORD=… npm start
66
70
  ```
67
71
 
72
+ ## Support
73
+
74
+ This MCP server is built and maintained on personal time, on hardware bought for the purpose. If it is useful to you, consider [sponsoring the work](https://github.com/sponsors/roquerodrigo) — it keeps the devices, the testing and the releases coming.
75
+
68
76
  ## License
69
77
 
70
78
  MIT
package/dist/server.js CHANGED
@@ -1,41 +1,43 @@
1
1
  import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
2
  import { z } from 'zod';
3
+ import { summarizeUser } from './summaries/user-summary.js';
4
+ import { summarizeWeight } from './summaries/weight-summary.js';
3
5
  const json = (value) => ({
4
6
  content: [{ text: JSON.stringify(value, null, 2), type: 'text' }],
5
7
  });
6
- const summarizeUser = (u) => ({
7
- birthday: u.birthday,
8
- height_cm: u.height,
9
- nickname: u.nickname,
10
- sex: u.sex === 0 ? 'female' : 'male',
11
- suid: u.suid,
12
- target_weight_kg: u.target_weight,
13
- uid: u.uid,
14
- });
15
- const summarizeWeight = (r) => ({
16
- bfr_pct: r.bfr,
17
- bm_kg: r.bm,
18
- bmi: r.bmi,
19
- bmr_kcal: r.bmr,
20
- bodyage: r.bodyage,
21
- data_id: r.data_id,
22
- is_deleted: r.is_deleted,
23
- measured_at: new Date(r.measured_time * 1000).toISOString(),
24
- measured_time: r.measured_time,
25
- pp_pct: r.pp,
26
- rom_pct: r.rom,
27
- sfr_pct: r.sfr,
28
- suid: r.suid,
29
- uid: r.uid,
30
- uvi: r.uvi,
31
- vwc_pct: r.vwc,
32
- weight_kg: r.weight_kg,
33
- weight_lb: r.weight_lb,
34
- });
8
+ const joinDescriptionLines = (lines) => lines.join('\n');
9
+ const extensionDataDescriptionLines = [
10
+ '`ext_data` contains the measured person\'s context and FitDays reference values for interpreting the weight metrics. Treat these as informational rather than authoritative, and adjust them to the person\'s actual situation.',
11
+ 'Context fields describe the person and measurement state, including `age`, `height`, `sex` (`female` or `male`), and `onlyMeasureWeight` (whether the record contains weight only).',
12
+ 'Range and standard fields provide reference targets: `Min` and `Max` define the reference range, while `Standard` is the recommended value. They include body-fat mass, body-fat percentage, BMI, basal metabolic rate, bone mass, muscle mass, skeletal muscle mass, protein mass, water mass, and weight fields.',
13
+ 'Control fields indicate the suggested adjustment toward the corresponding `Standard` value, including `bfmControl` (body-fat mass), `ffmControl` (fat-free mass), and `weightControl` (weight).',
14
+ 'Fat-free-mass reference fields provide the recommended fat-free mass, including `ffmStandard`.',
15
+ 'Index fields provide skeletal-muscle indexing, including `smi` (skeletal muscle index).',
16
+ 'Classification fields describe body-composition status, including `bodyScore`, `bodyType`, and `obesityDegree`.',
17
+ 'Target fields describe target body-composition values, including `targetWeight`, `targetBodyfatMass`, and `targetSMMMass`; unavailable target-mass values are `null`.',
18
+ 'Device fields identify the source device, including `deviceModelExt`, `deviceNameExt`, and `deviceSoftwareVer`.',
19
+ ];
35
20
  export const buildServer = (session) => {
36
- const server = new McpServer({ name: 'fitdays-mcp-server', version: '1.0.0' });
21
+ const server = new McpServer({
22
+ name: 'fitdays-mcp-server',
23
+ version: '1.0.0',
24
+ }, {
25
+ instructions: joinDescriptionLines([
26
+ 'This MCP provides access to FitDays (沃莱 in Chinese) smart-scale data.',
27
+ '',
28
+ 'Use this MCP when the user asks about body weight, body fat, fat mass, body composition, smart-scale measurements, or health data related to weight and body composition.',
29
+ '',
30
+ 'It provides current and historical personal measurements, including body weight, BMI, body fat percentage, muscle percentage, body water, protein, bone mass, subcutaneous fat, visceral fat, basal metabolic rate, body age, and related body-composition measurements.',
31
+ ]),
32
+ });
37
33
  server.registerTool('list_users', {
38
- description: 'List the sub-users (people) registered under the FitDays account.',
34
+ description: joinDescriptionLines([
35
+ 'List the sub-users (people) registered under the FitDays account.',
36
+ 'Each user has a unique and stable `suid`, used by other tools to query data for that user. You may save the `suid` in memory for future queries.',
37
+ 'A FitDays account has one unique `uid`; all sub-users under the same account share the same `uid`.',
38
+ 'If a required `suid` is not already known, call this tool first and use known user information to identify the correct `suid`.',
39
+ 'Returns a list where each entry contains `nickname`, `sex` (`male` or `female`, biological sex), `birthday`, `height_cm`, `target_weight_kg` (user-set target weight), `suid`, and `uid` (account uid).',
40
+ ]),
39
41
  inputSchema: {},
40
42
  title: 'List FitDays users',
41
43
  }, async () => {
@@ -43,7 +45,10 @@ export const buildServer = (session) => {
43
45
  return json(data.users.filter((u) => u.is_deleted === 0).map(summarizeUser));
44
46
  });
45
47
  server.registerTool('list_devices', {
46
- description: 'List the FitDays-compatible devices known to the account.',
48
+ description: joinDescriptionLines([
49
+ 'List the devices bound to the FitDays account.',
50
+ 'Returns `device_id` (FitDays device identifier), `name`, `model`, `mac` (MAC address), and `firmware_ver` (firmware version) for each device.',
51
+ ]),
47
52
  inputSchema: {},
48
53
  title: 'List FitDays devices',
49
54
  }, async () => {
@@ -57,22 +62,31 @@ export const buildServer = (session) => {
57
62
  })));
58
63
  });
59
64
  server.registerTool('get_weight_history', {
60
- description: 'Return body-composition / weight measurements, optionally filtered by sub-user (`suid`) and time window. Times are unix seconds. By default includes records the server marks `is_deleted: 1` (tombstones from the mobile app) — set `include_deleted: false` to hide them.',
65
+ description: joinDescriptionLines([
66
+ 'Return body-composition / weight measurements, optionally filtered by sub-user (`suid`) and time window.',
67
+ 'Data is fetched lazily when no valid cache exists and stored in a global cache shared by all tools for 5 minutes; subsequent queries use that cached snapshot until it expires. Use `refresh_sync` if you are within the 5-minute cache window and fresher data is required.',
68
+ 'Returns a list ordered newest first. Each measurement contains `weight_kg`, `weight_lb`, `bmi`, `bfr_pct` (body fat percentage), `rom_pct` (muscle percentage), `rosm_pct` (skeletal muscle percentage), `vwc_pct` (body water percentage), `pp_pct` (protein percentage), `sfr_pct` (subcutaneous fat percentage), `uvi` (visceral fat index), `bm_kg` (bone mass), `bmr_kcal` (basal metabolic rate), `bodyage` (body age), `measured_at` (ISO 8601 timestamp), `measured_time` (Unix-seconds timestamp), `data_id`, `suid`, `uid`, and `is_deleted`. Set `include_ext_data: true` to also return `ext_data` for each record.',
69
+ ...extensionDataDescriptionLines,
70
+ 'By default includes tombstoned records (`is_deleted: 1`); set `include_deleted: false` to hide them.',
71
+ ]),
61
72
  inputSchema: {
62
73
  include_deleted: z.boolean().optional()
63
74
  .describe('Include records with `is_deleted: 1` (server-side tombstones). Default: true.'),
75
+ include_ext_data: z.boolean().optional()
76
+ .describe('Include the `ext_data` reference/context object on each record. Leave it off when only the measurements are needed, such as for plotting trends. Default: false.'),
64
77
  limit: z.number().int().positive().max(1000).optional()
65
78
  .describe('Maximum number of records (newest first). Default: 100.'),
66
79
  since: z.number().int().nonnegative().optional()
67
80
  .describe('Only include records measured at or after this unix-seconds timestamp.'),
68
81
  suid: z.number().int().optional()
69
- .describe('Sub-user id (from list_users). Omit to return records for all users.'),
82
+ .describe('Sub-user id resolved by `list_users`. Omit to return records for all users.'),
70
83
  until: z.number().int().nonnegative().optional()
71
84
  .describe('Only include records measured at or before this unix-seconds timestamp.'),
72
85
  },
73
86
  title: 'Weight history',
74
- }, async ({ include_deleted, limit, since, suid, until }) => {
87
+ }, async ({ include_deleted, include_ext_data, limit, since, suid, until }) => {
75
88
  const includeDeleted = include_deleted ?? true;
89
+ const includeExtensionData = include_ext_data ?? false;
76
90
  const data = await session.getSync();
77
91
  const records = data.weight_list
78
92
  .filter((r) => includeDeleted || r.is_deleted === 0)
@@ -81,20 +95,29 @@ export const buildServer = (session) => {
81
95
  .filter((r) => until === undefined || r.measured_time <= until)
82
96
  .sort((a, b) => b.measured_time - a.measured_time)
83
97
  .slice(0, limit ?? 100)
84
- .map(summarizeWeight);
98
+ .map((weightRecord) => summarizeWeight(weightRecord, includeExtensionData));
85
99
  return json(records);
86
100
  });
87
101
  server.registerTool('get_latest_weight', {
88
- description: 'Return the most recent weight measurement, optionally for a single sub-user. By default ignores tombstoned records (`is_deleted: 1`).',
102
+ description: joinDescriptionLines([
103
+ 'Return the most recent body-composition / weight measurement in the current global cache, optionally for a single sub-user (`suid`).',
104
+ 'Data is fetched lazily when no valid cache exists and stored in a global cache shared by all tools for 5 minutes; subsequent queries use that cached snapshot until it expires. Use `refresh_sync` if you are within the 5-minute cache window and fresher data is required.',
105
+ 'Returns exactly one measurement containing `weight_kg`, `weight_lb`, `bmi`, `bfr_pct` (body fat percentage), `rom_pct` (muscle percentage), `rosm_pct` (skeletal muscle percentage), `vwc_pct` (body water percentage), `pp_pct` (protein percentage), `sfr_pct` (subcutaneous fat percentage), `uvi` (visceral fat index), `bm_kg` (bone mass), `bmr_kcal` (basal metabolic rate), `bodyage` (body age), `measured_at` (ISO 8601 timestamp), `measured_time` (Unix-seconds timestamp), `data_id`, `suid`, `uid`, `is_deleted`, and `ext_data`, or `null` if no matching measurement exists.',
106
+ ...extensionDataDescriptionLines,
107
+ 'By default ignores tombstoned records (`is_deleted: 1`).',
108
+ ]),
89
109
  inputSchema: {
90
110
  include_deleted: z.boolean().optional()
91
111
  .describe('Include records with `is_deleted: 1`. Default: false.'),
112
+ include_ext_data: z.boolean().optional()
113
+ .describe('Include the `ext_data` reference/context object. Set to false to omit it. Default: true.'),
92
114
  suid: z.number().int().optional()
93
- .describe('Sub-user id. Omit to return the latest record across all users.'),
115
+ .describe('Sub-user id resolved by `list_users`. Omit to return the latest record across all users.'),
94
116
  },
95
117
  title: 'Latest weight',
96
- }, async ({ include_deleted, suid }) => {
118
+ }, async ({ include_deleted, include_ext_data, suid }) => {
97
119
  const includeDeleted = include_deleted ?? false;
120
+ const includeExtensionData = include_ext_data ?? true;
98
121
  const data = await session.getSync();
99
122
  const latest = data.weight_list
100
123
  .filter((r) => includeDeleted || r.is_deleted === 0)
@@ -102,10 +125,16 @@ export const buildServer = (session) => {
102
125
  .reduce((acc, r) => {
103
126
  return acc === null || r.measured_time > acc.measured_time ? r : acc;
104
127
  }, null);
105
- return json(latest ? summarizeWeight(latest) : null);
128
+ return json(latest ? summarizeWeight(latest, includeExtensionData) : null);
106
129
  });
107
130
  server.registerTool('refresh_sync', {
108
- description: 'Force-refresh the cached FitDays sync data. Returns counts per record type.',
131
+ description: joinDescriptionLines([
132
+ 'Force-refresh the global FitDays cache shared by all tools.',
133
+ 'FitDays data is loaded lazily: the first tool call that needs synchronized account data fetches a fresh snapshot and stores it in the global cache for 5 minutes. This includes measurement queries such as `get_latest_weight` and `get_weight_history`, as well as account-data queries such as `list_users` and `list_devices`.',
134
+ 'Subsequent tool calls within that 5-minute window reuse the same cached snapshot. Use this tool when fresher data is required before the cache expires, such as after a recent measurement, deletion, user change, or device change.',
135
+ 'A full resync transfers a large amount of data and is a heavy operation; you should avoid unnecessary refreshes.',
136
+ 'Returns synchronized record counts for `devices`, `users`, `height_records`, and `weight_records` (`active`, `deleted`, `total`).',
137
+ ]),
109
138
  inputSchema: {},
110
139
  title: 'Refresh sync cache',
111
140
  }, async () => {
@@ -0,0 +1,2 @@
1
+ export type SexLabel = 'female' | 'male';
2
+ export declare const sexLabel: (sex: number) => SexLabel;
@@ -0,0 +1 @@
1
+ export const sexLabel = (sex) => sex === 0 ? 'male' : 'female';
@@ -0,0 +1,12 @@
1
+ import type { User } from 'fitdays-api';
2
+ import { type SexLabel } from './sex-label.js';
3
+ export type UserSummary = {
4
+ birthday: string;
5
+ height_cm: number;
6
+ nickname: string;
7
+ sex: SexLabel;
8
+ suid: number;
9
+ target_weight_kg: number;
10
+ uid: number;
11
+ };
12
+ export declare const summarizeUser: (user: User) => UserSummary;
@@ -0,0 +1,10 @@
1
+ import { sexLabel } from './sex-label.js';
2
+ export const summarizeUser = (user) => ({
3
+ birthday: user.birthday,
4
+ height_cm: user.height,
5
+ nickname: user.nickname,
6
+ sex: sexLabel(user.sex),
7
+ suid: user.suid,
8
+ target_weight_kg: user.target_weight,
9
+ uid: user.uid,
10
+ });
@@ -0,0 +1,50 @@
1
+ import type { WeightExtData } from 'fitdays-api';
2
+ import { type SexLabel } from './sex-label.js';
3
+ export type BodyTypeLabel = 'Athletic' | 'Balanced' | 'Hidden Overweight' | 'Muscular' | 'Muscular Overweight' | 'Muscular Slim' | 'Obese' | 'Overweight' | 'Slightly Underweight' | 'Slim' | 'Underweight';
4
+ export type WeightExtensionDataSummary = {
5
+ age: number;
6
+ bfmControl: number;
7
+ bfmMax: number;
8
+ bfmMin: number;
9
+ bfmStandard: number;
10
+ bfpMax: number;
11
+ bfpMin: number;
12
+ bfpStandard: number;
13
+ bmiMax: number;
14
+ bmiMin: number;
15
+ bmiStandard: number;
16
+ bmrMax: number;
17
+ bmrMin: number;
18
+ bmrStandard: number;
19
+ bodyScore: number;
20
+ bodyType: 'unknown' | BodyTypeLabel;
21
+ boneMax: number;
22
+ boneMin: number;
23
+ deviceModelExt: string;
24
+ deviceNameExt: string;
25
+ deviceSoftwareVer: null | string;
26
+ ffmControl: number;
27
+ ffmStandard: number;
28
+ height: number;
29
+ muscleMassMax: number;
30
+ muscleMassMin: number;
31
+ obesityDegree: number;
32
+ onlyMeasureWeight: boolean;
33
+ proteinMassMax: number;
34
+ proteinMassMin: number;
35
+ sex: SexLabel;
36
+ smi: number;
37
+ smmMax: number;
38
+ smmMin: number;
39
+ smmStandard: number;
40
+ targetBodyfatMass: null | number;
41
+ targetSMMMass: null | number;
42
+ targetWeight: number;
43
+ waterMassMax: number;
44
+ waterMassMin: number;
45
+ weightControl: number;
46
+ weightMax: number;
47
+ weightMin: number;
48
+ weightStandard: number;
49
+ };
50
+ export declare const summarizeWeightExtensionData: (extensionData: null | WeightExtData) => null | WeightExtensionDataSummary;
@@ -0,0 +1,64 @@
1
+ import { sexLabel } from './sex-label.js';
2
+ const BODY_TYPE_LABELS = {
3
+ 0: 'Underweight',
4
+ 1: 'Slightly Underweight',
5
+ 2: 'Muscular Slim',
6
+ 3: 'Slim',
7
+ 4: 'Muscular',
8
+ 5: 'Balanced',
9
+ 6: 'Athletic',
10
+ 7: 'Muscular Overweight',
11
+ 8: 'Obese',
12
+ 9: 'Overweight',
13
+ 10: 'Hidden Overweight',
14
+ };
15
+ export const summarizeWeightExtensionData = (extensionData) => {
16
+ if (extensionData === null)
17
+ return null;
18
+ return {
19
+ age: extensionData.age,
20
+ bfmControl: extensionData.bfmControl,
21
+ bfmMax: extensionData.bfmMax,
22
+ bfmMin: extensionData.bfmMin,
23
+ bfmStandard: extensionData.bfmStandard,
24
+ bfpMax: extensionData.bfpMax,
25
+ bfpMin: extensionData.bfpMin,
26
+ bfpStandard: extensionData.bfpStandard,
27
+ bmiMax: extensionData.bmiMax,
28
+ bmiMin: extensionData.bmiMin,
29
+ bmiStandard: extensionData.bmiStandard,
30
+ bmrMax: extensionData.bmrMax,
31
+ bmrMin: extensionData.bmrMin,
32
+ bmrStandard: extensionData.bmrStandard,
33
+ bodyScore: extensionData.bodyScore,
34
+ bodyType: BODY_TYPE_LABELS[extensionData.bodyType] ?? 'unknown',
35
+ boneMax: extensionData.boneMax,
36
+ boneMin: extensionData.boneMin,
37
+ deviceModelExt: extensionData.deviceModelExt,
38
+ deviceNameExt: extensionData.deviceNameExt,
39
+ deviceSoftwareVer: extensionData.deviceSoftwareVer ?? null,
40
+ ffmControl: extensionData.ffmControl,
41
+ ffmStandard: extensionData.ffmStandard,
42
+ height: extensionData.height,
43
+ muscleMassMax: extensionData.muscleMassMax,
44
+ muscleMassMin: extensionData.muscleMassMin,
45
+ obesityDegree: extensionData.obesityDegree,
46
+ onlyMeasureWeight: extensionData.onlyMeasureWeight === '1',
47
+ proteinMassMax: extensionData.proteinMassMax,
48
+ proteinMassMin: extensionData.proteinMassMin,
49
+ sex: sexLabel(extensionData.sex),
50
+ smi: extensionData.smi,
51
+ smmMax: extensionData.smmMax,
52
+ smmMin: extensionData.smmMin,
53
+ smmStandard: extensionData.smmStandard,
54
+ targetBodyfatMass: extensionData.targetBodyfatMass ?? null,
55
+ targetSMMMass: extensionData.targetSMMMass ?? null,
56
+ targetWeight: extensionData.targetWeight,
57
+ waterMassMax: extensionData.waterMassMax,
58
+ waterMassMin: extensionData.waterMassMin,
59
+ weightControl: extensionData.weightControl,
60
+ weightMax: extensionData.weightMax,
61
+ weightMin: extensionData.weightMin,
62
+ weightStandard: extensionData.weightStandard,
63
+ };
64
+ };
@@ -0,0 +1,25 @@
1
+ import type { WeightRecord } from 'fitdays-api';
2
+ import { type WeightExtensionDataSummary } from './weight-extension-data-summary.js';
3
+ export type WeightSummary = {
4
+ bfr_pct: number;
5
+ bm_kg: number;
6
+ bmi: number;
7
+ bmr_kcal: number;
8
+ bodyage: number;
9
+ data_id: string;
10
+ ext_data?: null | WeightExtensionDataSummary;
11
+ is_deleted: 0 | 1;
12
+ measured_at: string;
13
+ measured_time: number;
14
+ pp_pct: number;
15
+ rom_pct: number;
16
+ rosm_pct: number;
17
+ sfr_pct: number;
18
+ suid: number;
19
+ uid: number;
20
+ uvi: number;
21
+ vwc_pct: number;
22
+ weight_kg: number;
23
+ weight_lb: number;
24
+ };
25
+ export declare const summarizeWeight: (weightRecord: WeightRecord, includeExtensionData: boolean) => WeightSummary;
@@ -0,0 +1,25 @@
1
+ import { summarizeWeightExtensionData } from './weight-extension-data-summary.js';
2
+ export const summarizeWeight = (weightRecord, includeExtensionData) => ({
3
+ bfr_pct: weightRecord.bfr,
4
+ bm_kg: weightRecord.bm,
5
+ bmi: weightRecord.bmi,
6
+ bmr_kcal: weightRecord.bmr,
7
+ bodyage: weightRecord.bodyage,
8
+ data_id: weightRecord.data_id,
9
+ ...(includeExtensionData ?
10
+ { ext_data: summarizeWeightExtensionData(weightRecord.ext_data) } :
11
+ {}),
12
+ is_deleted: weightRecord.is_deleted,
13
+ measured_at: new Date(weightRecord.measured_time * 1000).toISOString(),
14
+ measured_time: weightRecord.measured_time,
15
+ pp_pct: weightRecord.pp,
16
+ rom_pct: weightRecord.rom,
17
+ rosm_pct: weightRecord.rosm,
18
+ sfr_pct: weightRecord.sfr,
19
+ suid: weightRecord.suid,
20
+ uid: weightRecord.uid,
21
+ uvi: weightRecord.uvi,
22
+ vwc_pct: weightRecord.vwc,
23
+ weight_kg: weightRecord.weight_kg,
24
+ weight_lb: weightRecord.weight_lb,
25
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fitdays-mcp-server",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "MCP server exposing the unofficial FitDays / iComon smart-scale API as tools (weight history, devices, users) for LLM clients.",
5
5
  "keywords": [
6
6
  "mcp",
@@ -47,19 +47,19 @@
47
47
  "prepublishOnly": "npm run lint"
48
48
  },
49
49
  "dependencies": {
50
- "@modelcontextprotocol/sdk": "^1.29.0",
51
- "fitdays-api": "^1.0.0",
52
- "zod": "^4.4.2"
50
+ "@modelcontextprotocol/sdk": "1.30.0",
51
+ "fitdays-api": "1.0.4",
52
+ "zod": "4.4.3"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@eslint/js": "10.0.1",
56
56
  "@stylistic/eslint-plugin": "5.10.0",
57
- "@types/node": "^20.12.0",
58
- "eslint": "10.2.0",
59
- "eslint-plugin-perfectionist": "5.8.0",
60
- "globals": "17.4.0",
61
- "typescript": "^5.5.3",
62
- "typescript-eslint": "8.58.1"
57
+ "@types/node": "26.2.0",
58
+ "eslint": "10.8.1",
59
+ "eslint-plugin-perfectionist": "5.10.1",
60
+ "globals": "17.11.0",
61
+ "typescript": "6.0.3",
62
+ "typescript-eslint": "8.67.0"
63
63
  },
64
64
  "engines": {
65
65
  "node": ">=22.0.0"