Skip to main content

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.

Unit Tests Integration Tests Docs PyPI - Version

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

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

pyrox_client-0.2.6.tar.gz (19.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyrox_client-0.2.6-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

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

Hashes for pyrox_client-0.2.6.tar.gz
Algorithm Hash digest
SHA256 7b1e404a6070f495d30fd189d45385b33008ae44f9e1a940fcd547a698a61672
MD5 aa08f12d1448c82c504478ba085c001f
BLAKE2b-256 3ab954565715d6ea95fde3e16c47b3d46c05ed746bcadb158dffd0468f7962c3

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyrox_client-0.2.6.tar.gz:

Publisher: release.yml on vmatei2/pyrox-client

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for pyrox_client-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 a7154234d39d0f7c5d636034a2089785ce58ac3801307dcfce8d2f5efb1819ef
MD5 8e26f1ed2e40d6d61a5ba83478a147ce
BLAKE2b-256 43c01e99c923c49649771fb6951799431e0998cc6e9226caf6bd4b4e50a90aed

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyrox_client-0.2.6-py3-none-any.whl:

Publisher: release.yml on vmatei2/pyrox-client

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.2.7

2 files

This release

0.2.6 This release

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.13

2 files

0.1.12

2 files

0.1.11

2 files

0.1.10

2 files

0.1.9

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page