Skip to content
YorkerAPI
MCP server + cricket skills

Claude skills for cricket analytics.

Free Claude skills that turn Claude into a cricket analyst: match previews in every format, venue profiles, format ratings and our pregame win probability, all on the YorkerAPI MCP server.

# Install the skills as a Claude Code plugin
> /plugin marketplace add sports-data-hq/sportsdatahq-skills
> /plugin install cricket-data@sportsdatahq

# Add the MCP server
$ claude mcp add yorkerapi https://mcp.yorkerapi.com/mcp?key=YOUR_API_KEY --transport streamable-http

# Then ask Claude a stable first question
$ claude "Using YorkerAPI, show the next week's T20 and ODI fixtures with each side's rating and our pregame win probability. Cite the tools used."

Claude Desktop config

Use this when your MCP client accepts a Streamable HTTP URL.

json
{
  "mcpServers": {
    "yorkerapi": {
      "url": "https://mcp.yorkerapi.com/mcp?key=YOUR_API_KEY"
    }
  }
}

First useful prompts

“Using YorkerAPI, show the next week's T20 and ODI fixtures with each side's rating and our pregame win probability. Cite the tools used.”

“Using YorkerAPI, profile the venue for the next IPL match: par first-innings score and how often the side batting first wins. Cite the tools used.”

“Using YorkerAPI, compare a batter and a bowler head to head in T20s, with balls faced. Cite the tools used.”

18 MCP tools

The same cricket data is available through REST and MCP. Credits are charged per tool call.

Open endpoint docs
list_competitions1cr

Every competition we hold with its key, format, match count and seasons

list_teams1cr

Team ids for international sides and franchises, men's and women's

search_players1cr

Find a player's id by name, or list a team's players

get_schedule2cr

Upcoming and live matches in every competition, with both sides' ratings

get_matches2cr

Results by competition, season, team, venue or date, with scores and margins

get_ratings2cr

Our Elo ratings by format, best first

get_match5cr

One match in full: batting and bowling cards, ratings and every book's opening and closing price

get_player5cr

A career by format: runs, average, strike rate, wickets, economy, hundreds, best figures

get_player_stats5cr

A player split by season, competition, phase (powerplay, middle, death) or format

get_player_matches5cr

A player's matches with batting and bowling in each innings

get_matchup5cr

A batter against a bowler: balls, runs, strike rate, dots and every dismissal

get_leaders5cr

Leaders in runs, average, strike rate, sixes, wickets, economy

get_venue5cr

How a ground plays: par totals, batting first against chasing, toss effect

get_odds5cr

Match-winner prices by sportsbook, opening and closing, from mid-2020

get_deliveries10cr

Ball-by-ball rows for a match, a batter or a bowler, with our win probability

get_win_probability10cr

A match's win-probability worm over by over, and the balls that swung it

get_market_vs_model10cr

In-play prices beside our win probability, lined up to the exact ball

get_line_movement10cr

Every pregame snapshot by book, the market line over time, and in-play prices

18
MCP tools
19
skills
2
skill categories
01

Cricket skills

Previews, research and the sport's own metrics, every number from a live call.

cricket-batter-vs-bowler

Reports balls, runs, dismissals and strike rate for the pair, and says plainly when the sample is too small.

cricket-chase-win-probability

Reports our win probability through the second innings (get_win_probability), the swings between overs, the required rate, and compares it with the market's view as information.

cricket-match-preview

One-page report: format ratings and our pregame win probability (T20 and international ODI), venue profile, recent results, key players' form and the market's prices.

cricket-phase-analysis

Splits runs, strike rate, economy, dot balls and wickets by powerplay, middle and death overs from ball-by-ball data, with balls counted.

cricket-venue-effects

Reports innings totals, batting-first and chasing results, toss choices and phase scoring for a ground and format, with match counts.

02

Any sport

Modeling, backtesting, calibration, Elo and charts. Odds are treated as information about the market, never as advice to bet.

backtesting

Walk-forward only; refuses in-sample testing. Reports sample size, an interval and a per-season breakdown.

data-pipeline

Covers pulls through any sport's SportsDataHQ MCP server.

elo-engineering

Works for team sports and for tennis, golf, UFC and cricket player or fighter ratings.

feature-engineering

Enforces shift(1) before any rolling calculation.

market-vs-model

Covers model vs market gap, fair (no-margin) probability, closing-line comparison as a measure of model quality, and how large a sample must be before a gap means anything. Odds are information only: no stake sizing, no wagering advice.

model-building

Always walk-forward; refuses k-fold. Works for any sport.

nl-to-query

Translates the question into conditions, calls your sport's SportsDataHQ MCP tools, retries with adjusted filters when results look wrong, and reports counts with sample size.

odds-market-analysis

Odds are treated as information about the market, never as an instruction to wager.

prediction-tracker

Logs probability, outcome, Brier score, log loss, calibration and closing-line comparison, with sample size and intervals.

probability-calibration

Verifies and corrects predicted probabilities against outcomes, with sample size and intervals.

sports-data-preflight

Use when the user says 'compare', 'over the last N games', 'this season', 'career', 'trend', or names a player whose id you do not have yet.

sports-skill-router

Routes the request to the right two or three skills so not all of them load. Single-skill requests (for example 'devig these odds') can go straight to odds-market-analysis without this router.

visualization

Renders output from another skill as matplotlib/seaborn code or a terminal chart.

walk-forward-validation

Gives the time-ordered (walk-forward) method with per-season results, baselines and intervals, and redirects k-fold on time-ordered data.

Skills for other sports

Open source methodology. Production-ready data.

The skills are free forever. When you need real data, YorkerAPI is ready. Start with 500 free credits every month.