sports-data-hq

StrikerAPI MCP server

Community sports-data-hq
Updated

StrikerAPI: soccer data for 17 leagues for AI agents. Remote MCP server, REST API and 8 Claude skills, plus 13 analytics skills.

StrikerAPI MCP server

MCP Registry

The soccer data API. Results, lineups, box scores and match events for 17 competitions, from the Premier League, MLS, La Liga, Serie A, the Bundesliga, Ligue 1 and the Champions League to the EFL Championship, the NWSL, Liga MX, the Europa League, the Conference League, the Eredivisie, the Primeira Liga, the Scottish Premiership, Brazil's Serie A and Argentina's Liga Profesional, with the location of every charted shot, our own expected goals and Elo ratings, sportsbook lines and anytime goalscorer prices. REST API and MCP server. 500 free credits every month, no card.

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

You:    "Which Premier League teams allowed the most xG from set pieces last season?"
Claude: [calls get_team_stats]

You:    "Show Arsenal's shot map against Chelsea in their last meeting."
Claude: [calls get_shot_map]

You:    "What was Erling Haaland's anytime goalscorer price at each sportsbook before his last match?"
Claude: [calls get_player_props]

Run it locally (stdio)

Most clients connect to https://mcp.strikerapi.com/mcp directly. For a client that launches a local process instead:

git clone https://github.com/sports-data-hq/strikerapi-mcp.git && cd strikerapi-mcp && npm install
STRIKERAPI_API_KEY=your_key node index.js
{ "mcpServers": { "strikerapi": { "command": "node", "args": ["/path/to/strikerapi-mcp/index.js"], "env": { "STRIKERAPI_API_KEY": "your_key" } } } }

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

Try it now, no key

  • A free season of soccer 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

8 Claude skills for soccer 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 StrikerAPI tool call, and odds are information only: no stakes, no picks.

Claude Code:

/plugin marketplace add sports-data-hq/strikerapi-mcp
/plugin install soccer-data@strikerapi
/plugin install sports-analytics-core@strikerapi

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

Skill What it does
soccer-fpl-captain FPL captain pick ranked by expected points, with the model's goal chance beside the market's
soccer-fpl-transfers FPL transfers over the next four gameweeks from minutes, xG per 90 and fixtures, with the hit cost
soccer-match-preview One-page preview: table and form, club Elo, xG for and against, lineups and the three-way line
soccer-player-props-research Scorer, shots, assists and card prices by sportsbook, the market's probability and the player's record against them
soccer-season-simulation Simulated finishing positions for a league: title, top four, relegation chances
soccer-set-pieces Set pieces from event data: corners and free kicks, and what came from them
soccer-team-style-profile How a club plays: shot locations, xG, possession proxies and style against the league
soccer-xg-breakdown A match or season in xG: shot maps, the xG race, big chances, finishing against expected

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.

Python

The official Python client is on PyPI: strikerapi.

pip install strikerapi
export STRIKERAPI_API_KEY=sk_live_...
from strikerapi import Client, to_dataframe

client = Client()

table = client.get_standings(league="mls")
df = to_dataframe(table, key="standings")
print(df[["group_name", "rank", "display_name", "played", "points"]].head(10))

Typed errors for a bad key, no credits left, not found and rate limits, automatic retries, and to_dataframe for pandas.

Quick start

This is a hosted (remote) MCP server over Streamable HTTP. There is nothing to install.

Claude Code

claude mcp add --transport http strikerapi "https://mcp.strikerapi.com/mcp?key=YOUR_API_KEY"

Claude Desktop, Cursor and other clients

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

The key can also be sent as an x-api-key header or Authorization: Bearer. Connecting and listing tools works without a key; calling a tool needs one.

REST

curl -X POST https://mcp.strikerapi.com/v1/list_teams -H "x-api-key: YOUR_API_KEY"

Every tool is POST /v1/{tool} with a JSON body.

Examples

Runnable Python (standard library only) and Node 18+ (no dependencies) examples live in examples/:

  • examples/python/quickstart.py and examples/node/quickstart.mjs: schedule plus a headline call.
  • examples/python/soccer_shot_map_xg.py: One match, two views.
export STRIKERAPI_API_KEY=your_key
python3 examples/python/quickstart.py
node examples/node/quickstart.mjs

See examples/README.md for details. Get a free key (500 credits a month, no card) at https://strikerapi.com/signup?utm_source=github&utm_medium=readme&utm_campaign=strikerapi-mcp.

Starter projects

  • soccer-xg-model: fit your own expected-goals model from shot locations and grade it against StrikerAPI's xG, in one Python script.

Use it in

Tools (25)

Tool What it returns
list_teams Club ids, abbreviations and colours for a season
search_players Find players by name
get_squad A club's current squad (2) or the whole league's (10): every registered player with position, shirt number and age
list_games Fixtures and results by season, stage, date, range or club
get_schedule Upcoming fixtures with the median three-way line across sportsbooks
get_standings The league table: points, deductions, goal difference, home and away, form
get_ratings Our club Elo ratings, ranked
get_head_to_head Two clubs' meetings: record, goals and every result
get_game One match: score, both box scores, every player's line, key events, each book's line
get_lineups Formations, starting XIs, benches and substitutions with minutes
get_player Profile, per-season totals and per-90 rates, last 10 matches
get_player_games A player's full match log
get_leaders Season leaders: goals, assists, shots, xG, cards, saves
get_team_stats Per-match averages: goals, xG, shots, possession (missing for some leagues and seasons), passing, discipline, for and against
get_odds Every sportsbook's three-way moneyline, goal handicap and total for a match (5) or a day (10), with results
get_events Match events: goals, cards, substitutions, shots with location and xG, fouls, corners
get_shot_map Shot map for a club, player or defence: every located shot with outcome and xG, plus zone totals
get_line_movement Snapshots of each sportsbook's line before kick-off
get_player_props Anytime, first and last goalscorer, to be carded, shots, shots on target and assists prices by sportsbook
get_prop_history A player's prop price against what he did, match by match
get_prop_movement How one player's prop line moved before a game, every capture by sportsbook
get_market_odds Opening and closing lines by sportsbook for both teams to score, draw no bet, double chance and the first half (history from May 2023)
get_game_probabilities What the market thinks of a game: average implied and fair probability for the result (home, draw, away), handicaps and totals
get_prop_probabilities What the market thinks of a game's player props: average implied and fair probability for each player and line
get_prop_backtest How often a kind of player prop hit against what the market implied, by your filters, since 2024

Leagues: soccer (default, Premier League), mls, laliga, seriea, bundesliga, ligue1, ucl, championship, nwsl, ligamx, uel, uecl, eredivisie, primeira, scotland, brazil, argentina (pass league to any tool).

Data

  • Seventeen competitions through the same 19 tools: Premier League, MLS, La Liga, Serie A, Bundesliga, Ligue 1, Champions League, EFL Championship, NWSL, Liga MX, Europa League, Conference League, Eredivisie, Primeira Liga, Scottish Premiership, Brazil's Serie A and Argentina's Liga Profesional
  • Results, lineups and goals from 2001-02 and shot locations from 2012-13 for the longest-covered leagues (start years differ by competition; coverage by season is on the docs page)
  • League tables with deductions, goal difference, home and away and form; club Elo ratings; head to head
  • Per-sportsbook three-way moneylines, goal handicaps and totals from 2017-18, densest (about ten books a match) from 2021-22 to 2023-24, one or two books since, plus opening and closing lines since June 2020 for 16 competitions; pre-match line snapshots from launch: once a day, and every hour for matches in the next two days
  • Anytime goalscorer prices by sportsbook (the Yes price, and No where a book posts it; no other player market) for seven competitions: the Premier League and MLS from April 2024, Ligue 1 from May 2024, La Liga, Serie A and the Bundesliga from August 2024 and the Champions League from March 2025, from DraftKings and FanDuel with Pinnacle and William Hill on some matches in 2026; none for the other ten competitions

Coverage by season, read live from the database: https://strikerapi.com/docs?utm_source=github&utm_medium=readme&utm_campaign=strikerapi-mcp

Useful pages

  • Odds this week: upcoming fixtures with the median three-way line
  • Goalscorer prices today: Premier League anytime goalscorer prices, best Yes and No per player across books
  • Guides: Python walk-throughs for xG tables, shot maps, Elo, top scorers and odds history
  • Docs: every tool, parameter and response, with coverage by season
  • Data: shot data, match events, historical odds and goalscorer prices
  • Pricing: free tier and plans

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://strikerapi.com/pricing?utm_source=github&utm_medium=readme&utm_campaign=strikerapi-mcp

Attribution

Expected goals and ratings are ours. Not affiliated with any league, club or federation.

License

MIT for the contents of this repository. Data terms as above.

Use with Codex

The SportsDataHQ skills marketplace also works in Codex (it reads .agents/plugins/marketplace.json):

codex plugin marketplace add sports-data-hq/sportsdatahq-skills

Install soccer-data, which bundles the soccer skills and the StrikerAPI MCP server.

Use with Gemini CLI

export STRIKERAPI_API_KEY=your_key
gemini extensions install https://github.com/sports-data-hq/strikerapi-mcp

The extension adds the StrikerAPI MCP server (https://mcp.strikerapi.com/mcp) and sends the key in the x-api-key header. Get a free key (500 credits a month) at https://strikerapi.com/signup?utm_source=github&utm_medium=readme&utm_campaign=strikerapi-mcp.

MCP Server · Populars

MCP Server · New