Skip to main content
Glama

hevy-mcp

HevyフィットネスアプリAPI用のPython Model Context Protocol (MCP)サーバーです。Claude(またはMCP互換のAI)からHevyのワークアウトデータへのフルアクセスを提供し、ワークアウトの記録、ルーチンの管理、身体測定値の追跡などが行えます。

機能

  • Hevy APIの全エンドポイントを網羅する25個のツール

  • ビルド不要 — 純粋なPython製、インストールして実行するだけ

  • フルCRUD — ワークアウト、ルーチン、エクササイズテンプレート、フォルダ、測定値、Webhookの作成・読み取り・更新

ツール

カテゴリ

ツール

ユーザー

get_user_info

ワークアウト

get_workouts, get_workout, get_workout_count, get_workout_events, create_workout, update_workout

ルーチン

get_routines, get_routine, create_routine, update_routine

ルーチンフォルダ

get_routine_folders, get_routine_folder, create_routine_folder

エクササイズテンプレート

get_exercise_templates, get_exercise_template, create_exercise_template

エクササイズ履歴

get_exercise_history

身体測定値

get_body_measurements, get_body_measurement, create_body_measurement, update_body_measurement

Webhook

get_webhooks, create_webhook, delete_webhook

要件

インストール

git clone https://github.com/YOUR_USERNAME/hevy-mcp
cd hevy-mcp
pip install -r requirements.txt

設定

Claude Desktop

claude_desktop_config.jsonに追加します:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "hevy": {
      "command": "python",
      "args": ["/absolute/path/to/hevy-mcp/server.py"],
      "env": {
        "HEVY_API_KEY": "your-api-key-here"
      }
    }
  }
}

Claude Desktopを再起動してください。チャット内のツールアイコンの下にHevyサーバーが表示されるはずです。

環境変数

または、環境変数にHEVY_API_KEYを設定して直接実行することも可能です:

export HEVY_API_KEY=your-api-key-here
python server.py

使用例

接続後、Claudeに以下のような質問ができます:

  • 「直近5回分のワークアウトを見せて」

  • 「今日行った胸のワークアウトを記録して — ベンチプレス 3x8 100kg、インクラインダンベル 3x10 30kg」

  • 「プッシュ/プル/レッグのルーチンを作成して」

  • 「先月の体重の推移はどうなっている?」

  • 「ルーマニアンデッドリフトのエクササイズテンプレートIDを探して」

  • 「過去3ヶ月間のベンチプレスのセットをすべて見せて」

技術スタック

  • FastMCP — Python MCPサーバーフレームワーク

  • httpx — HTTPクライアント

  • Hevy API — 公式REST API

ライセンス

MIT

A
license - permissive license
-
quality - not tested
-
maintenance - not tested

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

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

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/SrdjanCodes/hevy-mcp'

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