We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/schimmmi/withings-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
v1.1.5.md•2.13 kB
# Release v1.1.5
**Release Date:** 2025-12-25
## 🌍 New Feature: Automatic Timezone Conversion
### All Timestamps Now in Local Time
**What's New:** All date and time fields in API responses are now automatically converted from UTC to your local timezone.
**Why This Matters:**
- 🕒 No more UTC confusion - timestamps match your local time
- 📅 Better readability for LLMs and humans
- 🌐 ISO 8601 format with timezone information (e.g., `2025-12-25T14:30:00+01:00`)
## Changes
### Automatic Timezone Conversion
**What Changed:**
The server now automatically converts all UTC timestamps returned by the Withings API to your local timezone before returning them.
**Affected Fields:**
- `date` - Measurement and activity timestamps
- `startdate` / `enddate` - Period boundaries
- `start` / `end` - Sleep and workout periods
- `created` / `modified` / `lastupdate` - Metadata timestamps
**Format:**
All converted timestamps use ISO 8601 format with timezone:
- Before: `1735134600` (Unix timestamp in UTC)
- After: `2025-12-25T14:30:00+01:00` (ISO 8601 with local timezone)
### Technical Details
Modified `src/withings_mcp_server/server.py`:
1. Added `timezone` import from `datetime` module
2. Added `_convert_utc_to_local()` method for recursive timestamp conversion
3. Applied conversion to all tool responses before returning results
4. Preserves original data structure while converting timestamp fields
## Impact
- ✅ Better timestamp readability for LLMs
- ✅ Automatic conversion - no configuration needed
- ✅ All date fields include timezone information
- ✅ Compatible with existing code
- ✅ No breaking changes - timestamps are still parseable
## Upgrade Instructions
Update to the latest version:
```bash
pip install --upgrade withings-mcp-server
```
Or if installed in editable mode:
```bash
cd /path/to/withings-mcp-server
git pull
```
Then restart Claude Desktop.
## Notes
- The conversion uses your system's local timezone
- Input dates (in requests) still accept both YYYY-MM-DD and Unix timestamps
- The Withings API still receives UTC timestamps - conversion only affects responses