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.7.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.7-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

Details for the file pyrox_client-0.2.7.tar.gz.

File metadata

  • Download URL: pyrox_client-0.2.7.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.7.tar.gz
Algorithm Hash digest
SHA256 7fab477ae41283c8de1e74ce6c266a2a288d16186a55a42bae09196813b016e6
MD5 8e92992b506b93d176415e53140a5a07
BLAKE2b-256 73e1572891aeb0c59389ce4e0b4e3fde999f20200d0a9559b73081f8fbbe6ed3

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyrox_client-0.2.7.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.7-py3-none-any.whl.

File metadata

  • Download URL: pyrox_client-0.2.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 725b6a12e11aeab3af33e25051495d6aa7650e324edd4f81662a032ac5a53eff
MD5 af13158b03cf634fa706a991ef8a53db
BLAKE2b-256 c5e0a136322d2f0e3473a02f6c9fa07c78d5816d8342b33c86293deb30c459e2

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyrox_client-0.2.7-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

This release

0.2.7 This release

2 files

0.2.6

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