football-docs

football-docs

IN BETA!
Like Context7 for football data

Searchable documentation across 32 football data providers and tools, built for AI coding agents. Covers club and provider APIs including StatsBomb, Wyscout, SportMonks, Impect, SkillCorner, Sportradar, Driblab, API-Football, ESPN, TheSportsDB, BeSoccer, FMDB Pro, TransferRoom, Opta, public/free sources and the Reep identity register, wearable and sports-science APIs (STATSports, Firstbeat Sports, Hawkin Dynamics, VALD), plus open-source libraries people build with too (kloppy, mplsoccer, socceraction, soccerdata, databallpy, floodlight, fast-forward, unravelsports, and more). Your agent resolves provider names, looks up the real docs, compares provider concepts, resolves football entities across provider IDs, finds, reads and quotes the papers and posts behind a method, and looks up checked metric definitions, instead of guessing from training data. Works with any MCP client.

3651
searchable chunks
32
providers + tools
17
MCP tools
v0.17.11
npm version
Install
Any agent

Finds the coding agents on this computer and adds football-docs to the ones you pick: Claude Code, Codex, Cursor, VS Code, OpenCode, Gemini CLI, pi, Hermes and 17 more. It uses add-mcp, an open-source installer that writes each agent's own config file.

npx add-mcp football-docs@latest -g
Requires Node 22.13+. No API key needed. Restart your agent, then ask use football-docs to find where xT comes from.
Tools
search_docs
Full-text search across all providers
resolve_provider_id
Resolve provider names and aliases
get_provider_docs
Retrieve docs for a resolved provider
list_providers
See all indexed providers
compare_providers
Compare how providers handle concepts
request_update
Flag outdated docs or request new ones
resolve_entity
Map players, teams, matches and more across provider IDs via Reep
get_metric
One metric card, or one published version of a metric by its ID
list_metrics
Every metric card and version ID
search_papers
Search papers in OpenAlex, arXiv, SportRxiv and your Zotero library
get_paper
Look up a paper by DOI, arXiv or OpenAlex ID, with its licence
get_web_source
Read a blog post or web page, dated by the Wayback Machine
read_paper
Read an open paper by section, with its licence
match_quote
Check that a quote actually appears in its source
add_local_paper
Add a PDF you have access to your paper library
forget_paper
Remove one paper from your library
purge_cache
Clear your whole paper library
Example queries
Indexed providers
SportMonks
578 chunks
Sportradar
482 chunks
VALD
321 chunks
StatsBomb
292 chunks
fast-forward
255 chunks
unravelsports
202 chunks
Wyscout
165 chunks
floodlight
144 chunks
kloppy
125 chunks
Metric cards
101 chunks
Impect
82 chunks
SkillCorner
81 chunks
Firstbeat Sports
79 chunks
Opta
73 chunks
STATSports
71 chunks
Free sources
70 chunks
Hawkin Dynamics
69 chunks
mplsoccer
65 chunks
databallpy
63 chunks
TransferRoom
45 chunks
soccerdata
40 chunks
FMDB Pro
39 chunks
Reep
35 chunks
Driblab
34 chunks
socceraction
34 chunks
API-Football
29 chunks
ESPN
21 chunks
TheSportsDB
20 chunks
BeSoccer
16 chunks
Transfermarkt
10 chunks
FotMob
5 chunks
Soccerdonna
5 chunks
What's new since v0.12.2
v0.17.11 shipped — on npm now
StatsBomb's current specs, and live data shipped
The StatsBomb docs follow Hudl's current API specifications: Events v11, 360 v3, Lineups v5 and the four stats endpoints, with the new phases-of-play, defensive-responsibility and HOPS fields. A new page covers the live data API. The SkillCorner docs add the v3 to v4 migration dates, and Sportmonks, Sportradar and VALD follow their latest docs and specs.
Metric cards shipped
Football metrics share names, not definitions. Eleven cards (xG, npxG, xA, xG assisted, PPDA, progressive passes and carries, xT, VAEP, field tilt, pass completion) list every published version side by side, each with its own ID, formula, source and a checked quote. get_metric returns a card or one version, and 24 versions come with reference code tested on StatsBomb open data. Read more.
Entity IDs that survive merges shipped
resolve_entity follows merged Reep IDs to the survivor, keeps the provider IDs still attached to the merged ID, marks IDs a provider has retired or removed, and reports withdrawn IDs as withdrawn instead of unknown. It gives the same answers as the new reep Python package, reads the current Reep register layout, and maps venues too. On the mapping-only Reep release it searches names in the local file, because the Reep API no longer offers name search.
Sources you can check shipped
Search results name the page each doc came from, with an archived copy: a pinned GitHub commit, or a Wayback Machine snapshot from when the doc was checked. Every doc was checked against its source, and the pages that disagreed were corrected, among them kloppy, StatsBomb, SportMonks, FBref, soccerdata, mplsoccer and databallpy.
SkillCorner dynamic events, and Impect open data v2.0 shipped
New SkillCorner pages explain dynamic events and the values each delivered file carries (contributed by Romeo Scagliarini). The Impect docs follow open data v2.0, with its new event IDs, inverted KPIs and changed KPI descriptions. The SkillCorner API v4, fast-forward 0.4.0, VALD and Understat docs follow their latest specs and releases.
STATSports field changes, and a spec refresh shipped
The STATSports specs renamed and removed fields in v5, v6 and v7, including the player ID, and the docs list every change. SkillCorner adds a frame rate for tracking data version 4.0, FMDB Pro adds ESC fields, and the VALD, football-data.co.uk and Reep docs follow their latest specs and releases. ClubElo now blocks scripts, so its docs are frozen.
API-Football, and a docs refresh shipped
API-Football joins the index, with access, data model and ID docs from its v3 documentation (contributed by Ivan Muñoz). The SkillCorner, STATSports, Driblab, Sportradar, Hawkin Dynamics and soccerdata docs follow their latest specs and releases.
Find, read and quote papers shipped
Your agent can now find the research behind a method and check it before citing it. search_papers searches OpenAlex, arXiv and SportRxiv, read_paper reads open-access papers in full, and match_quote confirms a quote actually appears in the source. get_web_source reads blog posts too: ask where xT comes from and it finds Karun Singh’s original post, shows it was online by February 2019 via the Wayback Machine, and quotes the sentence where he named it.
Paid papers, the honest way shipped
Add a PDF you already have access to with add_local_paper, or point it at your Zotero library. football-docs never logs in anywhere on your behalf and only returns short passages from those papers. Paper text stays on your machine, and FOOTBALL_DOCS_PAPERS=off turns every paper and web request off.
Wearables and sports science shipped
STATSports, Firstbeat Sports, Hawkin Dynamics and VALD join the index, with endpoint, field and metric tables generated from each vendor’s public specs and checked in CI.
Checked against the sources shipped
The Opta, StatsBomb and SportMonks ID tables are now checked against each provider’s own sources on every change. Search marks results that only partly match, and says when you ask about something that is not indexed, and why.
Always current shipped
Doc fixes reach your install within a day with no new version: the server checks for a newer, signed docs index and uses it from the next tool call. It runs on Node’s built-in SQLite and is tested on macOS, Windows and Linux.
From the blog all posts