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
Quick Start Guide
1. Setup & Run Locally
# Clone this repository
git clone https://github.com/shinichi-takayanagi/myweight-mcp-server.git
# Install required packages
npm install
# Launch the development server
npm run dev
Your server will be running at http://localhost:8787.
2. Connect Your MCP Client
Add this configuration to your MCP client:
{
"mcpServers": {
"myweight": {
"command": "npx",
"args": [
"mcp-remote",
"http://localhost:8787/sse"
]
}
}
}
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:
[
{
"date": "2024/05/30",
"weight": 65.2
},
{
"date": "2024/05/31",
"weight": 65.1
}
]
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:
- Edit the
name = "your-worker-name"
account_id = "your-account-id"
workers_dev = true
- Deploy your project:
npm run deploy
- After deployment, update your MCP client configuration with your Cloudflare URL:
{
"mcpServers": {
"myweight": {
"command": "npx",
"args": [
"mcp-remote",
"https://[your-worker-name].[your-account].workers.dev/sse"
]
}
}
}
Troubleshooting
Connection Problems
- Make sure the server is running:
npm run dev - Reset Wrangler cache:
rm -rf ~/.wrangler
General Issues
- Verify your
wrangler.tomlconfiguration - If deployment fails, check the Cloudflare dashboard for detailed error messages
Recommend MCP Servers 💡
@felores/airtable-mcp-server
A Model Context Protocol server that provides tools for interacting with Airtable's API, enabling programmatic management of bases, tables, fields, and records through MCP clients like Claude Desktop.
@Cyreslab-AI/flightradar-mcp-server
MCP server providing real-time flight tracking and status information via AviationStack API
fdmocho/mcp_server_nasa
An MCP server for integrating with the NASA API to retrieve Near Earth Object (NEO) information by date.
memgraph/mcp-memgraph
A lightweight server implementation of the Model Context Protocol (MCP) designed to connect Memgraph, a graph database, with Large Language Models (LLMs).
JavaFilesystem
An MCP server implemented in Java that provides filesystem operations (read, write, edit, search, list, grep, create directory, bash command) and web access tools (fetch webpage, extract HTML content) for Large Language Model agents.
MCP-timeserver
A simple MCP server that exposes datetime information to agentic systems and chat REPLs