TH

tomtorggler/hevy-mcp-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

34 stars 13 forks 品質 63 トレンド 20NOASSERTION

tomtorggler/hevy-mcp-server は [https://github.com/tomtorggler/hevy-mcp-server.] からインポートされた MCP サーバーの候補です

概要

tomtorggler/hevy-mcp-server は [https://github.com/tomtorggler/hevy-mcp-server.] からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

HevyフィットネストラッキングAPI用のリモートモデルコンテキストプロトコルサーバー、Cloudflareワーカーで動作します。 Claude(または任意のMCPクライアント)に接続して、ワークアウトをブラウズしてログアウトし、ルーチンを管理し、チャットによる進捗状況を追跡します。

-マルチユーザー:GitHubでサインインし、独自のHevy APIキーを追加します。 ひとつひとつの展開で、多くの人がいます。

  • 標準ベースのauth:PKCE、保護されたリソースメタデータ(RFC 9728)、クライアントIDメタデータ文書および動的クライアント登録でOAuth 2.1。 Claudeのカスタムコネクタとして箱から動作します。
  • MCP SDK v2 (protocol 2026-07-28, 2025-era クライアントが透明に配信された) 上に構築された [[[/mcp]]] で、Stateless Streamable HTTP** です。 セッションなし、耐久性のあるオブジェクトなし。
  • 17ツール タイトル、説明、およびヘビーパブリックAPIをカバーする注釈付き。

ツール

| エリア | ツール | | お問い合わせ | | ワークアウト | [get_workouts, get_workout, [create_workout], [update_workout], [get_workouts_count]], [get_workout_events], [[create_workout]]]], [[[[[create_workout]]]]], [[[get_workouts_count]]]]]], [[[get_workout_events]]]], [[[[[[create_workout]]]]]]], [[[[[[[[[[[[[[[[[[[[[[[[[[[create_workout]]]]]]]]]]]]]]]]]]]、[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ | ルーチン | [[T7], get_routine, create_routine, [update_routine | エクササイズ | [[T11], get_exercise_template, [[T13], [get_exercise_history]

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Hevy MCP Server

A remote Model Context Protocol server for the Hevy fitness tracking API, running on Cloudflare Workers. Connect it to Claude (or any MCP client) to browse and log workouts, manage routines and track progress by chatting.

  • Multi-user: sign in with GitHub, add your own Hevy API key, done. One deployment serves many people.
  • Standards-based auth: OAuth 2.1 with PKCE, protected resource metadata (RFC 9728), Client ID Metadata Documents and Dynamic Client Registration. Works out of the box as a custom connector in Claude.
  • Stateless Streamable HTTP at /mcp, built on MCP SDK v2 (protocol 2026-07-28, with 2025-era clients served transparently). No sessions, no Durable Objects.
  • Tools with titles, descriptions and annotations covering the Hevy public API.

🏋️ Tools

Area Tools
Workouts get_workouts, get_workout, create_workout, update_workout, get_workouts_count, get_workout_events
Routines get_routines, get_routine, create_routine, update_routine
Exercises get_exercise_templates, search_exercise_templates, get_exercise_template, create_exercise_template, get_exercise_history
Folders get_routine_folders, get_routine_folder, create_routine_folder
Body & profile get_user_info, get_body_measurements, get_body_measurement, log_body_measurement, update_body_measurement

Read tools are marked readOnlyHint; update_* tools replace the whole record and are marked destructive so clients can ask before running them.

🔌 Using a hosted instance

  1. Open the server’s home page and click Connect your Hevy account. Sign in with GitHub and paste your API key from Hevy Settings → Developer (requires Hevy Pro).
  2. Add the server to your client using its /mcp URL:
    • Claude (web/desktop): Settings → Connectors → Add custom connector → paste the URL. No client ID or credentials are needed.
    • Claude Code: claude mcp add --transport http hevy https:///mcp, then /mcp to sign in.
    • Other clients: anything that speaks Streamable HTTP with OAuth. stdio-only clients can bridge with npx mcp-remote https:///mcp.
  3. Approve the connection in the browser window your client opens.

🚀 Deploying your own

Prerequisites

  • A Cloudflare account and npx wrangler login
  • A GitHub OAuth App (Settings → Developer settings → OAuth Apps) with the callback URL https:///callback

Steps

git clone https://github.com/tomtorggler/hevy-mcp-server.git
cd hevy-mcp-server
npm install

# Create the KV namespace and put its id into wrangler.jsonc (kv_namespaces → OAUTH_KV)
npx wrangler kv namespace create OAUTH_KV

# Secrets
npx wrangler secret put GITHUB_CLIENT_ID
GitHub で README 全文を見る

インストール

npx wrangler kv namespace create OAUTH_KV
MCP 初心者?mcpskill.org のガイドから始めましょう →