sports-data-hq

YorkerAPI MCP server

Community sports-data-hq
Updated

YorkerAPI: ball-by-ball cricket data for AI agents. Remote MCP server, REST API and 5 Claude skills, plus 13 analytics skills.

YorkerAPI MCP server

MCP Registry

The cricket data API. Ball by ball for 23,241 matches in every format, men's and women's, from Tests and ODIs to the IPL, the Big Bash and The Hundred, with players, venues, our own Elo ratings and per-ball win probability. From mid-2020, each sportsbook's match-winner price sits beside the match it belongs to. REST API and MCP server. 500 free credits every month, no card.

Website: https://yorkerapi.com?utm_source=github&utm_medium=readme&utm_campaign=yorkerapi-mcp · Docs: https://yorkerapi.com/docs?utm_source=github&utm_medium=readme&utm_campaign=yorkerapi-mcp · Get a key: https://yorkerapi.com/signup?utm_source=github&utm_medium=readme&utm_campaign=yorkerapi-mcp

You:    "How has Jasprit Bumrah bowled at the death in the IPL, season by season?"
Claude: [calls search_players, then get_player_stats with phase=death]

Try it now, no key

  • A free season of cricket data: the last completed season as CSV (games, standings, player season totals and our ratings). Download the zip or browse what's in it.
  • Open it in Colab: Open in Colab loads the pack and answers three questions in a minute.
  • Ask Claude without a key: install the skills below; season-pack-offline answers from the pack until you connect.

With a free key it does far more: every earlier season, today's games, play-by-play, lineups, odds and player props with their history and movement, and every skill below running on live data. Get a free key: 500 credits a month, no card.

Skills

5 Claude skills for cricket ship in this repo, plus 13 analytics skills for models, backtests, calibration and comparing a model with the market. Every number in an answer comes from a live YorkerAPI tool call, and odds are information only: no stakes, no picks.

Claude Code:

/plugin marketplace add sports-data-hq/yorkerapi-mcp
/plugin install cricket-data@yorkerapi
/plugin install sports-analytics-core@yorkerapi

Codex: codex plugin marketplace add sports-data-hq/yorkerapi-mcp. Any agent that reads skills: npx skills add sports-data-hq/yorkerapi-mcp.

Skill What it does
cricket-batter-vs-bowler Batter against bowler: balls, runs, dismissals and strike rate, with a warning when the sample is small
cricket-chase-win-probability Win probability through a run chase, over by over, with the swings and the required rate
cricket-match-preview One-page preview of a match in any format: form, head to head, the ground, ratings and the market
cricket-phase-analysis Runs, strike rate, economy, dots and wickets split by powerplay, middle and death overs
cricket-venue-effects How a ground plays: innings totals, toss choices, batting first against chasing, phase scoring

The analytics skills: backtesting, data-pipeline, elo-engineering, feature-engineering, market-vs-model, model-building, odds-market-analysis, prediction-tracker, probability-calibration, season-pack-offline, sports-data-preflight, visualization, walk-forward-validation.

Real answers on live data, with the credits each used: example answers.

All nine sports' skills live in sports-data-hq/sportsdatahq-skills. The copies here are synced from there, so please open issues and pull requests there.

Connect

Most clients connect to https://mcp.yorkerapi.com/mcp directly with the header x-api-key: YOUR_KEY:

{ "mcpServers": { "yorkerapi": { "type": "http", "url": "https://mcp.yorkerapi.com/mcp", "headers": { "x-api-key": "YOUR_KEY" } } } }

The key can also be sent as Authorization: Bearer, or as ?key= on the URL for clients that cannot send headers. Connecting and listing tools works without a key; calling a tool needs one.

For a client that launches a local process instead:

git clone https://github.com/sports-data-hq/yorkerapi-mcp.git && cd yorkerapi-mcp && npm install
YORKERAPI_API_KEY=your_key node index.js

It forwards to the hosted server with your key, so every tool and credit cost is the same.

Use it in

Tools (18)

Tool What it returns
list_competitions Every competition we hold with its key, format, match count and seasons
list_teams Team ids for international sides and franchises, men's and women's
search_players Find a player's id by name, or list a team's players
get_schedule Upcoming and live matches in every competition, with both sides' ratings
get_matches Results by competition, season, team, venue or date, with scores and margins
get_ratings Our Elo ratings by format, best first
get_match One match in full: batting and bowling cards, ratings and every book's opening and closing price
get_player A career by format: runs, average, strike rate, wickets, economy, hundreds, best figures
get_player_stats A player split by season, competition, phase (powerplay, middle, death) or format
get_player_matches A player's matches with batting and bowling in each innings
get_matchup A batter against a bowler: balls, runs, strike rate, dots and every dismissal
get_leaders Leaders in runs, average, strike rate, sixes, wickets, economy
get_venue How a ground plays: par totals, batting first against chasing, toss effect
get_odds Match-winner prices by sportsbook, opening and closing, from mid-2020
get_deliveries Ball-by-ball rows for a match, a batter or a bowler, with our win probability
get_win_probability A match's win-probability worm over by over, and the balls that swung it
get_market_vs_model In-play prices beside our win probability, lined up to the exact ball
get_line_movement Every pregame snapshot by book, the market line over time, and in-play prices

Competitions are filters on one dataset: Tests, ODIs and T20Is, the IPL, Big Bash, PSL, CPL, T20 Blast, The Hundred, SA20, ILT20, county cricket, the WBBL, WPL and more (list_competitions).

Coverage

  • Ball by ball for 23,241 matches since December 2001 in every format, men's and women's
  • Batting and bowling cards, careers by format, splits by season, competition and phase (powerplay, middle, death), batter against bowler
  • Our Elo ratings by format and our per-ball win probability for limited-overs matches
  • Sportsbook match-winner prices from mid-2020, opening and closing by book, with in-play prices kept apart from pregame lines

Pricing

500 free credits every month, no card. Plans: Starter $19/mo (10,000 credits), Pro $49/mo (30,000), Scale $149/mo (125,000), Business $299/mo (300,000). Wallet top-ups from $5, never expire. https://yorkerapi.com/pricing?utm_source=github&utm_medium=readme&utm_campaign=yorkerapi-mcp

Data credits

Ball-by-ball cricket data from Cricsheet (cricsheet.org), licensed under the Open Data Commons Attribution License (ODC-BY), combined with our own models.

Ratings and win probabilities are ours. Not affiliated with the ICC or any league, board or team.

MCP Server · Populars

MCP Server · New