Mirobody
Lab results to LOINC codes and UCUM units, symptoms and diagnoses to ICPC-3. Offline, no API key.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
MCP server for the Hevy fitness API — spec-generated schemas, dry-run-safe writes, easy setup.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"hevy": {
"command": "npx",
"args": [
"-y",
"@diecoscai/hevy-mcp"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add hevy -- npx -y @diecoscai/hevy-mcpวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"hevy": {
"command": "npx",
"args": [
"-y",
"@diecoscai/hevy-mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"hevy": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@diecoscai/hevy-mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub diecoscai ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.5.0) เข้า registry 6 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Mirobody, FHIR MCP Server, Google Health MCP
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
Lab results to LOINC codes and UCUM units, symptoms and diagnoses to ICPC-3. Offline, no API key.
MCP server providing seamless access to FHIR APIs for AI tools and healthcare applications
Privacy-first unofficial Google Health API v4 MCP server for health, sleep, activity, HR agents
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Model Context Protocol server for the Hevy fitness API. Manage workouts, routines, exercises, and body measurements from any MCP-compatible client — Claude Desktop, Claude Code, Cursor, VS Code, and anything else that speaks MCP over stdio.
This MCP server exposes the public Hevy API (api.hevyapp.com/v1) as 22 strongly-typed tools. LLM agents can list workouts, create routines, look up exercise templates, track body measurements, and follow a delta-sync feed — all without bespoke glue code on the client.
Design goals:
{ dry_run: true, would_send: { ... } } preview unless HEVY_MCP_ALLOW_WRITES=1 is set. The Hevy API has no DELETE on any resource, so accidental writes are permanent; dry-run is the brake.HEVY_API_KEY. No wizards, no config files; just paste the snippet for your client.Schemas are generated from Hevy's own OpenAPI spec and re-synced automatically, so the server adapts to upstream changes instead of drifting. Writes are dry-run by default; every public endpoint is covered.
Maintenance mode. Feature-complete for Hevy's public API. Schemas are generated from Hevy's OpenAPI spec; a scheduled workflow re-syncs them weekly and opens a PR on any change, and a live integration run catches undocumented server changes. Bug reports and PRs welcome via the issue tracker.
node --version).The fastest path is the setup subcommand — it validates your key and writes a config file the server picks up automatically:
npx @diecoscai/hevy-mcp setup
It prompts for your Hevy Pro API key (from https://hevy.com/settings?developer), checks it against the live API, asks whether to enable write operations, and saves everything to ~/.config/hevy-mcp/config.json (mode 0600). Then add the server to your MCP client with no env block needed:
{
"mcpServers": { "hevy": { "command": "npx", "args": ["-y", "@diecoscai/hevy-mcp"] } } }
Restart the client — the 22 Hevy tools appear in the tools panel.
Prefer environment variables? Skip setup and pass HEVY_API_KEY (and optionally HEVY_MCP_ALLOW_WRITES=1) in the env block instead — see Configuration. Env vars always take precedence over the config file.
Note on bare invocation. Running
npx @diecoscai/hevy-mcpwith no arguments starts a stdio MCP server and blocks, waiting for an MCP client to connect over its stdin/stdout. You don't run it in a terminal yourself — your MCP client spawns it. Usenpx @diecoscai/hevy-mcp --help,--version, orsetupfor a non-blocking invocation.
Write tools are dry-run by default. The first time you ask the server to create or update anything (a workout, a routine, a body measurement) you'll see a preview payload, not a real change. Enable writes by answering "yes" during
setup, or by settingHEVY_MCP_ALLOW_WRITES=1in theenvblock — see Safety.
You can also run the server directly from a local clone instead of via npx. Useful if you want to pin a specific commit, debug a tool locally, or run an unreleased version. Contributors should use Development below instead.
git clone https://github.com/diecoscai/hevy-mcp.git
cd hevy-mcp npm ci npm run build
Then point your MCP client at the built entry instead of npx @diecoscai/hevy-mcp:
{
"mcpServers": { "hevy": { "command": "node", "args": ["/absolute/path/to/hevy-mcp/dist/index.js"], "env": { "HEVY_API_KEY": "PASTE_YOUR_KEY_HERE" } } } }
The env block (including HEVY_MCP_ALLOW_WRITES) works identically to the npx snippets below.
Each MCP client spawns the server as a stdio subprocess with HEVY_API_KEY in its env block.
Config path:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json *(Anthropic does not ship an official Linux build of Claude Desktop as of 2026; the path applies only to unofficial community builds.)*{
"mcpServers": { "hevy": { "command": "npx", "args": ["-y", "@diecoscai/hevy-mcp"], "env": { "HEVY_API_KEY": "PASTE_YOUR_KEY_HERE" } } } }
Add "HEVY_MCP_ALLOW_WRITES": "1" to the env block to enable write tools.
claude mcp add hevy --env HEVY_API_KEY=PASTE_YOUR_KEY_HERE -- npx -y @diecoscai/hevy-mcp
To enable writes, append --env HEVY_MCP_ALLOW_WRITES=1.
Config path: ~/.cursor/mcp.json. Same shape as Claude Desktop:
{
"mcpServers": { "hevy": { "command": "npx", "args": ["-y", "@diecoscai/hevy-mcp"], "env": { "HEVY_API_KEY": "PASTE_YOUR_KEY_HERE" } } } }
Create .vscode/mcp.json at the root of your workspace (or put the same shape under a user-level MCP config if your VS Code build supports one):
{
"servers": { "hevy": { "command": "npx", "args": ["-y", "@diecoscai/hevy-mcp"], "env": { "HEVY_API_KEY": "PASTE_YOUR_KEY_HERE" } } } }
If you use a third-party MCP extension that expects a different shape, check its docs — VS Code's native MCP integration landed in 1.102.
See docs/configuration.md for troubleshooting and client-specific notes, and docs/examples.md for end-to-end flows you can run with a connected MCP client.
Every POST and PUT tool handler checks HEVY_MCP_ALLOW_WRITES at call time:
{
"dry_run": true, "would_send": { "method": "POST", "path": "/v1/routine_folders", "body": { "routine_folder": { "title": "Push days" } } }, "hint": "set HEVY_MCP_ALLOW_WRITES=1 to execute" }
1 — the tool performs the real request.The Hevy API has no `DELETE` endpoint on any resource. A bad write cannot be rolled back from the client — it will persist on your account until you manually fix it in the Hevy app. Dry-run is the first line of defence; explicit opt-in for writes is the second.
The server exposes 23 tools grouped by resource. See docs/tools.md for input schemas and examples.
| Tool | Description |
|---|---|
hevy_get_user_info | Return the authenticated user (name, id, profile URL). |
| Tool | Description |
|---|---|
hevy_list_workouts | Paginated workouts (pageSize 1-10). |
hevy_get_workout | Fetch one workout by UUID. |
hevy_get_workout_count | Total number of workouts on the account. |
hevy_get_workout_events | Delta-sync feed: updated / deleted events since a timestamp. |
hevy_create_workout | Log a new workout (write — dry-run default). |
hevy_update_workout | Full replace of an existing workout (write — dry-run default). |
| Tool | Description |
|---|---|
hevy_list_routines | Paginated routines. |
hevy_get_routine | Fetch one routine by UUID. |
hevy_create_routine | Create a routine (write — dry-run default). |
hevy_update_routine | Full replace of a routine (write — dry-run default). |
| Tool | Description |
|---|---|
hevy_list_routine_folders | Paginated folders. |
hevy_get_routine_folder | Fetch one folder by positive integer id. |
hevy_create_routine_folder | Create a folder (write — dry-run default). |
| Tool | Description |
|---|---|
hevy_list_exercise_templates | Paginated exercise library — the only list that accepts pageSize up to 100. |
hevy_search_exercise_templates | Search templates by name (case-insensitive substring). Resolves a human name (e.g. "bench press") to an exercise_template_id. Paginates the full catalog; results cached for an hour. |
hevy_get_exercise_template | Fetch one template by id (8-char hex for built-ins, UUID for custom). |
hevy_create_exercise_template | Create a custom exercise (write — dry-run default). |
hevy_get_exercise_history | All logged sets for a given exercise template. |
| Tool | Description |
|---|---|
hevy_list_body_measurements | Paginated measurements. Records are keyed by date. |
hevy_get_body_measurement | Fetch the record for a single YYYY-MM-DD. |
hevy_create_body_measurement | Create a new record (write — dry-run default). 409 if the date already exists. |
hevy_update_body_measurement | Replace the record for a date — any field not sent is set to NULL (write — dry-run default). |
| Name | Required | Description |
|---|---|---|
HEVY_API_KEY | required* | Hevy Pro API key (UUID v4). Typically passed through the env block of your MCP client config. |
HEVY_MCP_ALLOW_WRITES | optional | Set to 1 to enable real POST / PUT calls. Any other value (including unset) keeps dry-run on. |
HEVY_MCP_DISABLE_CACHE | optional | Set to 1 to disable the in-memory exercise-template cache (see below). |
HEVY_MCP_CACHE_TTL_SECONDS | optional | Cache TTL in seconds. Default 3600. Ignored when the cache is disabled. |
\* HEVY_API_KEY is required *unless* you ran npx @diecoscai/hevy-mcp setup, which saves the key (and the writes setting) to ~/.config/hevy-mcp/config.json. Resolution order: the env var wins; the config file is the fallback. The same precedence applies to HEVY_MCP_ALLOW_WRITES vs the file's allowWrites.
hevy_list_exercise_templates and hevy_get_exercise_template read through a per-process in-memory cache (Map with per-entry TTL, default 1 hour). The template catalog is large and near-static within a session, so repeated resolution — e.g. looking up an id while building a routine — costs one HTTP round-trip instead of many.
hevy_create_exercise_template invalidates the list portion of the cache on a successful write; singleton template entries are left alone (they can't be made stale by creating a different custom template). The cache is never persisted across processes.
Disable the cache entirely with HEVY_MCP_DISABLE_CACHE=1, or shorten / lengthen its lifetime with HEVY_MCP_CACHE_TTL_SECONDS.
Hevy's public API (api.hevyapp.com/v1/*) does not document webhook subscriptions; the releva
ตัดมาแค่ช่วงต้น อ่านต่อใน repo