MyWeight MCP Server
MyWeight MCP 服务器
此服务器连接到 Health Planet API,用于访问高柳先生的体重数据。任何兼容 MCP 的客户端都可以使用此服务器来检索和分析体重测量数据。
👉 查看原始网站直接查看数据。
它的作用
检索数据:从 Health Planet API 获取体重记录
适用于任何客户端:兼容所有 MCP 客户端
安全访问:受 OAuth2 身份验证保护
Related MCP server: FitTrack MCP
快速入门指南
1. 本地设置并运行
# Clone this repository
git clone [repository URL]
# Install required packages
npm install
# Launch the development server
npm run dev您的服务器将在http://localhost:8787运行。
2. 连接您的 MCP 客户端
将此配置添加到您的 MCP 客户端:
{
"mcpServers": {
"myweight": {
"command": "npx",
"args": [
"mcp-remote",
"http://localhost:8787/sse"
]
}
}
}使用 API
获取体重数据
使用fetchInnerScanData工具,您可以检索任何时间段的体重测量值:
参数:
from:开始日期/时间,格式为 YYYYMMDDHHmmss(例如,20240101000000表示 2024 年 1 月 1 日)to:结束日期/时间,格式为 YYYYMMDDHHmmss(例如,20240131235959表示 2024 年 1 月 31 日)
响应示例:
[
{
"date": "2024/01/01",
"weight": 65.2
},
{
"date": "2024/01/02",
"weight": 65.1
}
]部署到生产环境
要部署到 Cloudflare Workers:
npm run deploy部署后,使用您的 Cloudflare URL 更新您的 MCP 客户端配置:
{
"mcpServers": {
"myweight": {
"command": "npx",
"args": [
"mcp-remote",
"https://[your-worker-name].[your-account].workers.dev/sse"
]
}
}
}故障排除
连接问题
确保服务器正在运行:
npm run dev如果需要,清除 OAuth 数据:
rm -rf ~/.mcp-auth重置 Wrangler 缓存:
rm -rf ~/.wrangler
身份验证问题
如果没有出现身份验证屏幕,请检查您的客户端配置
身份验证失败后,请尝试重新启动 MCP 客户端
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
MCP server for Withings health data — sleep, activity, heart, and body metrics.
Hosted MCP server for the Healthie EHR & telehealth API: patients, appointments, charting, tasks.
Remote MCP server for training, nutrition, wellness, and performance data with OAuth 2.0.
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceRead-only MCP server for Tanita Health Planet measurements, providing tools for profile, health reporting, and measurement reads.MIT
- FlicenseNot gradedqualityCmaintenanceA read-only MCP server for fitness tracking, providing public app info and protected weight entries from Supabase.-
- AlicenseAqualityCmaintenanceMCP server for the Withings Health API with per-user OAuth2, enabling users to securely access their own health data (measures, activity, sleep, workouts, heart rate, devices, and goals) and optionally add measurements.12Functional Source , Version 1.1, ALv2 Future
- AlicenseNot gradedqualityCmaintenanceMCP server for Garmin Connect that enables users to access and manage their personal health and fitness data, including daily summaries, heart rate, sleep, HRV, stress, body composition, activities, and training readiness, with secure per-user authentication.Functional Source , Version 1.1, ALv2 Future