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. 1. ローカルでセットアップして実行する
      2. 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 -
        8
        Python
      • 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
        255
        34
        TypeScript
        MIT License
      • -
        security
        A
        license
        -
        quality
        A server that integrates the MCP library with OpenAI's API, allowing users to interact with various tools, such as the weather tool, through natural language queries.
        Last updated -
        Python
        MIT License
      • A
        security
        A
        license
        A
        quality
        An MCP server that enables LLMs to query data from various NASA APIs, allowing access to astronomical data, space weather information, Earth imagery, and exoplanet information directly from compatible AI clients.
        Last updated -
        21
        3
        Python
        MIT License
        • Apple
        • Linux

      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