MCP 服务器

SportsTrackLive

com.sportstracklive/mcp
数据与分析 公开且可连接 MCP 2025-11-25

此 MCP 可以做什么

Analyzes GPS activity files and public sports tracks, providing sport-specific metrics, live activity lookup, and 3D replays.

analyze_activity_file
Analyze a GPS activity trace file (GPX, TCX, IGC, SBP or FIT, max 8 MiB) and return sport-specific metrics computed by the SportsTrackLive engine: distance, speeds, altitudes, and — depending on the sport — thermal detection with climb statistics, flight phases (glide/float/search) with glide polar and MacCready, wind estimation, lap detection around course marks, and splits. Stateless: nothing is stored, no account needed. Provide the file ONE of three ways — never reconstruct file content inside the conversation: (1) LOCAL file + shell available: run `curl -s -X POST https://mcp.sportstracklive.com/upload --data-binary @/path/to/file` in ONE command, then pass the returned `upload_id`; (2) file already online: pass its public https link as `file_url`, the server downloads it; (3) `file_base64` only for small files (< ~100 KB).
只读 幂等
输入模式
{'type': 'object', '$defs': {'SportKind': {'enum': ['auto', 'paragliding', 'hang_gliding', 'glider', 'balloon', 'sailing', 'windsurfing', 'cycling', 'mountain_biking', 'running', 'trail_running', 'ski', 'hiking', 'motorsport', 'other'], 'type': 'string', 'description': 'Sport declared by the calling agent. `Auto` lets the server guess from\nthe file format and the trace kinematics; the resolved value is returned\nin `context_used` so the agent can correct it and call again.'}, 'DetailLevel': {'enum': ['standard', 'full'], 'type': 'string'}, 'MeasureUnit': {'enum': ['metric', 'imperial'], 'type': 'string'}}, '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['filename'], 'properties': {'sport': {'$ref': '#/$defs/SportKind', 'default': 'auto', 'description': 'Sport of the activity. Use "auto" (default) to let the server infer it\nfrom the file format and trace kinematics; the resolved sport is\nreturned in `context_used.sport` and can be overridden on a second call.'}, 'detail': {'$ref': '#/$defs/DetailLevel', 'description': '"standard" (default) returns every computed insight but strips the\nbulky point-level payloads (per-phase segment lists, wind timeline,\npause/trim ranges) â\x80\x94 a few KB instead of tens. "full" returns the\nraw engine output unabridged.'}, 'file_url': {'type': ['string', 'null'], 'default': None, 'description': 'Public https:// URL of the file (e.g. a cloud share or export link);\nthe server downloads it (15 MiB cap). Provide exactly one of\n`file_url`, `upload_id` or `file_base64`.'}, 'filename': {'type': 'string', 'description': 'File name including its extension â\x80\x94 the extension selects the parser.\nSupported: .gpx, .tcx, .igc, .sbp, .fit'}, 'upload_id': {'type': ['string', 'null'], 'default': None, 'description': 'Id returned by POST https://mcp.sportstracklive.com/upload â\x80\x94 the way\nto analyze a LOCAL file when a shell is available: run\n`curl -s -X POST https://mcp.sportstracklive.com/upload --data-binary @/path/to/file`\n(one command, the file content never enters the conversation), then\npass the returned upload_id here with the original filename.'}, 'file_base64': {'type': ['string', 'null'], 'default': None, 'description': 'The file content, base64-encoded. Maximum 8 MiB decoded. Provide\neither this or `file_url`. Prefer `file_url` for files over ~100 KB:\nit keeps the payload out of the conversation.'}, 'measure_unit': {'$ref': '#/$defs/MeasureUnit', 'description': 'Preferred units for the computed metrics ("metric" default, or\n"imperial").'}}}
create_ephemeral_replay
Create an interactive 3D replay of the USER'S OWN trace file (GPX, TCX, IGC, SBP or FIT, max 8 MiB) on SportsTrackLive and return its link. The flight becomes a PRIVATE track owned by a temporary guest account — it appears in no listing or search — and the link stays valid 7 days, after which everything is purged. From the replay page the user can create an account to keep the flight permanently. Provide the file exactly like analyze_activity_file (upload_id / file_url / file_base64); pass pilot_name so the player credits the right person. Takes up to ~90 s (the full analysis pipeline runs).
输入模式
{'type': 'object', '$defs': {'SportKind': {'enum': ['auto', 'paragliding', 'hang_gliding', 'glider', 'balloon', 'sailing', 'windsurfing', 'cycling', 'mountain_biking', 'running', 'trail_running', 'ski', 'hiking', 'motorsport', 'other'], 'type': 'string', 'description': 'Sport declared by the calling agent. `Auto` lets the server guess from\nthe file format and the trace kinematics; the resolved value is returned\nin `context_used` so the agent can correct it and call again.'}}, '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['filename'], 'properties': {'sport': {'$ref': '#/$defs/SportKind', 'default': 'auto', 'description': 'Sport of the activity â\x80\x94 improves the analysis (thermals/phases for\nfree flight). Defaults to auto-ish generic handling server-side.'}, 'file_url': {'type': ['string', 'null'], 'default': None}, 'filename': {'type': 'string', 'description': 'File name including its extension (.gpx, .tcx, .igc, .sbp, .fit).'}, 'language': {'type': ['string', 'null'], 'default': None, 'description': 'BCP-47-ish language for the guest account pages ("en" default, "fr"â\x80¦).'}, 'upload_id': {'type': ['string', 'null'], 'default': None}, 'pilot_name': {'type': ['string', 'null'], 'default': None, 'description': "Name of the pilot/athlete, shown in the 3D player instead of an\nanonymous placeholder. Use the user's name if they shared it."}, 'file_base64': {'type': ['string', 'null'], 'default': None, 'description': 'Same three sources as analyze_activity_file â\x80\x94 provide exactly one.'}}}
get_live_activities
List public SportsTrackLive activities being recorded LIVE right now (paragliding flights, sailing races, rides, runs…), optionally filtered by sport and country. Each entry carries the athlete, sport, location, start time, latest recorded position/speed and a watch_url to follow the activity live in a browser.
只读
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'limit': {'type': ['integer', 'null'], 'format': 'uint32', 'maximum': 50, 'minimum': 1, 'description': 'Max results, 1-50 (default 20).'}, 'sport': {'type': ['string', 'null'], 'maxLength': 64, 'description': 'Sport / category name filter, e.g. "paragliding", "sailing".'}, 'country': {'type': ['string', 'null'], 'maxLength': 64, 'description': 'Country filter: ISO 3166-1 alpha-2 code ("FR", "CH") or a country\nname.'}}}
get_track_replay_3d
Get the interactive 3D replay URL of an EXISTING PUBLIC SportsTrackLive track (Cesium terrain viewer with camera controls and timeline) plus its summary statistics. The URL must be opened in a web browser — share it with the user. NOT for a file the user just provided: for that, use create_ephemeral_replay, which builds a private replay of THEIR trace. Never substitute another athlete's track for the user's own file.
只读 幂等
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['track_id'], 'properties': {'track_id': {'type': 'integer', 'format': 'int64', 'minimum': 1, 'description': 'Numeric id of a public SportsTrackLive track.'}}}
get_track_stats
Get the public statistics of a SportsTrackLive track by its numeric id: athlete, sport, location, date, duration, distance, speeds, altitudes and the track's web page URL. Only public tracks are returned; private tracks answer not_found.
只读 幂等
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['track_id'], 'properties': {'track_id': {'type': 'integer', 'format': 'int64', 'minimum': 1, 'description': 'Numeric id of a public SportsTrackLive track.'}}}
import_activity
Import the user's trace file (GPX, TCX, IGC, SBP or FIT, max 8 MiB) into THEIR SportsTrackLive account permanently — full analysis, 3D replay, appears in their profile with their default privacy setting. REQUIRES the user to be connected via OAuth (this MCP server supports it; the client starts the flow). For a user without an account, use create_ephemeral_replay instead. Provide the file exactly like analyze_activity_file (upload_id / file_url / file_base64).
输入模式
{'type': 'object', '$defs': {'SportKind': {'enum': ['auto', 'paragliding', 'hang_gliding', 'glider', 'balloon', 'sailing', 'windsurfing', 'cycling', 'mountain_biking', 'running', 'trail_running', 'ski', 'hiking', 'motorsport', 'other'], 'type': 'string', 'description': 'Sport declared by the calling agent. `Auto` lets the server guess from\nthe file format and the trace kinematics; the resolved value is returned\nin `context_used` so the agent can correct it and call again.'}}, '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['filename'], 'properties': {'sport': {'$ref': '#/$defs/SportKind', 'default': 'auto', 'description': 'Sport of the activity â\x80\x94 selects the analysis profile.'}, 'file_url': {'type': ['string', 'null'], 'default': None}, 'filename': {'type': 'string', 'description': 'File name including its extension (.gpx, .tcx, .igc, .sbp, .fit).'}, 'upload_id': {'type': ['string', 'null'], 'default': None}, 'file_base64': {'type': ['string', 'null'], 'default': None, 'description': 'Same three sources as analyze_activity_file â\x80\x94 provide exactly one.'}}}
search_athletes
Search SportsTrackLive athletes by name (user name, first or last name). Returns id, user name, full name, country, number of public tracks and the public profile URL.
只读
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['query'], 'properties': {'limit': {'type': ['integer', 'null'], 'format': 'uint32', 'maximum': 25, 'minimum': 1, 'description': 'Max results, 1-25 (default 10).'}, 'query': {'type': 'string', 'maxLength': 64, 'minLength': 2, 'description': 'Name to search for (user name, first name or last name), 2-64 chars.'}}}
search_tracks
Search public SportsTrackLive tracks (finished, stored activities), newest first. Filter by free text (locality / take-off name or athlete user name), sport name, and an ISO date range. Returns per track the athlete, sport, location, date and web page URL; feed a track_id to get_track_stats for full statistics.
只读
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'to': {'type': ['string', 'null'], 'description': 'Latest activity date, ISO `YYYY-MM-DD` (inclusive, UTC).'}, 'from': {'type': ['string', 'null'], 'description': 'Earliest activity date, ISO `YYYY-MM-DD` (inclusive, UTC).'}, 'limit': {'type': ['integer', 'null'], 'format': 'uint32', 'maximum': 25, 'minimum': 1, 'description': 'Max results, 1-25 (default 10).'}, 'query': {'type': ['string', 'null'], 'maxLength': 64, 'description': "Free-text filter matched against the locality (take-off/venue) name\nand the athlete's user name."}, 'sport': {'type': ['string', 'null'], 'maxLength': 64, 'description': 'Sport / category name, e.g. "paragliding", "cycling", "sailing".'}}}
已添加
search_tracks
2026年9月17日 12:37
已添加
search_athletes
2026年9月17日 12:37
已添加
import_activity
2026年9月17日 12:37
已添加
get_track_stats
2026年9月17日 12:37
已添加
get_track_replay_3d
2026年9月17日 12:37
已添加
get_live_activities
2026年9月17日 12:37
已添加
create_ephemeral_replay
2026年9月17日 12:37
已添加
analyze_activity_file
2026年9月17日 12:37