accueil / serveurs / Dev & Code / io.github.joeyaflores/ourpr-courses
io.github.joeyaflores/ourpr-courses
serveur MCP (Model Context Protocol) · ourpr-courses-mcp-server 1.1.0
Référencé dans l'annuaire. Seul le pentest comportemental fait foi, et il n'a pas encore été exécuté sur ce serveur.
Est-ce que io.github.joeyaflores/ourpr-courses est sûr ?
Au dernier audit MCP Hub, le serveur MCP « io.github.joeyaflores/ourpr-courses » est classé « Non encore testé ». Référencé dans l'annuaire. Seul le pentest comportemental fait foi, et il n'a pas encore été exécuté sur ce serveur. Le verdict est réévalué en continu ; consultez la fiche pour l'état à jour.
Méthode : MCP Hub analyse la description de chaque outil (couche 1) et, pour le verdict fort, exécute le serveur dans une micro-VM isolée avec leurres et réseau bloqué (couche 2). On publie des noms et des compteurs, jamais le contenu brut renvoyé par un outil.
Les 18 outils
- ourpr_detect_reps≈ 184 tokens
Whether one particular run was an interval session, and its reps.
Paramètres, retour & exemple (1)
Paramètresactivity_id· string · requis
Run id from ourpr_list_runs.
Exemple d'appel{"name": "ourpr_detect_reps", "arguments": {"activity_id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"detection": {}}} - ourpr_get_course≈ 1264 tokens
Read one published course: its place, distance, climb, how it was measured, and which streets carry it. DELIBERATELY WITHOUT the elevation profile, the amenities and the centerline. Those are three more tools, because one course payload is about 83 KB and 91% of it is the profile. Args: - slug (string): From ourpr_list_courses. Example: 'boston-marathon'. - response_format ('markdown' | 'json'): Default 'markdown'. Returns: { "slug": string, "name": string, // the event's own name, title sponsor included "place": string | null, "alternate_names": string[], // curated geographic aliases "kind": string, "course_type": string, "distance_mi": number, // the stated race distance "measured_mi": number | null, // the centerline ourpr. measured "next_race_date": string | null, "days_out": number | null, "climb_ft": number | null, "descent_ft": number | null, "min_ft": number | null, "max_ft": number | null, "steepest_pct": number | null, "provenance": string | null, // one sentence on how it was built "sources": [{ "label": string, "value": string }], "recorded_on": string | null, // the watch that recorded the seed run "main_ways": [{ "name": string, "mi": number, "share_pct": number }], "through": string[], // named places the line passes through "photo_count": number, "counts": { "named_climbs_and_descents": number, "amenities": number, "mile_markers": number, "profile_points": number }, "page_url": string, "gpx_url": string } `distance_mi` is what the race calls itself; `measured_mi` is what the centerline measures. They differ by a few hundredths and both are reported rather than reconciled. Examples: - "Tell me about the Boston Marathon course" -> slug="boston-marathon" - "How much does San Diego climb?" -> slug="san-diego-marathon", read climb_ft - Do not use when: you want the hill-by-hill shape. Use ourpr_get_course_terrain. Error handling: - Returns the slug list suggestion when the slug is unknown.
Paramètres, retour & exemple (2)
Paramètresslug· string · requis
The course's slug, exactly as ourpr_list_courses returns it. Example: 'boston-marathon'.response_format· string · optionnel · markdown | json
Output format. 'markdown' reads well in a chat answer. 'json' carries every field for further computation.
Exemple d'appel{"name": "ourpr_get_course", "arguments": {"slug": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"kind": "texte", "name": "texte", "slug": "texte", "place": "texte", "counts": {}, "max_ft": 1, "min_ft": 1, "gpx_url": "texte", "sources": [], "through": [], "climb_ft": 1, "days_out": 1}} - ourpr_get_course_amenities≈ 882 tokens
Public drinking water and toilets on the line of one course, each placed at the mile it sits at. READ THIS LIMIT BEFORE YOU ANSWER. These come from OpenStreetMap: public taps and toilets somebody mapped near the route. It is a FREQUENCY difference, not a category one — a race day sets up many more stops than an ordinary day has. A mapped tap can also be seasonal, shut off or gone. Never present this as an aid-station plan, and never imply the count is guaranteed. It answers the training question instead: if I run this course on an ordinary day, where can I drink? Args: - slug (string): From ourpr_list_courses. - response_format ('markdown' | 'json'): Default 'markdown'. Returns: { "slug": string, "name": string, "distance_mi": number, "source": string, "is_race_aid_station_list": false, "water_count": number, "toilet_count": number, "longest_gap_without_water_mi": number | null, "longest_gap_from_mi": number | null, "longest_gap_to_mi": number | null, "amenities": [{ "kind": string, "mi": number, "lat": number, "lng": number }], "page_url": string } The longest gap counts the start and the finish as ends, so a course with one water stop at mile 3 of 6 reports a 3 mile gap, not 0. Examples: - "Where can I refill on the Cowtown ultra?" -> slug="cowtown-ultra-marathon" - "How far do I go without water on Boston?" -> read longest_gap_without_water_mi - Do not use when: you want race-day aid stations. ourpr. does not hold those. Error handling: - A course with no mapped amenity returns empty arrays and zero counts. That means none is mapped, not that none exists.
Paramètres, retour & exemple (2)
Paramètresslug· string · requis
The course's slug.response_format· string · optionnel · markdown | json
Output format. 'markdown' reads well in a chat answer. 'json' carries every field for further computation.
Exemple d'appel{"name": "ourpr_get_course_amenities", "arguments": {"slug": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"name": "texte", "slug": "texte", "source": "texte", "page_url": "texte", "amenities": [], "distance_mi": 1, "water_count": 1, "toilet_count": 1, "longest_gap_to_mi": 1, "longest_gap_from_mi": 1, "is_race_aid_station_list": true, "longest_gap_without_water_mi": 1}} - ourpr_get_course_route≈ 994 tokens
Where a course actually runs: its start, its finish, its bounding box, every mile marker, and the streets in the order you meet them. The GPX file is free and needs no account. Hand `gpx_url` to a person who wants the course on a watch. Args: - slug (string): From ourpr_list_courses. - include_polyline (boolean): Add the encoded centerline, about 9,800 characters. Default false. - response_format ('markdown' | 'json'): Default 'markdown'. Returns: { "slug": string, "name": string, "course_type": string, "distance_mi": number, "start": { "lat": number, "lng": number } | null, "finish": { "lat": number, "lng": number } | null, "bbox": { "min_lat": number, "min_lng": number, "max_lat": number, "max_lng": number } | null, "mile_markers": [{ "mile": number, "lat": number, "lng": number }], "streets_in_order": [{ "name": string, "from_mi": number, "to_mi": number }], "polyline": string | null, "gpx_url": string, "page_url": string } On an out-and-back the start and the finish are the same point, by design. Examples: - "Send me the Boston course for my watch" -> read gpx_url - "What streets does Dallas run down?" -> read streets_in_order - "Where does Honolulu start?" -> read start Error handling: - Returns the slug list suggestion when the slug is unknown.
Paramètres, retour & exemple (3)
Paramètresslug· string · requis
The course's slug.response_format· string · optionnel · markdown | json
Output format. 'markdown' reads well in a chat answer. 'json' carries every field for further computation.include_polyline· boolean · optionnel
Add the encoded centerline. It runs to about 9,800 characters and only helps if you will decode it. Leave it off and hand over `gpx_url` instead.
Exemple d'appel{"name": "ourpr_get_course_route", "arguments": {"slug": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"bbox": "texte", "name": "texte", "slug": "texte", "start": "texte", "finish": "texte", "gpx_url": "texte", "page_url": "texte", "polyline": "texte", "course_type": "texte", "distance_mi": 1, "mile_markers": [], "streets_in_order": []}} - ourpr_get_course_terrain≈ 1082 tokens
The elevation profile of one course, sampled, plus every climb and descent ourpr. named on it. THIS IS THE TOOL FOR "what are the hills and where". Each named section carries the street it runs on, the miles it spans, its net rise or fall and its average grade. The elevation comes from a public terrain model sampled along the measured centerline (elevation_source names it), not from a watch barometer. A barometer drifts; the model is checked against published race figures. Args: - slug (string): From ourpr_list_courses. - points (number): Elevation samples to return, 2 to 200. Default 40. The stored profile holds up to 4,873. - response_format ('markdown' | 'json'): Default 'markdown'. Returns: { "slug": string, "name": string, "distance_mi": number, "climb_ft": number | null, "descent_ft": number | null, "min_ft": number | null, "max_ft": number | null, "steepest_pct": number | null, "climb_ft_per_mi": number | null, "elevation_source": string, "profile_points_stored": number, "profile": [{ "mi": number, "ft": number }], "named_sections": [{ "kind": "climb" | "descent", "name": string, "from_mi": number, "to_mi": number, "net_ft": number, "grade_pct": number }], "page_url": string } The sampled profile always keeps the first point, the last point, the highest and the lowest, so its extremes agree with min_ft and max_ft. A course with no named sections returns an empty array. That means the seeder found no stretch that qualified, not that the course is flat: read climb_ft. Examples: - "What are the hills on Boston?" -> slug="boston-marathon" - "Is Houston flat?" -> slug="houston-marathon", read climb_ft_per_mi - "Give me the profile in detail" -> points=200 Error handling: - Returns the slug list suggestion when the slug is unknown.
Paramètres, retour & exemple (3)
Paramètresslug· string · requis
The course's slug.points· integer · optionnel
How many elevation samples to return. The stored profile holds up to 4,873 points, which no agent should read whole. 40 describes the shape; 200 is close to the source.response_format· string · optionnel · markdown | json
Output format. 'markdown' reads well in a chat answer. 'json' carries every field for further computation.
Exemple d'appel{"name": "ourpr_get_course_terrain", "arguments": {"slug": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"name": "texte", "slug": "texte", "max_ft": 1, "min_ft": 1, "profile": [], "climb_ft": 1, "page_url": "texte", "descent_ft": 1, "distance_mi": 1, "steepest_pct": 1, "named_sections": [], "climb_ft_per_mi": 1}} - ourpr_get_run≈ 227 tokens
One activity in full: mile splits with heart rate, cadence, calories, device. Id comes from ourpr_list_runs. For the profile along the route, use ourpr_run_stream.
Paramètres, retour & exemple (1)
Paramètresactivity_id· string · requis
Run id from ourpr_list_runs.
Exemple d'appel{"name": "ourpr_get_run", "arguments": {"activity_id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"run": {}, "splits": []}} - ourpr_get_trail_system≈ 632 tokens
Read one trail system: how many miles of path it holds, how many ways were mapped, where it sits, and where the measurement came from. Args: - slug (string): From ourpr_list_trail_systems. Example: 'trinity-trails'. - response_format ('markdown' | 'json'): Default 'markdown'. Returns: { "slug": string, "name": string, "region": string | null, "total_mi": number, // every branch summed "mapped_ways": number | null, // OpenStreetMap ways in the network "source": string | null, // how the network and its coverage were built "bbox": { "min_lat": number, "min_lng": number, "max_lat": number, "max_lng": number } | null, "page_url": string } `total_mi` counts the whole network. It is not a distance anyone runs in one go. Examples: - "How many miles of trail are in Fort Worth?" -> slug="trinity-trails" - "Where does the network reach?" -> read bbox Error handling: - Returns the slug list suggestion when the slug is unknown.
Paramètres, retour & exemple (2)
Paramètresslug· string · requis
The trail system's slug. Example: 'trinity-trails'.response_format· string · optionnel · markdown | json
Output format. 'markdown' reads well in a chat answer. 'json' carries every field for further computation.
Exemple d'appel{"name": "ourpr_get_trail_system", "arguments": {"slug": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"bbox": "texte", "name": "texte", "slug": "texte", "region": "texte", "source": "texte", "page_url": "texte", "total_mi": 1, "mapped_ways": 1}} - ourpr_list_courses≈ 1334 tokens
List every running course published on ourpr., with its place, distance, climb and next race date. Each course is a MEASURED centerline built from recorded runs, with elevation from a public terrain model: USGS 3DEP 10 m in the US, and the city's own 1 m model in Berlin. It is not a course map traced by hand. START HERE. Every other course tool takes a slug, and this is where slugs come from. Args: - query (string, optional): Match the name and the place. Partial, case-insensitive. - kind ('race' | 'trail' | 'route', optional): Keep one kind. - course_type ('loop' | 'out-and-back' | 'point-to-point', optional): Keep one shape. - min_distance_mi / max_distance_mi (number, optional): Bound the distance in miles. - upcoming_only (boolean): Keep only courses whose race date has not passed. Default false. - limit (number): 1 to 50. Default 20. - offset (number): Skip this many. Default 0. - response_format ('markdown' | 'json'): Default 'markdown'. Returns: { "total": number, // matched the filters "count": number, // in this answer "offset": number, "has_more": boolean, "next_offset": number, // present when has_more "published_total": number, // every published course "courses": [{ "slug": string, // "boston-marathon" "name": string, // the event's own name, title sponsor included "place": string | null, // "Hopkinton → Boston, MA" "kind": string, "course_type": string, "distance_mi": number, "climb_ft": number | null, "steepest_pct": number | null, "next_race_date": string | null, // YYYY-MM-DD "days_out": number | null, // null once the date has passed "page_url": string }] } The order is the race calendar: the soonest race first, then undated courses by distance. Examples: - "What marathons does ourpr. have?" -> min_distance_mi=26 - "Which race is next?" -> upcoming_only=true, limit=1 - "Anything in Fort Worth?" -> query="fort worth" - Do not use when: you want the hills on one course. Use ourpr_get_course_terrain. Error handling: - Returns "No course matched" with the filters echoed when nothing matches.
Paramètres, retour & exemple (9)
Paramètreskind· string · optionnel · race | trail | route
Keep only this kind. 'race' is a published event course, 'trail' is a trail segment, 'route' is an everyday loop.limit· integer · optionnel
The most courses to return.query· string · optionnel
Match against the course name and its place. Case-insensitive, partial. Example: 'boston', 'fort worth', 'half'.offset· integer · optionnel
How many courses to skip. Use it with `next_offset`.course_type· string · optionnel · loop | out-and-back | point-to-point
Keep only this shape of course.upcoming_only· boolean · optionnel
Keep only courses whose next race date is today or later. A course with no date is dropped by this filter.max_distance_mi· number · optionnel
Keep only courses no longer than this, in miles.min_distance_mi· number · optionnel
Keep only courses at least this long, in miles.response_format· string · optionnel · markdown | json
Output format. 'markdown' reads well in a chat answer. 'json' carries every field for further computation.
Exemple d'appel{"name": "ourpr_list_courses", "arguments": {"kind": "race", "limit": 1, "query": "texte", "offset": 1, "course_type": "loop", "upcoming_only": true}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"count": 1, "total": 1, "offset": 1, "courses": [], "has_more": true, "next_offset": 1, "published_total": 1}} - ourpr_list_plans≈ 325 tokens
The runner's planned runs between two dates: day, name, miles, time, tag, the runner's note, whether a logged run fulfilled it, and whether ourpr. create wrote it. Read it before ourpr_plan_week so a new plan does not land on a day that already holds one.
Paramètres, retour & exemple (2)
Paramètresend_date· string · optionnel
Last day, YYYY-MM-DD. Default 13 days after the first.start_date· string · optionnel
First day, YYYY-MM-DD. Default yesterday, so today is in the window in every time zone.
Exemple d'appel{"name": "ourpr_list_plans", "arguments": {"end_date": "texte", "start_date": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"plans": [], "end_date": "texte", "truncated": true, "start_date": "texte"}} - ourpr_list_races≈ 302 tokens
Every race ourpr. finds in the history, newest first, tune-ups included: date, name, distance, time, pace and run id. Also the fastest result at 5K, 10K, half marathon and marathon among them.
Paramètres, retour & exemple (2)
Paramètreslimit· integer · optionnel
Most rows to return.distance· string · optionnel · 5K | 10K | Half Marathon | Marathon | Ultra
Only races at this distance.
Exemple d'appel{"name": "ourpr_list_races", "arguments": {"limit": 1, "distance": "5K"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"races": [], "total": 1, "fastest": [], "returned": 1}} - ourpr_list_runs≈ 398 tokens
Training history between two dates, newest first: date, local start, name, type, miles, pace, time, elevation, average heart rate, and on a runs-only list Friel's efficiency factor and the heartbeats each mile took. Start here for totals, streaks, trends, or finding a run. For one run's splits, use ourpr_get_run with an id from here.
Paramètres, retour & exemple (4)
Paramètreslimit· integer · optionnel
Most rows to return. The answer says what it left out.end_date· string · requis
Last day to include, YYYY-MM-DD. Example: 2026-06-30start_date· string · requis
First day to include, YYYY-MM-DD. Example: 2026-01-01include_non_runs· boolean · optionnel
Include rides, gym and other types. Runs only by default.
Exemple d'appel{"name": "ourpr_list_runs", "arguments": {"end_date": "texte", "start_date": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"runs": [], "returned": 1, "truncated": true, "total_in_window": 1}} - ourpr_list_trail_systems≈ 469 tokens
List every trail system ourpr. maps. A trail system is a whole network of connected paths, measured end to end, not a single route through it. Args: - response_format ('markdown' | 'json'): Default 'markdown'. Returns: { "count": number, "trail_systems": [{ "slug": string, // "trinity-trails" "name": string, "region": string | null, // "Fort Worth, TX" "total_mi": number, // the whole network, all branches "page_url": string }] } Examples: - "What trail networks does ourpr. map?" -> no arguments - "How big is Trinity Trails?" -> read total_mi, or call ourpr_get_trail_system - Do not use when: you want one measured route. Use ourpr_list_courses with kind='trail'.
Paramètres, retour & exemple (1)
Paramètresresponse_format· string · optionnel · markdown | json
Output format. 'markdown' reads well in a chat answer. 'json' carries every field for further computation.
Exemple d'appel{"name": "ourpr_list_trail_systems", "arguments": {"response_format": "markdown"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"count": 1, "trail_systems": []}} - ourpr_plan_week≈ 424 tokens
Write one planned run, or a week of them, onto days still ahead. Each lands on the runner's week as a plan they can see, edit and remove. Needs a token made with the write scope and ourpr. create. Never logs a run.
Paramètres, retour & exemple (1)
Paramètresplans· array · requis
One run, or up to fourteen.
Exemple d'appel{"name": "ourpr_plan_week", "arguments": {"plans": []}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"written": []}} - ourpr_rep_workouts≈ 230 tokens
Interval sessions found across the history, with reps and distances. Detection is conservative, so a session it misses is still in ourpr_list_runs.
Paramètres, retour & exemple (1)
Paramètreslimit· integer · optionnel
How many recent activities to read.
Exemple d'appel{"name": "ourpr_rep_workouts", "arguments": {"limit": 1}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"scanned": 1, "workouts": []}} - ourpr_run_laps≈ 201 tokens
The laps the watch recorded for one run — the runner's own button presses. Laps follow the workout; mile splits follow the mile.
Paramètres, retour & exemple (1)
Paramètresactivity_id· string · requis
Run id from ourpr_list_runs.
Exemple d'appel{"name": "ourpr_run_laps", "arguments": {"activity_id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"laps": []}} - ourpr_run_stream≈ 318 tokens
A run's profile on a 10 m grid — elevation, heart rate, power, cadence — as min, average, max and coverage per channel, not every sample. Also each half by distance with its moving pace, heart rate and efficiency, the pace change between them, and the drift (aerobic decoupling, Pa:HR), also after the warm up. No profile is a normal answer for an indoor run.
Paramètres, retour & exemple (1)
Paramètresactivity_id· string · requis
Run id from ourpr_list_runs.
Exemple d'appel{"name": "ourpr_run_stream", "arguments": {"activity_id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"grid_m": 1, "halves": "texte", "samples": 1, "channels": {}, "total_miles": 1}} - ourpr_similar_terrain≈ 311 tokens
Stretches of past runs matching a distance and climb — what the runner has already done that resembles a race they are training for.
Paramètres, retour & exemple (4)
Paramètreslimit· integer · optionnel
How many to return.miles· number · requis
Target distance in miles.gain_ft· number · requis
Target climb in feet.tolerance_ft· number · optionnel
Climb tolerance, feet.
Exemple d'appel{"name": "ourpr_similar_terrain", "arguments": {"miles": 1, "gain_ft": 1}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"matches": [], "scanned": 1}} - ourpr_training_blocks≈ 286 tokens
The goal race and its Block: race day, distance, goal time, which week of the Block today falls in, and miles for each week. Also the Blocks before past races, each with its result, weeks and peak week. A Block is the race-anchored Monday to Sunday weeks before a race.
Paramètres, retour & exemple (1)
Paramètrespast· integer · optionnel
How many past Blocks to include, newest first.
Exemple d'appel{"name": "ourpr_training_blocks", "arguments": {"past": 1}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"goal": "texte", "past": [], "total_races": 1}}
C'est votre serveur ?
Revendiquez-le sur l'espace créateur (preuve GitHub, domaine ou npm) pour afficher le badge « propriétaire vérifié » et lancer un pentest comportemental à la demande afin d'obtenir le badge « Vérifié ».