Mirobody
Lab results to LOINC codes and UCUM units, symptoms and diagnoses to ICPC-3. Offline, no API key.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Talk to your own fitness data. Findings computed in code against your own 28-day baselines.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
GARMIN_EMAIL, GARMIN_PASSWORD, ANTHROPIC_API_KEYค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"trainbud": {
"command": "npx",
"args": [
"-y",
"trainbud",
"start"
],
"env": {
"GARMIN_EMAIL": "ใส่ค่าของคุณ",
"GARMIN_PASSWORD": "ใส่ค่าของคุณ",
"ANTHROPIC_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add trainbud --env GARMIN_EMAIL='ใส่ค่าของคุณ' --env GARMIN_PASSWORD='ใส่ค่าของคุณ' --env ANTHROPIC_API_KEY='ใส่ค่าของคุณ' -- npx -y trainbud startเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"trainbud": {
"command": "npx",
"args": [
"-y",
"trainbud",
"start"
],
"env": {
"GARMIN_EMAIL": "ใส่ค่าของคุณ",
"GARMIN_PASSWORD": "ใส่ค่าของคุณ",
"ANTHROPIC_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"trainbud": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"trainbud",
"start"
],
"env": {
"GARMIN_EMAIL": "ใส่ค่าของคุณ",
"GARMIN_PASSWORD": "ใส่ค่าของคุณ",
"ANTHROPIC_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub Zsadigzade ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: GARMIN_EMAIL, GARMIN_PASSWORD, ANTHROPIC_API_KEY
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.9.0) เข้า registry 2 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js, Docker ในเครื่องด้วย
ในหมวดเดียวกันมี 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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Talk to your training data.
TrainBud is an open-source MCP server that connects your Garmin Connect fitness data to Claude, Cursor, and other AI assistants. Ask about workouts, sleep, heart rate, recovery, and body composition in plain English — privately, on your machine.
Disclaimer: TrainBud is an unofficial community project. It is not affiliated with, endorsed by, or sponsored by Garmin Ltd. Garmin Connect is a trademark of Garmin Ltd.
Once connected to your MCP client, ask things like:
See examples/prompts.md for more ideas.
.env; data is cached on your machine.trainbud/npx trainbud setup
The setup wizard walks you through credentials, authentication, and connecting Cursor or Claude Desktop — no MCP config editing required. Then restart your MCP client and ask it what you did today.
To keep trainbud on your PATH instead of typing npx every time:
npm install -g trainbud
trainbud setup
Needs Node 22.12+. Full walkthrough: QUICKSTART.md
From source (for contributors, or to run an unreleased commit)
git clone https://github.com/Zsadigzade/trainbud.git
cd trainbud npm install npm run build npm link # puts trainbud on your PATH; undo with npm unlink -g trainbud trainbud setup
Without npm link, every trainbud in this README is node dist/index.js run from the repo root. If dist/ does not exist yet, run npm run build first.
Install as a Claude Code plugin — skills and MCP server in one step:
/plugin marketplace add Zsadigzade/trainbud
/plugin install trainbud@trainbud
Set credentials, then restart Claude Code:
export GARMIN_EMAIL="your@email.com"
export GARMIN_PASSWORD="yourpassword"
| Command | What it does |
|---|---|
/trainbud:trainbud-setup | First-time setup and diagnostics |
/trainbud:trainbud | Ask about workouts, sleep, recovery, HR, stress, VO2 max |
Plugin files live in plugin/. See plugin/README.md.
This repo also ships project skills in .claude/skills/ for development without installing the plugin:
| Command | What it does |
|---|---|
/trainbud-setup | Install, authenticate, configure MCP, run live check |
/trainbud | Ask about workouts, sleep, recovery, HR, stress, VO2 max |
Open the repo in Claude Code (claude in this directory) — skills load automatically.
To use skills in every project without the plugin, copy them to ~/.claude/skills/.
After setup, restart your MCP client and try /trainbud with *"What did I do today?"*
trainbud serve hosts a dashboard at /dashboard. It is phone-first, because the pairing flow is: you are standing next to the watch holding a phone when you approve a code.
It shows what stands out today against your own baselines, this week against last week, and resting heart rate and sleep plotted against your own 30-day median — all read from the local history store, so it paints instantly and works even when your Connect session has expired. A break in a line is a day with no measurement, not a zero.
It is also where you tell TrainBud who it is talking to:
| Setting | What it changes |
|---|---|
| Name, units, primary sport, weekly goal | Every renderer, and what the AI is told about you |
| Thresholds | Where green becomes amber and amber becomes red — on the watch too |
| Watch cards | Which cards appear on the wrist and in what order, live on the next sync |
| AI model, tone, answer length | How the Ask card and the daily insight sound |
| Your own Ask questions | Up to five, 32 characters each. They lead the watch's Ask menu; the rest of the slots stay generated from what fired |
| Monthly spending cap | Optional. Refuses an Ask past the cap instead of spending past it |
| Privacy | Local feature counters, on by default, with a delete button |
Usage. TrainBud runs on your own AI provider key, so every question and every daily insight is charged to you. The dashboard shows the tokens and cost per call, the month to date, and a 30-day chart. A model this build has no published price for is recorded with its cost left *unknown* rather than as zero — a call priced at zero would make a cap that can never trip.
Nothing on this page leaves your machine. There is no endpoint to send it to.
View recovery, sleep, activity, stress, and VO2 max on your Garmin watch via a Connect IQ widget in ciq/.
Requires: trainbud serve running + HTTPS tunnel (same setup as web AI).
trainbud serve
cloudflared tunnel --url http://127.0.0.1:3847
2. Build and sideload the widget — see [ciq/README.md](./ciq/README.md)
https://abc.trycloudflare.com)/dashboard?token=YOUR_API_KEY) to complete setup. The dashboard swaps that token for a session cookie and drops it from the URL, so the address bar is safe to screenshot afterwards.The glance shows recovery and sleep, or the top finding in a few characters ("RHR +4 bpm"), from the last cached summary, so it renders without waiting on the network; once that is more than two hours old it says so. Open it and tap or swipe to cycle through the cards you left switched on in the dashboard. The watch calls GET /api/watch — a compact JSON summary, not the full MCP protocol.
On the Today card, START (or tap) opens a finding to the rule it fired on — "Each of the last 3 days was at least 3 bpm and 2 deviations above your 28-day median of 48 bpm" — and from there it can be muted for three days (POST /api/mute). The Sleep card names what moved last night against your own nights ("Deep 40m (1h24m)"). On the Forerunner 55, whose widget has 64 KB, those two are compiled out so the rest still fits.
Every finding fires on a rule you can see and move. The dashboard's Detector rules section holds the bars — resting HR days/bpm/deviations, sleep-debt hours, HRV drop, the training-load ratios, and "several signals together" (resting HR up, HRV down and sleep stress up at once) — bounded so no setting makes every day, or no day, a finding. Every surface shows the rule a finding fired on, with the numbers that were in force.
/voice)Hold a button on your phone, ask a question out loud, hear the answer read back. Open https://YOUR-HOST/voice?token=YOUR_API_KEY once; it trades the key for a cookie and redirects to a clean URL.
whisper-large-v3-turbo, about $0.04 per hour of audio). Add the key on the dashboard.Not a watch feature and it cannot be one: Connect IQ exposes no microphone or speaker to a widget. Not hands-free either — mobile browsers suspend the microphone when the tab is backgrounded, so the phone has to be awake with the page in front of you.
Full detail: docs/VOICE.md
/voice and the watch, without babysitting a terminal)trainbud serve in a terminal lasts until the terminal closes. To have the server and the tunnel come back by themselves after a reboot:
.\scripts\install-always-on.ps1 -Hostname trainbud.example.com
That registers a scheduled task for the server and a watchdog that checks both halves every five minutes — because a tunnel that answers is not a server that answers: a tunnel with nothing behind it serves its own error page under a 200, so the link looks alive while the watch reports HTTP -400. systemd, launchd and Docker Compose recipes are in the guide.
Full detail, including Cloudflare named tunnels: docs/ALWAYS-ON.md
Edit claude_desktop_config.json:
Windows: %APPDATA%\Claude\claude_desktop_config.json macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": { "trainbud": { "command": "node", "args": ["C:/path/to/trainbud/dist/index.js", "start"], "env": { "GARMIN_EMAIL": "your@email.com", "GARMIN_PASSWORD": "yourpassword" } } } }
With trainbud on your PATH (npm install -g trainbud, or npm link from a clone), point the client at the command instead of a path:
{
"mcpServers": { "trainbud": { "command": "trainbud", "args": ["start"] } } }
Restart your MCP client, then start asking questions.
| Tool | What it answers |
|---|---|
get_latest_activity | Your most recent workout — distance, pace, HR, elevation |
get_activities_range | Activities between two dates |
get_sleep_data | Sleep duration, stages, score, awakenings — and which parts of last night were unusual for you |
get_heart_rate_trends | Resting, max, and average HR over time |
get_recovery_status | Recovery score from HRV, sleep, stress, resting HR |
get_body_composition | Weight, body fat, and muscle mass trends |
get_stress_levels | Daily stress averages and trends |
get_vo2_max_trends | VO2 max fitness trends over time |
get_training_insights | Combined weekly summary (activities, sleep, recovery, stress) |
get_findings | What stands out against your own 28-day baselines, with the rule each finding fired on |
get_week_review | This week against last, the load forecast, sleep debt, and your next race |
compare_workouts | One workout against your own earlier efforts of the same type and distance |
remember_context | Record a goal, a race and its date, an injury, or a note |
get_user_context | What is on record about you, on any date |
log_subjective | How a session actually felt — RPE, soreness, mood |
trainbud setup # Interactive first-time setup (recommended)
trainbud serve # Remote HTTP
ตัดมาแค่ช่วงต้น อ่านต่อใน repo