Skip to main content
Glama
onside-football-mcp

onside-football-mcp

by wr275
README.md
# onside-football-mcp

**Fantasy Premier League for your AI assistant.** An MCP server from [Onside Arena](https://onsidearena.com) that gives Claude, Cursor, Windsurf or any MCP client live FPL data: projected points for every Premier League player, captain picks, differentials, set-piece takers, price changes and the predicted table.

Onside publishes its projections before every FPL deadline and grades them after the gameweek, in public: [onsidearena.com/accuracy](https://onsidearena.com/accuracy).

Ask your assistant:

- "Who should I captain this gameweek?"
- "What does Onside project for Haaland over the next six gameweeks?"
- "Best defenders under £5m for the next six weeks?"
- "Give me three differentials under 5% owned."
- "Who takes Arsenal's penalties and corners?"
- "Which players are about to rise in price tonight?"

## Quick start

### Claude Desktop

Add this to `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "onside-football": {
      "command": "npx",
      "args": ["-y", "onside-football-mcp"]
    }
  }
}
```

Restart Claude Desktop and ask "Who should I captain in FPL this week?"

### Cursor, Windsurf and other stdio clients

Use the same command: `npx -y onside-football-mcp`.

### Hosted (Streamable HTTP)

```bash
npm install -g onside-football-mcp
PORT=8080 onside-football-mcp-http
```

`POST /mcp` is the MCP endpoint, `GET /healthz` the liveness probe. Stateless, CORS open.

## Tools

| Tool | What it returns |
|---|---|
| `get_captain_picks` | The highest projected scorers for the next gameweek who are likely to start, with opponent, ownership and haul odds |
| `get_player_projection` | One player by name: projected points next gameweek and next six, start probability, likely range, FPL news |
| `get_best_players` | Players ranked by projected points, filtered by position and maximum price, next gameweek or next six |
| `get_differentials` | Players under a chosen ownership (default 5%) with the best six-gameweek projection |
| `get_set_piece_takers` | Penalty, free-kick and corner takers for any or all 20 clubs, checked weekly |
| `get_price_changes` | Players closest to a price rise or fall tonight |
| `get_predicted_table` | The pre-season predicted 2026/27 table, frozen before Gameweek 1 |

Player names, prices, ownership and fixtures come from FPL's public feed; projections, set-piece takers, price predictions and the table come from [onsidearena.com](https://onsidearena.com). Every response ends with a source line linking the matching Onside page.

## Configuration

| Env var | Default | Purpose |
|---|---|---|
| `ONSIDE_SITE` | `https://onsidearena.com` | Point at a staging site |
| `ONSIDE_FPL_API` | `https://fantasy.premierleague.com/api` | FPL feed base |
| `ONSIDE_USER_AGENT` | `onside-football-mcp/1.0.0` | User-Agent sent upstream |

Responses are cached in memory for five minutes.

## Licence and credit

The server code is MIT. The data is free for non-commercial use; keep the source line when you republish it. Commercial use: hello@onsidearena.com.

## Links

- Onside Arena: https://onsidearena.com
- Captain picks: https://onsidearena.com/captain
- Set-piece takers: https://onsidearena.com/set-piece-takers
- Graded record: https://onsidearena.com/accuracy
- Open dataset (CC BY 4.0): https://onsidearena.com/data

Version 1.0.0 replaced the 2026 World Cup tools of 0.x.

TDQS

A3.6/5.0

Scored across 7 tools

Disambiguation4/5

Most tools have clearly distinct purposes: player lookup, captain picks, best-player rankings, differentials, set-piece takers, price changes, and predicted table. The main overlap is between get_captain_picks, get_best_players, and get_differentials, since all involve projected points, but ownership filters, captain-specific haul odds, and different time horizons help distinguish them.

Naming Consistency5/5

All seven tools follow a consistent get_ + snake_case noun pattern: get_captain_picks, get_player_projection, get_best_players, get_differentials, get_set_piece_takers, get_price_changes, get_predicted_table. There is no mixing of verbs or casing conventions.

Tool Count5/5

Seven tools is well-scoped for an FPL analytics server. Each tool maps to a distinct fantasy-football decision area, and there is no obvious filler or redundant endpoint.

Completeness4/5

The surface covers the core FPL workflows: captain selection, player projections, transfer targets, differentials, set-piece takers, price changes, and a season prediction table. Minor gaps remain, such as fixture difficulty ratings, team-level clean-sheet/defensive projections, or comparison tools, but agents can work around these using the existing tools.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues