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.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g.,@MyWeight MCP Server what is the weather in Tokyo?
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
You can also use deployed servers via HTTP endpoints. For instructions, see How to Test MCP Streamable HTTP Endpoints Using cURL.
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
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.,20240530000000for May 30, 2024)to: Ending date/time in YYYYMMDDHHmmss format (e.g.,20240531235959for May 31, 2024)
Example Response:
Deploy to Production
Preparing for Cloudflare Workers Deployment
Create a Cloudflare account and login to the Cloudflare Dashboard.
Set up Cloudflare Workers:
Enable Workers on your account
Choose a worker name for your deployment
Install the Wrangler CLI
Configure your project:
Edit the
wrangler.tomlfile to include your Cloudflare information:
Deploy your project:
After deployment, update your MCP client configuration with your Cloudflare URL:
Troubleshooting
Connection Problems
Make sure the server is running:
npm run devReset Wrangler cache:
rm -rf ~/.wrangler
General Issues
Verify your
wrangler.tomlconfigurationIf deployment fails, check the Cloudflare dashboard for detailed error messages