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.
Metadata
Release files for pyrox-client 0.2.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyrox_client-0.2.7.tar.gz | 19.4 kB | With provenance | Details for pyrox_client-0.2.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyrox_client-0.2.7-py3-none-any.whl | Python 3 | none | any | Details for pyrox_client-0.2.7-py3-none-any.whl |
Total release size: 40.1 kB
Release files / pyrox_client-0.2.7.tar.gz
| Download URL | pyrox_client-0.2.7.tar.gz |
|---|---|
| Size | 19.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7fab477ae41283c8de1e74ce6c266a2a288d16186a55a42bae09196813b016e6
|
|
BLAKE2b-256 checksum How to use checksums |
73e1572891aeb0c59389ce4e0b4e3fde999f20200d0a9559b73081f8fbbe6ed3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 2, 2026.
Transparency logRelease files / pyrox_client-0.2.7-py3-none-any.whl
| Download URL | pyrox_client-0.2.7-py3-none-any.whl |
|---|---|
| Size | 20.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
725b6a12e11aeab3af33e25051495d6aa7650e324edd4f81662a032ac5a53eff
|
|
BLAKE2b-256 checksum How to use checksums |
c5e0a136322d2f0e3473a02f6c9fa07c78d5816d8342b33c86293deb30c459e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 2, 2026.
Transparency logSecurity for pyrox-client 0.2.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for pyrox_client-0.2.7.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 2, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.