Skip to main content
Glama

MyWeight MCP Server

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
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

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

  1. 何をするのか
    1. クイックスタートガイド
      1. ローカルでセットアップして実行する
      2. MCPクライアントを接続する
    2. APIの使用
      1. 体重データを取得する
    3. 本番環境へのデプロイ
      1. トラブルシューティング
        1. 接続の問題
        2. 認証の問題

      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
        -
        license
        -
        quality
        A Model Context Protocol server that enables Claude to search and access detailed nutritional information from the USDA's FoodData Central database.
        Last updated -
        1
        TypeScript
      • A
        security
        A
        license
        A
        quality
        A Model Context Protocol server that bridges LLMs (like Claude) with the Fitbit API, allowing the LLM to request and retrieve user health and fitness data through defined tools.
        Last updated -
        3
        100
        2
        TypeScript
        MIT License

      View all related MCP servers

      MCP directory API

      We provide all the information about MCP servers via our MCP API.

      curl -X GET 'https://glama.ai/api/mcp/v1/servers/shinichi-takayanagi/myweight-mcp-server'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server