pyrox-client
HYROX race results as data. A Python client and a public MCP server for analysing them, either in code or by asking an AI assistant.
1.2M+ race results · 316 races · 134 locations · seasons 1–9 (2018–2026), free and MIT licensed, with no API key to sign up for.
https://github.com/user-attachments/assets/2756c10f-166b-45ba-aa3d-089e1f40fe00
Two ways in:
- Ask an AI. Connect the MCP server and query the dataset in plain English, e.g. "where would a 62-minute open time rank in season 8?"
- Write Python. Pull a full race as a pandas DataFrame with splits already converted to minutes, cached on disk so reruns are cheap.
Independent project, not affiliated with or endorsed by HYROX.
Ask an AI (MCP server)
There's a public, read-only MCP server at https://pyrox-api.fly.dev/mcp/. Point
Claude, Codex, or any MCP client at it and ask about distributions, rankings,
athlete profiles, or a split-by-split race report. The assistant picks the right
tool for the question on its own.
# Claude Code
claude mcp add --transport http pyrox https://pyrox-api.fly.dev/mcp/
# Codex
codex mcp add pyrox --url https://pyrox-api.fly.dev/mcp/
Using Claude web or Desktop? No install needed; add it as a custom connector. The MCP guide has the steps, the full tool list, and example prompts. If you connect a Strava MCP alongside it, you can ask the agent to check your splits against the effort your Strava data actually shows.
Use it in Python
pip install pyrox-client
import pyrox
client = pyrox.PyroxClient()
london = client.get_race(season=7, location="london", gender="male")
print(london["total_time"].describe())
# Find what's available first
client.list_seasons()
client.list_locations(season=8)
Station and run columns come back with readable names, already in minutes, so you can drop them straight into a stats workflow. See docs/api.md for the full reference.
Core API
list_races(season=None),list_seasons(),list_locations(...),list_years(...)get_race(season, location, year=None, gender=None, division=None, total_time=None)get_season(season, locations=None, gender=None, division=None)get_athlete_in_race(season, location, athlete_name, ...)clear_cache(pattern="*"),cache_info()
Mistype a location and RaceNotFound hands back the closest matches instead of a
bare error.
Reporting helpers (optional)
For heavier local analysis over a DuckDB file, install the extra:
pip install "pyrox-client[reporting]"
The database artifact isn't bundled; you point ReportingClient at a local path.
Details in docs/api.md.
Documentation
- Live docs: https://vmatei2.github.io/pyrox-client/
- What's in the dataset: coverage, the full column schema, how often it updates, and the licence
- MCP guide, client API, filters, and the error model live under
docs/ - Background write-up: Pyrox MCP server on Medium
Maintaining or releasing? See docs/maintainers/.
License
MIT. Free to use, modify, and distribute. © 2026 Vlad Matei.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyrox_client-0.2.6.tar.gz.
File metadata
- Download URL: pyrox_client-0.2.6.tar.gz
- Upload date:
- Size: 19.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b1e404a6070f495d30fd189d45385b33008ae44f9e1a940fcd547a698a61672
|
|
| MD5 |
aa08f12d1448c82c504478ba085c001f
|
|
| BLAKE2b-256 |
3ab954565715d6ea95fde3e16c47b3d46c05ed746bcadb158dffd0468f7962c3
|
Provenance
The following attestation bundles were made for pyrox_client-0.2.6.tar.gz:
Publisher:
release.yml on vmatei2/pyrox-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyrox_client-0.2.6.tar.gz -
Subject digest:
7b1e404a6070f495d30fd189d45385b33008ae44f9e1a940fcd547a698a61672 - Sigstore transparency entry: 2328206304
- Sigstore integration time:
-
Permalink:
vmatei2/pyrox-client@0b016bb870cc82962871f20baf9f25e47882ac34 -
Branch / Tag:
refs/tags/v0.2.6 - Owner: https://github.com/vmatei2
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0b016bb870cc82962871f20baf9f25e47882ac34 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pyrox_client-0.2.6-py3-none-any.whl.
File metadata
- Download URL: pyrox_client-0.2.6-py3-none-any.whl
- Upload date:
- Size: 20.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7154234d39d0f7c5d636034a2089785ce58ac3801307dcfce8d2f5efb1819ef
|
|
| MD5 |
8e26f1ed2e40d6d61a5ba83478a147ce
|
|
| BLAKE2b-256 |
43c01e99c923c49649771fb6951799431e0998cc6e9226caf6bd4b4e50a90aed
|
Provenance
The following attestation bundles were made for pyrox_client-0.2.6-py3-none-any.whl:
Publisher:
release.yml on vmatei2/pyrox-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyrox_client-0.2.6-py3-none-any.whl -
Subject digest:
a7154234d39d0f7c5d636034a2089785ce58ac3801307dcfce8d2f5efb1819ef - Sigstore transparency entry: 2328206329
- Sigstore integration time:
-
Permalink:
vmatei2/pyrox-client@0b016bb870cc82962871f20baf9f25e47882ac34 -
Branch / Tag:
refs/tags/v0.2.6 - Owner: https://github.com/vmatei2
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0b016bb870cc82962871f20baf9f25e47882ac34 -
Trigger Event:
push
-
Statement type: