Skip to main content
Glama
shinichi-takayanagi

MyWeight MCP Server

MyWeight MCP サーバー

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

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

何をするのか

  • データの取得: Health Planet APIから体重記録を取得します

  • どのクライアントでも動作: すべてのMCPクライアントと互換性があります

  • 安全なアクセス: OAuth2認証で保護されています

Related MCP server: Withings MCP Server

クイックスタートガイド

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

A
license - permissive license
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

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
    Not graded
    quality
    D
    maintenance
    An MCP server that connects Claude to Withings health data using OAuth 2.0. Provides 11 read-only tools to access body measurements, activity, sleep, heart rate, and device information from Withings devices.
    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
    Apache 2.0

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

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