Skip to main content
Glama
mgphp
by mgphp

fpl-mcp

An MCP server for Fantasy Premier League. Reads use FPL's public API; transfers use cookie auth.

Tools

Tool

Description

current_gameweek

Current/next gameweek and deadline.

recommend_players

Rank players by form, value (points per £m), and upcoming fixture difficulty. Filters: position, max_cost, horizon, limit.

my_squad

Your current squad, bank, and free transfers. Needs auth.

make_transfer

Transfer a player out/in. Previews by default; set confirm=true to submit. Needs auth.

Related MCP server: MCP-Soccerdata

Setup

npm install
npm run build
cp .env.example .env   # then fill in the values

Environment

Var

Purpose

FPL_ENTRY_ID

Your team ID (the number in fantasy.premierleague.com/entry/<ID>/). Needed for my_squad and make_transfer.

FPL_COOKIE

Full Cookie header from a logged-in FPL request. Needed for authenticated reads/writes.

Read-only tools (current_gameweek, recommend_players) work without any env vars.

Run

node dist/server.js   # speaks MCP over stdio

Client config example

{
  "mcpServers": {
    "fpl": {
      "command": "node",
      "args": ["/absolute/path/to/fpl-mcp/dist/server.js"],
      "env": {
        "FPL_ENTRY_ID": "1234567",
        "FPL_COOKIE": "pl_profile=...; sessionid=..."
      }
    }
  }
}
Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mgphp/fpl-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server