Skip to main content
Glama

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

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
  • 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
    412
    60
    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 -
    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
    4
    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