trackman-mcp
v0.4.0Fetch your Trackman Golf stats (handicap, rounds, shots, club gapping) as MCP tools.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
auth Auth
Check or (re)establish your Trackman sign-in. Actions: - `status` (default): report whether the current token works and who you're signed in as. Use this first; it never opens anything. - `login`: (re)authenticate. Tries a silent refresh of the saved browser session first; if that's expired and `open_browser` is true, opens a window to sign in once. Use when `status` says expired/not signed in. Never echoes the token.
| Parameter | Type | Description |
|---|---|---|
action | string | |
open_browser | boolean |
get_profile Get Profile
Get the player's profile and current handicap. Returns identity (name, email, nationality, dexterity, category) and the current handicap (`hcp.currentHcp`, plus the most recent handicap record).
get_handicap Get Handicap
Get handicap history: per-round differentials and how the index moved.
| Parameter | Type | Description |
|---|---|---|
only_in_avg | boolean | only records counted in the handicap average. |
skip | integer | paging offset. |
take | integer | number of records to return. |
list_sessions List Sessions
List the player's activities (practice sessions and course rounds).
| Parameter | Type | Description |
|---|---|---|
include_hidden | boolean | include activities the user has hidden. |
kinds | optional ActivityKind filter, e.g. ["RANGE_PRACTICE", "COURSE_PLAY"]. | |
skip | integer | |
take | integer | |
time_from | ||
time_to |
get_session Get Session
Get one activity in full by its id — including shot-level launch metrics. For RANGE_PRACTICE: every stroke with its measurement (ball/club speed, smash, launch, spin, carry, side, curve, landing angle, …). For COURSE_PLAY: the scorecard with per-hole scores and per-shot metrics.
| Parameter | Type | Description |
|---|---|---|
activity_id * | string |
get_course_rounds Get Course Rounds
Get the player's course rounds (scorecards). Each round includes per-hole scores (score, putts, GIR, hcp strokes) and round aggregates (`stat`: driving, FIR, GIR, putts, score distribution).
| Parameter | Type | Description |
|---|---|---|
completed | filter by completion (True = finished rounds only). | |
skip | integer | |
take | integer |
get_club_stats Get Club Stats
Get per-club gapping and dispersion ("My Bag" / Find My Distance). For each club: average carry and total, carry/total standard deviation, and the dispersion ellipse. This is the source for gapping analysis.
| Parameter | Type | Description |
|---|---|---|
include_retired | boolean |
get_activity_summary Get Activity Summary
Get activity counts grouped by kind over an optional time window.
| Parameter | Type | Description |
|---|---|---|
skip | integer | |
take | integer | |
time_from | ||
time_to |
session_analysis Session Analysis
Per-session analysis (deterministic classification + metrics, stored locally). Actions: - `analyze` (needs `activity_id`): fetch a session, classify it (warm-up vs serious practice vs game), compute metrics, normalize vs prior stored sessions, store the record (last 30 kept), and return it. - `get` (needs `activity_id`): return one stored analysis record. - `list`: return the index of stored analyses (most recent first). Drive this with the `trackman-session-analyzer` prompt.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
activity_id |
training_plan Training Plan
The coach's memory: save prescribed practice plans and recall/grade them. Actions: - `save` (needs `plan`): persist a prescribed plan to the pending queue. The `plan` is a structured dict — title, focus, diagnosis, blocks [{name, club, reps, detail, link, goal}], and optional `target_specs` (machine-readable targets, e.g. {metric:'clubPath', club:'DRIVER', op:'between', low:-1, high:2}) used by `verify`. Returns the stored plan (with id). Capped at the most recent 50. - `next`: return the next pending plan — the answer to "what's today's training?". - `list` (optional `status`='…
| Parameter | Type | Description |
|---|---|---|
action * | string | |
activity_id | ||
plan | ||
plan_id | ||
result_session_id | ||
status |
build_visualization Build Visualization
Render a coaching diagnosis into a self-contained animated HTML page. Returns `{html}` — one standalone document (inline canvas/JS, no network, no external resources) ready to drop straight into a Claude **HTML artifact**. `data` shape (all optional; the viz adapts): {title, subtitle, diagnosis, handedness "RH"|"LH", shots:[{launchDirection,launchAngle,carry,total, totalSide,curve,maxHeight,landingAngle,hangTime}], swing:{clubPath,faceAngle,faceToPath}, targets:[{label,value,target,low, high,met}], blocks:[{name,detail,goal,where "range"|"home", links:[{label,url}]}]}. Renders the measured…
| Parameter | Type | Description |
|---|---|---|
data * | object |
setup Setup
One-call onboarding for the Trackman golf coach. Returns everything needed to set the coach up in your client: - `system_prompt`: paste into a Claude/ChatGPT **Project's** custom instructions so every chat in it is the coach (with this MCP connected); - `skills`: upload-ready `SKILL.md` files (Settings → Capabilities → Skills) for always-on auto-activation; - `instructions`: per-client steps (Claude Projects, Desktop Skills, ChatGPT, Claude Code). An MCP server can't create the Project or enable Skills itself — this hands you the content + steps. In Claude Code, the assistant can…