Fantasy Pl MCP Server

A Model Context Protocol (MCP) server that provides access to Fantasy Premier League (FPL) data and tools. This server allows you to interact with

Local serverstdioPython

What is the Fantasy Pl MCP MCP server?

Fantasy Pl MCP MCP server exists for a simple reason — assistants are far more useful when they can act on Fantasy Pl MCP directly instead of describing what you should do. A Model Context Protocol (MCP) server that provides access to Fantasy Premier League (FPL) data and tools. This server allows you to interact with FPL data in Claude for Desktop and other MCP-compatible clients.

What you get

  • Rich Player Data — Access comprehensive player statistics from the FPL API
  • Team Information — Get details about Premier League teams
  • Gameweek Data — View current and past gameweek information
  • Player Search — Find players by name or team
  • Player Comparison — Compare detailed statistics between any two players

Setting it up

Installation goes through your MCP client rather than a global install: point it at npx on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

What the assistant can call

Once Fantasy Pl MCP is connected, these are the calls the assistant has available:

  • get_gameweek_status — Get precise information about current, previous, and next gameweeks
  • analyze_player_fixtures — Analyze upcoming fixtures for a player with difficulty ratings
  • get_blank_gameweeks — Get information about upcoming blank gameweeks
  • get_double_gameweeks — Get information about upcoming double gameweeks
  • analyze_players — Filter and analyze FPL players based on multiple criteria
  • analyze_fixtures — Analyze upcoming fixtures for players, teams, or positions
  • compare_players — Compare multiple players across various metrics
  • check_fpl_authentication — Check if FPL authentication is working correctly
  • get_my_team — View your authenticated team (requires authentication)
  • get_team — View any team with a specific ID (requires authentication)
  • get_manager_info — Get manager details (requires authentication)

Configuration and credentials

You will need 4 environment variables: FPL_REFRESH_TOKEN, FPL_TEAM_ID, FPL_OIDC_CLIENT_ID, FPL_TOKEN_URL. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

  • Python 3.10 or higher - Claude Desktop (for AI integration)

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 11 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Fantasy Pl MCP.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the fantasy pl mcp mcp server does with a few real requests.

Choosing this one

Among the team communication options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Fantasy Pl MCP's toolset — get_gameweek_status, analyze_player_fixtures, get_blank_gameweeks and 8 more — is a fair guide to whether it matches your workflow. It is maintained by rishijatia; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Available tools

ToolWhat it does
get_gameweek_statusGet precise information about current, previous, and next gameweeks
analyze_player_fixturesAnalyze upcoming fixtures for a player with difficulty ratings
get_blank_gameweeksGet information about upcoming blank gameweeks
get_double_gameweeksGet information about upcoming double gameweeks
analyze_playersFilter and analyze FPL players based on multiple criteria
analyze_fixturesAnalyze upcoming fixtures for players, teams, or positions
compare_playersCompare multiple players across various metrics
check_fpl_authenticationCheck if FPL authentication is working correctly
get_my_teamView your authenticated team (requires authentication)
get_teamView any team with a specific ID (requires authentication)
get_manager_infoGet manager details (requires authentication)

How to install the Fantasy Pl MCP MCP server

{
  "mcpServers": {
    "fantasy-pl": {
      "command": "python",
      "args": ["-m", "fpl_mcp"]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Python 3.10 or higher - Claude Desktop (for AI integration)
VariableDescriptionRequired
FPL_REFRESH_TOKENCredential the server authenticates with.Yes
FPL_TEAM_IDConfiguration value read at startup.Optional
FPL_OIDC_CLIENT_IDConfiguration value read at startup.Optional
FPL_TOKEN_URLCredential the server authenticates with.Yes

Example prompts to try

  • Use Fantasy Pl MCP to get gameweek status.
  • Use Fantasy Pl MCP to analyze player fixtures.
  • Use Fantasy Pl MCP to get blank gameweeks.

Frequently asked questions

It connects Fantasy Pl MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 11 tools (get_gameweek_status, analyze_player_fixtures, get_blank_gameweeks, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Fantasy Pl MCP directly.