Enables deployment of the MCP server to Cloudflare Workers for production use, allowing the weight tracking functionality to be accessed through a Cloudflare Workers URL.
Connects to the Health Planet API to retrieve and analyze weight measurements, providing access to time-based weight data with tools like fetchInnerScanData for specified date ranges.
MyWeight MCP Server
This server connects to the Health Planet API to access Takayanagi-san's weight data. Any MCP-compatible client can use this server to retrieve and analyze weight measurements.
๐ Check out the original website to view the data directly.
What It Does
Retrieves Data: Fetches weight records from Health Planet API
Works with Any Client: Compatible with all MCP clients
Secure Access: Protected by OAuth2 authentication
Related MCP server: Hevy MCP
Quick Start Guide
1. Setup & Run Locally
Your server will be running at http://localhost:8787.
2. Connect Your MCP Client
Add this configuration to your MCP client:
Using the API
Get Weight Data
With the fetchInnerScanData tool, you can retrieve weight measurements for any time period:
Parameters:
from: Starting date/time in YYYYMMDDHHmmss format (e.g.,20240101000000for Jan 1, 2024)to: Ending date/time in YYYYMMDDHHmmss format (e.g.,20240131235959for Jan 31, 2024)
Example Response:
Deploy to Production
To deploy to Cloudflare Workers:
After deployment, update your MCP client configuration with your Cloudflare URL:
Troubleshooting
Connection Problems
Make sure the server is running:
npm run devClear OAuth data if needed:
rm -rf ~/.mcp-authReset Wrangler cache:
rm -rf ~/.wrangler
Authentication Issues
If the auth screen doesn't appear, check your client configuration
After failed authentication, try restarting your MCP client