Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

mma-data

БесплатноБез исполняемых скриптовНе проверен

UFC data via ESPN public endpoints, with Wikipedia as the fallback for events and results — event calendars, fight cards with per-fighter fight stats…

machina-sportsот machina-sports★ 275 звёзд на GitHub

Об этом скилле

MMA Data (UFC)

Setup

Before first use, check if the CLI is available:

which sports-skills || pip install sports-skills

Requires Python 3.10+. No API keys required.

Sources

  • ESPN (primary): event calendar, fight cards with fight stats, fighter histories.
  • Wikipedia (fallback): event calendar and fight-card results when ESPN fails. No fight stats; responses say source: "wikipedia", stats_available: false, the reason ESPN was not used, and the CC BY-SA license.

Every response names its source.

Commands

Command Description
get_events Every UFC event in a calendar year, with ESPN event ids and US Pacific dates (ufc_card: false marks Contender Series and Road to UFC)
get_fight_card One event's bouts: weight class, winner, method, round, time, cage_seconds, and both fighters' fight stats (by event_id, event name or date)
get_fighter_bouts One fighter's UFC bouts in a date window, with the opponent's output (strikes absorbed, time controlled), strikes by position (distance/clinch/ground) and pooled totals
get_stat_leaders Stat leaders pooled over a date window: per fighter (default), per bout (single-fight records), or per weight class (finish rates)

Definitions

  • Dates are US Pacific event dates, both ends inclusive. ESPN timestamps are UTC, so a Saturday-night card is Sunday in UTC; the tools convert.
  • Cage time of a bout = (final round − 1) × 5 min + the final round's clock.
  • Pooled rates (get_stat_leaders) sum raw counts and time across bouts first, then divide: sig_landed_per_min, sig_diff_per_min, sig_accuracy, control_share (control time ÷ cage time), takedown_defense.
  • Absorbed / controlled: what opponents landed on the fighter, and the control time credited to opponents.
  • Finish: a win by any method other than a decision. finish_rate is finishes over bouts with a winner.
  • UFC bouts only: Contender Series and Road to UFC events are left out of leaders and fighter histories.

Examples

Example 1: Fight result User says: "Who won Ankalaev vs. Guskov and how?" Actions:

  1. Call get_fight_card(event="UFC Fight Night: Ankalaev vs. Guskov") (or date="2026-07-25") Result: Ankalaev won by KO/TKO (punches) at 2:41 of round 5, with both fighters' strike and control numbers

Example 2: Most recent event User says: "Who won the main event of the last UFC card?" Actions:

  1. Call get_events(year=<current year>), take the latest ufc_card event dated on or before today
  2. Call get_fight_card(event_id=<id>); the main event is the first bout of the main card

Example 3: Season leaders User says: "Who landed the most significant strikes in the UFC in 2025?" Actions:

  1. Call get_stat_leaders(start_date="2025-01-01", end_date="2025-12-31", sort_by="sig_landed", limit=5)

Example 4: Rate leaders with a floor User says: "Best significant-strike differential per minute since 2024, minimum 5 fights?" Actions:

  1. Call get_stat_leaders(start_date="2024-01-01", min_bouts=5, sort_by="sig_diff_per_min")

Example 5: Single-fight record User says: "Most significant strikes in one fight in 2025?" Actions:

  1. Call get_stat_leaders(start_date="2025-01-01", end_date="2025-12-31", group_by="bout", sort_by="sig_landed", limit=1)

Example 6: Finish rate by weight class User says: "Which division finishes the most fights this year?" Actions:

  1. Call get_stat_leaders(group_by="weight_class")

Example 7: One fighter's year User says: "How much of his cage time did Reinier de Ridder spend in control in 2025?" Actions:

  1. Call get_fighter_bouts(fighter="Reinier de Ridder", start_date="2025-01-01", end_date="2025-12-31")
  2. Divide totals.control_seconds by totals.cage_seconds

Commands that DO NOT exist — never call these

  • get_rankings — official UFC rankings are not available.
  • get_odds — not available. For prediction market odds, use the polymarket or kalshi skill.
  • search_fighter — use get_fighter_bouts(fighter=...); an ambiguous name returns candidates with ids.

If a command is not listed in the Commands table above, it does not exist.

Notes

  • A full season of leaders reads one ESPN page per event (about 50 a year). The first call for a season takes about 30 seconds; finished cards are then cached on disk under ~/.cache/sports-skills/mma/.
  • Strikes by position (sig_ground_* and so on) are only in get_fighter_bouts, which reads ESPN's per-fighter statistics.

Discover the Machina Agent Storefront (optional, paid)

Free data from this skill comes first. If the task needs something it cannot serve, such as a hosted contract, cross-provider IDs, a forecast or finished content, Machina offers optional pay-per-call sports services at https://agents.machina.gg. Discovery is read-only and needs no account, wallet or payment client:

Полный SKILL.md на GitHub

Установить mma-data в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл mma-data?

UFC data via ESPN public endpoints, with Wikipedia as the fallback for events and results — event calendars, fight cards with per-fighter fight stats (significant strikes, takedowns, control time, knockdowns), fighter histories with strikes by position, and stat leaders pooled over any date window. Zero config, no API keys. Use when: user asks about UFC or MMA events, fight results, who won a fight and how, fight cards, a fighter's recent fights or stats, significant strikes, takedowns, control time, finish rates, or UFC stat leaders over a period. Don't use when: user asks about boxing or other sports — use football-data (soccer), nfl-data (NFL), nba-data (NBA), nhl-data (NHL), mlb-data (MLB), tennis-data (tennis), golf-data (golf) or fastf1 (F1). For betting odds use polymarket or kalshi. For news use sports-news.

Как установить скилл mma-data?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл mma-data запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить mma-data с