MyWeight MCP Server

MIT License

MyWeight MCP サーバー

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

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

何をするのか

  • データの取得: Health Planet APIから体重記録を取得します
  • どのクライアントでも動作: すべてのMCPクライアントと互換性があります
  • 安全なアクセス: OAuth2認証で保護されています

クイックスタートガイド

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クライアントを再起動してください。
-
security - not tested
-
license - not tested
-
quality - not tested

Health Planet API に接続し、MCP 互換クライアントを通じて体重測定データを取得および提供し、個人の体重記録の取得と分析を可能にするサーバー。

  1. What It Does
    1. Quick Start Guide
      1. 1. Setup & Run Locally
      2. 2. Connect Your MCP Client
    2. Using the API
      1. Get Weight Data
    3. Deploy to Production
      1. Troubleshooting
        1. Connection Problems
        2. Authentication Issues

      Related MCP Servers

      • -
        security
        F
        license
        -
        quality
        A Model Context Protocol server for tracking personal health and well-being, offering tools for workout logging, nutrition management, and daily journaling with AI-assisted analysis integration.
        Last updated -
        2
        Python
      • -
        security
        A
        license
        -
        quality
        An MCP server that provides healthcare tools for interacting with FHIR data and medical resources on EMRs like Cerner and Epic
        Last updated -
        28
        JavaScript
        MIT License
        • Apple
      • -
        security
        F
        license
        -
        quality
        MCP server that interfaces with the Adjust API, allowing you to query mobile analytics reports, metrics, and performance data using natural language from any MCP client like Cursor or Claude Desktop.
        Last updated -
        250
        1
        TypeScript
      • A
        security
        A
        license
        A
        quality
        A Model Context Protocol (MCP) server implementation that interfaces with the Hevy fitness tracking app and its API. This server enables AI assistants to access and manage workout data, routines, exercise templates, and more through the Hevy API (requires PRO subscription).
        Last updated -
        15
        72
        4
        TypeScript
        MIT License

      View all related MCP servers

      ID: vk0gi21ge0