原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Coach MCP

作者:snoozelieb版本 1.4.0i★ –i在你的电脑上运行
注册名称io.github.snoozelieb/coach-mcp

安装

概览

作者提供的说明(英文原文)

Adaptive AI training coach MCP server backed by Garmin Connect

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他
  • 你需要填写:GARMIN_EMAIL, GARMIN_PASSWORD

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: GARMIN_EMAIL, GARMIN_PASSWORD, COACH_DATA_DIR

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "coach": {
      "command": "uvx",
      "args": [
        "garmin-coach-mcp"
      ],
      "env": {
        "GARMIN_EMAIL": "your-value",
        "GARMIN_PASSWORD": "your-value",
        "COACH_DATA_DIR": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add coach --env GARMIN_EMAIL=your-value --env GARMIN_PASSWORD=your-value --env COACH_DATA_DIR=your-value -- uvx garmin-coach-mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "coach": {
      "command": "uvx",
      "args": [
        "garmin-coach-mcp"
      ],
      "env": {
        "GARMIN_EMAIL": "your-value",
        "GARMIN_PASSWORD": "your-value",
        "COACH_DATA_DIR": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "coach": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "garmin-coach-mcp"
      ],
      "env": {
        "GARMIN_EMAIL": "your-value",
        "GARMIN_PASSWORD": "your-value",
        "COACH_DATA_DIR": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • GARMIN_EMAIL 必填 env
    Garmin Connect account email
  • GARMIN_PASSWORD 机密 必填 env
    Garmin Connect account password
  • COACH_DATA_DIR env
    Directory for athlete data files (defaults to the git-checkout data/ dir when run from a checkout, otherwise a per-user data directory)

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 snoozelieb 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 18703 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 18703 个服务器的 93% 更新
  • 基础检查结果等于或优于此分类中其他 18703 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Coach MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:GARMIN_EMAIL, GARMIN_PASSWORD

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.4.0)于3天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, awardlanes

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

作者:formulahendry起步阶段↓ 66/周★ 44014个月前更新

在你的电脑上运行

Remote Desktop Commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

作者:desktop-commander正在增长★ 2114天前更新

在云端运行✓ desktopcommander.app

awardlanes

USDA award lanes for freight brokers

作者:awardlanes.com起步阶段今天更新

在云端运行✓ awardlanes.com

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

coach-mcp

An opinionated AI training coach as an MCP server. It pulls your real data from Garmin Connect and prescribes with authority — science-based load management (ACWR), code-enforced injury gates (the server rejects plans that violate an active injury restriction, no matter what the LLM says), and persistent coaching memory so decisions, rationale, and your adaptation patterns survive between conversations. It will tell you "no" when your enthusiasm exceeds your capacity.

All health data and credentials stay on your machine — see Security & Privacy.

Quickstart

You need Python 3.12+, a free Garmin Connect account, and an MCP client (Claude Code, Claude Desktop, or Cursor).

Option A: uvx (recommended)

No install step — your MCP client runs the server on demand:

uvx garmin-coach-mcp

Jump to Connect your MCP client and use uvx as the command.

Option B: from source
git clone https://github.com/snoozelieb/coach-mcp.git

cd coach-mcp

python -m venv .venv

Linux/macOS:

source .venv/bin/activate

Windows:

.venv\Scripts\activate

pip install -r requirements.txt cp .env.example .env # then edit: GARMIN_EMAIL, GARMIN_PASSWORD python server.py

Connect your MCP client

The server needs two environment variables: GARMIN_EMAIL and GARMIN_PASSWORD. Optional: COACH_DATA_DIR (where your coaching data lives); COACH_TOKEN_DIR, COACH_TRANSPORT and COACH_CODE_MODE are covered under Security & Privacy and Advanced. From a source checkout, a .env file works too.

After one successful login the server runs from the stored Garmin tokens (garmin-coach-login performs that login, MFA included), so a client that cannot expand variables in its config can leave GARMIN_PASSWORD out.

To run the server or the helpers from a terminal, set the two variables in that shell first. PowerShell and bash quote differently:

$env:GARMIN_EMAIL = "you@example.com"

$env:GARMIN_PASSWORD = "your-password"

export GARMIN_EMAIL=you@example.com GARMIN_PASSWORD=your-password
Claude Code
claude mcp add coach-mcp \

--env GARMIN_EMAIL=you@example.com \ --env GARMIN_PASSWORD=your_garmin_password \ -- uvx garmin-coach-mcp

Or in .mcp.json (Claude Code expands ${VAR} from your shell environment, so a committed file holds no secret):

{

"mcpServers": { "coach-mcp": { "command": "uvx", "args": ["garmin-coach-mcp"], "env": { "GARMIN_EMAIL": "you@example.com", "GARMIN_PASSWORD": "${GARMIN_PASSWORD}", "COACH_DATA_DIR": "/path/to/your/coach-data" } } } }

Running from source instead: claude mcp add coach-mcp -- python /full/path/to/coach-mcp/server.py

Claude Desktop

In claude_desktop_config.json (Settings → Developer → Edit Config):

{

"mcpServers": { "coach-mcp": { "command": "uvx", "args": ["garmin-coach-mcp"], "env": { "COACH_DATA_DIR": "/path/to/your/coach-data" } } } }

Claude Desktop reads this file as written (no variable expansion), so keep the Garmin password out of it: run garmin-coach-login once in a terminal with GARMIN_EMAIL and GARMIN_PASSWORD set for that command, and the server logs in from the stored tokens from then on. When they expire the tools say so; run the login again.

Cursor

In .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):

{

"mcpServers": { "coach-mcp": { "command": "uvx", "args": ["garmin-coach-mcp"], "env": { "GARMIN_EMAIL": "you@example.com", "GARMIN_PASSWORD": "${env:GARMIN_PASSWORD}", "COACH_DATA_DIR": "/path/to/your/coach-data" } } } }

If you installed with pip install garmin-coach-mcp instead of uvx, use "command": "garmin-coach-mcp" with no args in any of the blocks above.

First run

  1. Create your profile. Run the interactive wizard (installed copies have the console script; a source checkout can run the script):
   garmin-coach-setup                 # pip / uvx install

python scripts/setup_wizard.py # source checkout

Until a profile exists the server runs in setup mode: plan, program and push writes answer setup_required and name the data directory they looked in.

It creates your athlete profile, training config, and empty plan/memory files in the data directory. Alternatively, create the two required files by hand and let the coach fill in the rest via conversation:

   echo '{"personal":{"name":null},"injury_history":[],"life_constraints":{}}' > data/athlete.json

echo '{"events":[],"current_block":{"phase":"base"}}' > data/training_config.json

  1. Pull your Garmin baseline. In your MCP client, say:

"Run refresh_athlete_baseline and set up my training."

The coach pulls your name, weight, age, HR data, and training capacity from Garmin, then starts the onboarding conversation — goals, constraints, injury history, race calendar.

  1. Garmin MFA / expired session. Garmin logins are token-cached. If tools start returning AUTH_REQUIRED, recover with:
   garmin-coach-login                 # pip / uvx install

python scripts/garmin_login.py # source checkout

It does a fresh credential login, prompts for the MFA code if Garmin asks, and saves new tokens. Restart the MCP server afterwards.

How it works

  1. Snapshot first — every coaching conversation starts from get_coaching_snapshot(): current time context, 7-day week grid (rest days explicit), fitness metrics, plan adherence, open anomalies, injuries, sleep gate.
  2. Load hierarchy before prescribing — overall ACWR (injury gate, 0.8–1.3 sweet spot), then sport-specific ACWR (spike detection), then sport-specific CTL (race readiness).
  3. Hard gates are code, not vibes — update_weekly_plan and push_plan_to_garmin reject sessions that violate an active injury's restricted activities, and every non-rest session must carry a purpose or the save is refused. Multi-week programs (training_program) are rejected if their starting capacity contradicts your actual history.
  4. Grounded in what you've actually done — prescriptions are anchored to your demonstrated per-sport capacity from recent sessions, not template numbers; a weekly plan that outruns that history comes back with grounding_warnings.
  5. Curiosity with memory — planned-vs-actual anomalies (missed session, type mismatch, activity on a rest day) register once with a lifecycle (open → asked → resolved); the coach asks you what happened instead of silently assuming.
  6. Everything persists — decisions, approvals, adaptation patterns, and season lifecycle (race debriefs, phase transitions) live in local JSON and carry across sessions.

MCP surface

54 tools — you don't call them directly; the coach uses them during conversation:

CategoryTools
Coaching coreget_coaching_snapshot (canonical, sectioned), get_compliance_report, get_coaching_score
Planningget_weekly_plan, update_weekly_plan, preview_workout (render one session the way the watch will show it, or fetch the session contract), push_plan_to_garmin (preview with the step tree per session, then confirm), training_program (action=get/set; multi-week programs, capacity-anchored and injury-gated), get_week_constraints, get_weekly_prescription, get_periodization_status, update_phase
Garmin dataquery_metrics (kind=fitness/sport_history/intensity/daily/readiness/personal_records), get_activities_range
Athleteget_athlete, update_athlete, set_ftp, set_threshold_pace, analyze_ftp_test, refresh_athlete_baseline, refresh_fitness_history, backfill_history, get_onboarding_guide
Methodologyget_methodology, update_methodology
Racesraces (action=list/add/update/research), remove_race
Strengthsync_strength_session, get_strength_baseline, approve_progression, set_exercise_preference, generate_strength_workout, add_exercise
Injuriesdiagnose_injury, research_injury, update_injury_status
Researchresearch_exercise, list_exercises, research_sport
Memorylog_coaching_decision, get_active_decisions, update_decision_status, record_athlete_response, get_response_patterns, resolve_anomaly
Approvalspropose_coaching_action, list_pending_approvals, approve_proposal, reject_proposal
Weatherget_weather_outlook (wind, gusts, rain and daylight at the profile location — Open-Meteo, no key), set_location
Interactivegenerate_smart_brief, interactive_check_in

Every tool carries MCP annotations (read-only / destructive / idempotent / open-world), enforced by tests.

7 prompts: weekly_planning, morning_brief, injury_assessment, week_review, onboarding, race_program, author_session.

7 resources: coach://athlete/profile, coach://plan/current, coach://config/training, coach://coaching/decisions, coach://context/now, coach://coaching/doctrine (the long-form coaching doctrine), coach://authoring/contract (the generated session contract).

Security & Privacy

Everything stays on your machine:

  • Credentials: GARMIN_EMAIL/GARMIN_PASSWORD live in your MCP client config or a local .env. Garmin OAuth tokens are cached in a local token store (.garth/ in a source checkout, a per-user garmin-tokens directory for installed copies; override with COACH_TOKEN_DIR).
  • Health data: all coaching data (profile, plans, fitness history, sleep, coaching memory) is local JSON in your data directory. There is no backend, no telemetry, no analytics.
  • What leaves your machine: requests to Garmin's own API (your credentials/tokens, sent only to Garmin); whatever your MCP client sends to its LLM as part of the conversation; optional public web-page fetches when the coach researches a race, injury, or exercise. Nothing else: the FastMCP startup banner that would check PyPI for updates is disabled.
  • Network exposure: stdio by default, nothing listens. The HTTP transports need COACH_HTTP_TOKEN and validate Host/Origin on every request; research fetches go only to public https addresses, pinned to the address that passed the check.
  • Single athlete per data directory by design. For multiple athletes, run separate server instances with separate COACH_DATA_DIRs.

See SECURITY.md for details and how to report issues.

Data directory

Resolution order: COACH_DATA_DIR env var → data/ in a source checkout → a per-user data directory (created on first run for installed packages). The only file shipped with the package is methodology.json (safety rules, race templates, personas); everything personal is created locally and never committed.

Advanced

# HTTP transport instead of stdio: a bearer token is required (clients send

"Authorization: Bearer "); Host and Origin headers are checked on

every request. COACH_HTTP_INSECURE=1 waives the token on 127.0.0.1 only.

COACH_HTTP_TOKEN="$(python -c 'import secrets; print(secrets.token_urlsafe(32))')" COACH_TRANSPORT=http FASTMCP_PORT=8000 garmin-coach-mcp

Code Mode (search/execute meta-tools instead of 52 individual tools)

pip install fastmcp[code-mode] COACH_CODE_MODE=1 garmin-

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx