MH

madebydia/hevy-mcp-server

API development

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

3 stars 17 forks 품질 53 트렌드 8

MCP 서버는 Hevy 운동 app API에 대리인을 연결합니다.

개요

공식 Hevy API에 연결하는 모델 Context Protocol (MCP) 서버와 AI 조수에 대한 운동 데이터를 노출합니다. 듀얼 전송 모드를 지원: Claude Desktop 및 SSE for Remote Access (e.g., Poke.com)에 대한 stdio. 아래의 철도 배포 섹션을 참조하십시오. - get-workout - 날짜 필터링으로 질화 된 운동 목록을 얻으십시오 - get-workout - 전체 세부 사항으로 ID로 단일 운동을 가져옵니다 - 생성 운동 - 운동과 세트로 새로운 운동을 생성 - 기존 운동 업데이트 - get-workout-count - 통계에 대한 총 운동 수를 얻으십시오 - get-workout-events - 날짜 이후 운동 업데이트 / 종료 이벤트를 얻으십시오 - get-routines - 모든 저장된 루틴 목록 - get-routine - ID - create-routine - 새로운 운동 루틴 템플릿 만들기 - 업데이트 - 기존 루틴 업데이트 - 삭제 - 루틴 제거 - get-exercise-templates - 검색 가능한 운동 (표준 + 사용자 정의) - get-exercise-template - ID로 단일 운동을 가져옵니다 -...

개요(AI 번역)

공식 Hevy API에 연결하는 모델 Context Protocol (MCP) 서버와 AI 조수에 대한 운동 데이터를 노출합니다. 듀얼 전송 모드를 지원: Claude Desktop 및 SSE for Remote Access (e.g., Poke.com)에 대한 stdio.

에 의해 제작 @madebydia

철도에 배포

아래의 철도 배포 섹션을 참조하십시오.

특징

MCP 도구

운동 관리

  • get-workouts - 날짜 필터링을 가진 paginated 운동 명부를 얻으십시오
  • 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 filtering
  • get-workout - Get single workout by ID with full details
  • create-workout - Create new workout with exercises and sets
  • update-workout - Update existing workout
  • get-workout-count - Get total workout count for stats
  • get-workout-events - Get workout update/delete events since date

Routine Management

  • get-routines - List all saved routines
  • get-routine - Get single routine by ID
  • create-routine - Create new workout routine template
  • update-routine - Update existing routine
  • delete-routine - Remove routine

Exercise Data

  • get-exercise-templates - Browse available exercises (standard + custom)
  • get-exercise-template - Get single exercise by ID
  • get-exercise-progress - Track progress for specific exercises over time
  • get-exercise-stats - Get personal records and 1RM estimates

Folder Organization

  • get-routine-folders - List routine folders
  • get-routine-folder - Get folder by ID
  • create-routine-folder - Create new folder
  • update-routine-folder - Update folder name
  • delete-routine-folder - Remove folder

Prerequisites

  1. Hevy PRO Subscription - Required for API access
  2. Hevy API Key - Get it at https://hevy.com/settings?developer
  3. 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:

GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →