Skip to main content
Glama

hevy-mcp

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

機能

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

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

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

Related MCP server: Hevy MCP Pro

ツール

カテゴリ

ツール

ユーザー

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

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    A
    maintenance
    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).
    23
    1,845 npm
    530
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    A production-ready MCP server for the Hevy fitness API that exposes 27 tools for reading, writing, and analyzing workout data, enabling LLM-driven personal trainer workflows.
    27
    6 npm
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    An MCP server that interfaces with the Hevy fitness tracking API, enabling AI assistants to manage workouts, routines, exercise templates, and more via natural language.
    26
    1,845 npm
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    A Model Context Protocol (MCP) server that provides AI assistants with access to the Hevy fitness tracking API. This allows you to log workouts, manage routines, browse exercises, and track your fitness progress directly through AI chat interfaces.
    18 npm
    MIT