fpl-mcp
This server provides tools to interact with Fantasy Premier League, enabling you to check gameweeks, get player recommendations, manage your squad, and make transfers. Authentication (via FPL_ENTRY_ID and refresh token) is required for squad and transfer tools.
current_gameweek: Retrieve the current or next upcoming gameweek and its deadline.
recommend_players: Get player recommendations ranked by form, value (points per £m), and fixture difficulty, with optional filters for position, max cost, horizon, and limit.
my_squad: View your current squad, bank balance, and free transfers (requires authentication).
make_transfer: Transfer a player out and another in; previews by default, or submit with
confirm=true(requires authentication).update_fpl_credentials: Replace the stored auth token from within the chat when it expires or is revoked, without needing to restart the server.
Provides tools for accessing Fantasy Premier League data, including current gameweek, player recommendations, squad management, and transfers.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@fpl-mcp recommend defenders under 5m with easy fixtures"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
fpl-mcp
An MCP server for Fantasy Premier League. Reads use FPL's public API; authenticated calls use a PingOne OIDC refresh token.
Tools
Tool | Description |
| Current/next gameweek and deadline. |
| Rank players by form, value (points per £m), and upcoming fixture difficulty. Filters: |
| Your current squad, bank, and free transfers. Needs auth. |
| Transfer a player out/in. Previews by default; set |
| Replace the stored auth token from inside chat when it's expired or revoked — no restart needed. |
Related MCP server: FPL Advisor MCP Server
Setup
npm install
npm run build
cp .env.example .env # then fill in the valuesEnvironment
Var | Purpose |
| Your team ID (the number in |
| PingOne OIDC refresh token — see |
Read-only tools (current_gameweek, recommend_players) work without any env vars.
Auth notes
FPL retired the old users.premierleague.com cookie login in favor of PingOne OIDC (account.premierleague.com). The server:
Exchanges
FPL_REFRESH_TOKENfor a short-lived access token and sends it asX-API-Authorization: Bearer <token>.Refreshes proactively before expiry and on any 401/403.
PingOne rotates the refresh token on every exchange — the server rewrites
FPL_REFRESH_TOKENin.enveach time so the new one survives a restart.If the token is ever revoked or fully expired, call the
update_fpl_credentialstool from chat with a freshly copiedoidc.uservalue instead of editing.envby hand.
Run
node dist/server.js # speaks MCP over stdioClient config example
{
"mcpServers": {
"fpl": {
"command": "node",
"args": ["/absolute/path/to/fpl-mcp/dist/server.js"],
"env": {
"FPL_ENTRY_ID": "1234567",
"FPL_REFRESH_TOKEN": "eyJ..."
}
}
}
}Available Tools
4 toolscurrent_gameweekA
Return the current (or next upcoming) FPL gameweek and its deadline.
Inputs: no named parameters.
make_transferA
Transfer one player out and another in. Previews (dry run) unless confirm=true.
Inputs: element_in (required), element_out (required), confirm.
my_squadA
Show your current squad (requires FPL_ENTRY_ID and FPL_COOKIE).
Inputs: no named parameters.
recommend_playersA
Rank available players by a blend of form, value (points per £m), and upcoming fixture difficulty.
Inputs: limit, horizon, max_cost, position.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool serves a distinct purpose: gameweek info, player recommendations, squad viewing, and transfers. No overlap.
All names use snake_case, but verb placement varies: 'current_gameweek' uses adjective, others use verb_noun. Mostly consistent.
4 tools cover basic FPL operations but feel minimal. Could expand with chip management or league features.
Core CRUD-like operations present: read gameweek, read squad, create transfer. Missing updates (e.g., squad order) and chip actions.
Maintenance
Related MCP Connectors
MCP server for Financial Modeling Prep API with 250+ financial data tools
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud
A MCP server built for developers enabling Git based project management with project and personal…
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that provides access to Fantasy Premier League data, allowing users to compare players, find team information, view gameweek data, and get FPL-related advice through Claude for Desktop and other MCP-compatible clients.2380MIT
- FlicenseAqualityDmaintenanceAn MCP server that provides Fantasy Premier League advice, including transfer suggestions, captain recommendations, and differential player discovery.3-
- FlicenseNot gradedqualityDmaintenanceMCP server for the Fantasy Premier League API, enabling querying of players, teams, fixtures, and your FPL team through any MCP-compatible client.-
- FlicenseNot gradedqualityCmaintenanceMCP server for NFL fantasy football retrieval, providing access to NFL stats and Sleeper league data through retrieval-oriented tools.-