Skip to main content
Glama
MyWeight MCP Server

MyWeight MCP Server

MyWeight MCP サーバー

このサーバーはHealth Planet APIに接続し、高柳さんの体重データにアクセスします。MCP対応のクライアントであれば、このサーバーを使用して体重測定値を取得・分析できます。

👉 データを直接表示するには、元の Web サイトをご覧ください。

何をするのか

  • データの取得: 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形式)(例:2024年1月1日の場合は20240101000000 )

  • to : 終了日時(YYYYMMDDHHmmss形式)(例:2024年1月31日の場合は20240131235959 )

応答例:

[
  {
    "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

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Read-only MCP server for Tanita Health Planet measurements, providing tools for profile, health reporting, and measurement reads.
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      MCP 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.
      12
      Functional Source , Version 1.1, ALv2 Future
    • A
      license
      Not graded
      quality
      C
      maintenance
      MCP 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