nutmeg
A Claude Code plugin that makes Claude an expert at football data analytics.
Who it's for: Anyone who works with football data — analysts, developers, journalists, researchers, hobbyists. If you've ever spent an hour figuring out which Opta qualifier is xG, or why your StatsBomb coordinates are upside down, or how to normalise a heatmap properly, this is for you.
What it does: Gives Claude deep, verified knowledge of football data providers, libraries, and conventions. Claude looks up the actual docs instead of guessing from training data, writes code adapted to your stack, and catches football-specific mistakes in your work.
Why not just ask Claude directly? Claude knows football data exists but its knowledge is frozen and often wrong on specifics — qualifier IDs, API endpoints, coordinate systems, method signatures. These change. nutmeg connects Claude to a live, searchable index of real provider documentation so it gets the details right.
Capabilities
nutmeg gives Claude deep knowledge of football data so it can help you:
- Acquire data from Opta, StatsBomb, Wyscout, SportMonks, FBref, Understat, and more
- Wrangle event streams, transform coordinates, join datasets, handle large files
- Route entity-resolution work to the right public surface: provider facts in football-docs, public ID lookup in Reep Register, reusable matching guidance in reep-toolkit
- Compute derived metrics like xG, PPDA, passing networks, expected threat
- Store data in the right format and publish results via Streamlit, Observable, or static sites
- Analyse matches, players, and teams with statistical rigour
- Learn football analytics concepts, from xG basics to academic research
It adapts to your experience level, preferred programming language, and available data sources.
Install
Full install (Claude Code plugin)
Includes skills, agents, and the football docs MCP server.
# From Claude Code — add the marketplace first (one-time), then install
/plugin marketplace add withqwerty/plugins
/plugin install nutmeg@withqwerty
Skills only (any AI coding agent)
Works with Codex, Cursor, OpenCode, pi, Gemini CLI, Hermes and many other agents through the Agent Skills standard. Nutmeg looks up provider facts in the football-docs MCP server, so add that too (Node.js 22.13 or newer):
npx skills add withqwerty/nutmeg -g
npx add-mcp [email protected] -g
Each command asks which of your agents to set up. add-mcp writes each agent's own MCP config file. To add football-docs by hand, use the command npx -y [email protected] as a stdio MCP server. Without football-docs, nutmeg says it cannot check provider facts, and labels anything it answers from memory as unverified.
You can also paste this into your agent, and it does the steps for you:
Set up the nutmeg football data skills for this agent only. Read https://nutmeg.withqwerty.com/skills/setup.md and follow it. Show me each command or config change before you make it.
This install has the 11 skills and football-docs, but not the three agents (pipeline builder, data reviewer, chart reviewer). For those, use the Claude Code plugin above. More install options: nutmeg.withqwerty.com/skills.
Setup
Run /nutmeg and describe what you want to do. On first run, it creates your profile (experience, tools, data access) so all skills adapt accordingly.
Skills
Most users only need two commands — /nutmeg routes everything else automatically.
Entry points
| Skill | What it does |
|---|
/nutmeg | Start here. Describe what you want — it handles setup, routing, and dispatch |
/nutmeg:learn | Concepts, resources, provider docs, learning paths |
/nutmeg:research | Run analysis you will publish or decide on as a research project: a question card, a plan with reasons, a claim ledger that ties every number to its evidence, explainer pages you can edit and share, and a teach-back (the work in your own words) before anything is published |
Research projects need Python 3.10 or newer (python3). Without it, everything else in nutmeg works as before. The research hooks (a gate card before each analysis run, and a ledger check before each step ends) are off until you turn them on with nutmeg config set --hooks on (see docs/team-config.md).
Sub-skills (auto-dispatched or direct)
These are invoked automatically by /nutmeg based on what you're doing. Power users can call them directly.