Hevy MCP
hevy-mcp: Hevy Fitness API 用モデルコンテキストプロトコルサーバー
HevyフィットネストラッキングアプリとそのAPIと連携するモデルコンテキストプロトコル(MCP)サーバー実装。このサーバーにより、AIアシスタントはHevy API(PROサブスクリプションが必要)を介してワークアウトデータ、ルーチン、エクササイズテンプレートなどにアクセスし、管理できるようになります。
特徴
ワークアウト管理: ワークアウトの取得、作成、更新
ルーチン管理: トレーニングルーチンにアクセスして管理する
エクササイズテンプレート: 利用可能なエクササイズテンプレートを参照します
フォルダの整理: 日常的なフォルダを管理する
Related MCP server: hevy-mcp
前提条件
Node.js (v20以上)
npmまたはyarn
Hevy APIキー
インストール
Smithery経由でインストール
Smithery経由で Claude Desktop 用の hevy-mcp を自動的にインストールするには:
npx -y @smithery/cli install @chrisdoc/hevy-mcp --client claude手動インストール
# Clone the repository
git clone https://github.com/chrisdoc/hevy-mcp.git
cd hevy-mcp
# Install dependencies
npm install
# Create .env file from sample
cp .env.sample .env
# Edit .env and add your Hevy API keyカーソルとの統合
この MCP サーバーを Cursor で使用するには、次の構成を追加して~/.cursor/mcp.jsonファイルを更新する必要があります。
{
"hevy-mcp-server": {
"command": "npx",
"args": ["-y", "hevy-mcp"],
"env": {
"HEVY_API_KEY": "your-api-key-here"
}
}
}your-api-key-here実際の Hevy API キーに置き換えてください。
構成
プロジェクト ルートに次の内容の.envファイルを作成します。
HEVY_API_KEY=your_hevy_api_key_hereyour_hevy_api_key_here実際の Hevy API キーに置き換えます。
使用法
発達
npm run devこれにより、ホット リロードを使用して MCP サーバーが開発モードで起動します。
生産
npm run build
npm start利用可能なMCPツール
サーバーは次の MCP ツールを実装します。
トレーニングツール
get-workouts: ワークアウトデータを取得してフォーマットするget-workout: IDで単一のワークアウトを取得するcreate-workout: 新しいワークアウトを作成するupdate-workout: 既存のワークアウトを更新するget-workout-count: ワークアウトの合計数を取得するget-workout-events: ワークアウトの更新/削除イベントを取得する
日常的なツール
get-routines: ルーチンデータを取得してフォーマットするcreate-routine: 新しいルーチンを作成するupdate-routine: 既存のルーチンを更新するget-routine: IDで単一のルーチンを取得する
演習テンプレートツール
get-exercise-templates: エクササイズテンプレートを取得するget-exercise-template: IDでテンプレートを取得する
ルーチンフォルダーツール
get-routine-folders: ルーチンフォルダを取得するcreate-routine-folder: 新しいフォルダを作成するget-routine-folder: IDでフォルダを取得する
プロジェクト構造
hevy-mcp/
├── .env # Environment variables (API keys)
├── src/
│ ├── index.ts # Main entry point
│ ├── tools/ # Directory for MCP tool implementations
│ │ ├── workouts.ts # Workout-related tools
│ │ ├── routines.ts # Routine-related tools
│ │ ├── templates.ts # Exercise template tools
│ │ └── folders.ts # Routine folder tools
│ ├── generated/ # API client (generated code)
│ │ ├── client/ # Kiota-generated client
│ └── utils/ # Helper utilities
│ ├── formatters.ts # Data formatting helpers
│ └── validators.ts # Input validation helpers
├── scripts/ # Build and utility scripts
└── tests/ # Test suite発達
コードスタイル
このプロジェクトでは、コードのフォーマットとリンティングに Biome を使用します。
npm run checkAPIクライアントの生成
API クライアントは、Kiota を使用して OpenAPI 仕様から生成されます。
npm run export-specs
npm run build:clientライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細については LICENSE ファイルを参照してください。
貢献
貢献を歓迎します!お気軽にプルリクエストを送信してください。
謝辞
MCP SDK のモデルコンテキストプロトコル
HevyのフィットネストラッキングプラットフォームとAPI
Maintenance
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
- AlicenseNot gradedqualityCmaintenancePython MCP server for the Hevy fitness app. Gives Claude full access to your Hevy data. Log workouts, manage routines, track body measurements, browse exercises, and more. Covers all 25 endpoints of the official Hevy API.MIT
- AlicenseAqualityBmaintenanceAn MCP server that interfaces with the Hevy fitness tracking API, enabling AI assistants to manage workouts, routines, exercise templates, and more via natural language.265,897MIT
- AlicenseNot gradedqualityCmaintenanceA 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.13MIT
Related MCP Connectors
Create Hevy routines and analyze your training from chat. Unofficial; BYO Hevy PRO API key.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP server for Withings health data — sleep, activity, heart, and body metrics.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/chrisdoc/hevy-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server