
madebydia/hevy-mcp-server
API developmentこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
MCP サーバーは、エージェントを Hevy ワークアウト アプリ API に接続します.
概要
公式のHevy APIに接続し、ワークアウトデータをAIアシスタントに公開するモデルコンテキストプロトコル(MCP)サーバー。 デュアルトランスポートモードをサポート: リモートアクセス(例えば、Poke.com)のClaudeデスクトップとSSE用のstdio。 構成の詳細は、下の鉄道の展開セクションを参照してください。 - get-workouts - 日付のフィルタリングで開始されたワークアウトリストを取得する - 取得ワークアウト - 完全な詳細でIDでシングルワークアウトを取得する - 作成ワークアウト - 演習とセットで新しいワークアウトを作成 - 更新ワークアウト - 既存のワークアウトを更新 - 取得ワークアウトカウント - 統計のためのトータルワークアウトカウントを取得する - 取得ワークアウトイベント - ワークアウトの更新/削除イベントを日付から取得 - 取得ルーチン - すべて保存されたルーチン - 取得ルーチン - IDで単一のルーチンを入手 - 作成ルーチン - 新しいワークアウトルーチンテンプレートを作成 - 更新ルーチン - 既存のルーチンを更新 - 削除ルーチン - ルーチンを削除 - get-exercise-templates - 利用可能な演習をブラウズ (標準 + カスタム) - get-exercise-template - ID で単一の演習を取得する - .
概要(AI 翻訳)
公式のHevy APIに接続し、ワークアウトデータをAIアシスタントに公開するモデルコンテキストプロトコル(MCP)サーバー。 デュアルトランスポートモードをサポート: リモートアクセス(例えば、Poke.com)のClaudeデスクトップとSSE用のstdio。
@madebydia によって造られる
鉄道への展開
構成の詳細は、下の鉄道の展開セクションを参照してください。
##特徴
MCP ツール
ワークアウト管理
- [[
get-workouts] - 日付のフィルタリングで開始されたワークアウトリストを取得する - [
get-workout- 完全な詳細でIDでシングルワークアウトを取得 - [
create-workout- 演習とセットで新しいワークアウトを作成する - [
update-workout- 既存のワークアウトを更新する - [
get-workout-count- 統計のための総ワークアウト数を取得する - [
get-workout-events- ワークアウトの更新/削除イベントを日付から取得する
ルーチン管理
- [
get-routines- 保存されたすべてのルーチンをリスト - [
get-routine- IDで単一のルーチンを取得 - [
create-routine- 新しいワークアウトルーチンテンプレートを作成する - [
update-routine- 既存のルーチンを更新する - [
delete-routine- ルーチンを削除
#####演習データ
- [
get-exercise-templates- 利用可能な演習をブラウズ (標準 + カスタム) - [
get-exercise-template- IDで単一のエクササイズを取得する
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Hevy MCP Server
A Model Context Protocol (MCP) server that connects to the official Hevy API and exposes workout data to AI assistants. Supports dual transport modes: stdio for Claude Desktop and SSE for remote access (e.g., Poke.com).
Built by @madebydia
Deploy to Railway
See the Railway Deployment section below for configuration details.
Features
MCP Tools
Workout Management
get-workouts- Get paginated workout list with date filteringget-workout- Get single workout by ID with full detailscreate-workout- Create new workout with exercises and setsupdate-workout- Update existing workoutget-workout-count- Get total workout count for statsget-workout-events- Get workout update/delete events since date
Routine Management
get-routines- List all saved routinesget-routine- Get single routine by IDcreate-routine- Create new workout routine templateupdate-routine- Update existing routinedelete-routine- Remove routine
Exercise Data
get-exercise-templates- Browse available exercises (standard + custom)get-exercise-template- Get single exercise by IDget-exercise-progress- Track progress for specific exercises over timeget-exercise-stats- Get personal records and 1RM estimates
Folder Organization
get-routine-folders- List routine foldersget-routine-folder- Get folder by IDcreate-routine-folder- Create new folderupdate-routine-folder- Update folder namedelete-routine-folder- Remove folder
Prerequisites
- Hevy PRO Subscription - Required for API access
- Hevy API Key - Get it at https://hevy.com/settings?developer
- Node.js - Version 18 or higher
Installation
1. Clone and Install Dependencies
git clone https://github.com/madebydia/hevy-mcp-server
cd hevy-mcp-server
npm install
2. Configure Environment
cp .env.example .env
Edit .env and add your Hevy API key:
HEVY_API_KEY=your_hevy_api_key_here
HEVY_API_BASE_URL=https://api.hevyapp.com
# Transport configuration
TRANSPORT=stdio # stdio | sse | both
PORT=3004 # Port for SSE/HTTP mode
HOST=127.0.0.1 # Host for SSE/HTTP mode
# SSE Configuration (for Poke.com)
SSE_PATH=/mcp # SSE endpoint path
HEARTBEAT_INTERVAL=30000 # ms - keep connection alive
AUTH_TOKEN= # See Security section below
Security: AUTH_TOKEN Configuration
When using SSE mode with remote access (e.g., via ngrok for Poke.com), you MUST set an AUTH_TOKEN to prevent unauthorized access to your Hevy data.
Generate a secure token using either method:
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →