Skip to main content
Glama
fpl-context-mcp

fpl-context-mcp

fpl-context-mcp

An MCP server that gives any MCP-capable AI agent live Fantasy Premier League (FPL) data: the current gameweek and deadline, fixtures with difficulty ratings, player stats and match history, any manager's squad and chips, expected points, and injury and suspension flags. It works with zero setup and needs no database: it reads the public FPL API directly. It runs locally in Claude Desktop, Claude Code, Cursor, VS Code Copilot, Windsurf, Gemini CLI and Codex; ChatGPT and other clients that only accept a URL can connect when you host it over HTTP.

Tool

What it does

get_current_gameweek

The current and next gameweek and the transfer deadline

get_fixtures

Fixtures with FPL's difficulty rating (FDR, 1 to 5): every team, one team's run, or a single gameweek

get_fixture_run

How hard a team's next few fixtures are (average FDR, home/away, blank and double gameweeks), or a ranked fixture ticker for all 20 teams

search_players

Find and rank players by name, team, position and max price; sort by points, form, price, ownership, expected points and more

get_player_history

A player's matches this season (optionally against one opponent) and their season totals for past seasons

get_gameweek_stats

Every player's stats for one gameweek, ranked: top scorers, clean sheets, bonus

get_xpts

Estimated expected points for a gameweek by position, team and price, built from underlying stats, expected minutes, availability and fixture difficulty

get_manager_squad

A manager's squad, captain, bench, bank, transfers and chips used, from their FPL team ID

get_live_availability

Every player's current injury, suspension and availability flags

Plus three prompts (captain_pick, transfer_plan, chip_timing) that show up as slash commands in clients that support them, and a reference resource (fpl://glossary). See Prompts and resources.

Data limits. FPL serves match-by-match data for the current season only; past seasons are season totals. Questions like "how did X do against Arsenal in earlier seasons" can't be answered from FPL's data, and the tools say so rather than guess.


Contents


Related MCP server: FPL MCP Server

Quickstart

uvx fpl-context-mcp

Register it with your client (Claude Desktop config: {"mcpServers": {"fpl-context": {"command": "uvx", "args": ["fpl-context-mcp"]}}}) and ask "who should I captain this week?" or "show Arsenal's next five fixtures". That's it: no database, no account, no API key.

For other clients see Other AI clients. For ChatGPT and other URL-only clients, host it over HTTP.


Installation

Needs Python 3.11+ and outbound HTTPS access to fantasy.premierleague.com.

Without installing (uv)

uvx fpl-context-mcp runs it straight from PyPI. Requires uv.

From PyPI

pip install fpl-context-mcp

This installs the fpl-context-mcp command.

From source

git clone https://github.com/sbanthia92/fpl-context-mcp
cd fpl-context-mcp
pip install -e ".[dev]"

As a dependency of another project

fpl-context-mcp @ git+https://github.com/sbanthia92/fpl-context-mcp.git

Configuration

The server needs no configuration over stdio. Everything below applies only to the HTTP transport (--transport http), and can be set as environment variables or in a .env file (see .env.example):

Variable

Default

Purpose

MCP_TRANSPORT / MCP_HOST / MCP_PORT (or PORT)

stdio / 127.0.0.1 / 8000

Defaults for --transport / --host / --port

MCP_AUTH_TOKEN

(empty)

Require Authorization: Bearer <token> on /mcp. Comma-separate several keys

MCP_RATE_LIMIT_PER_MIN

0 (off)

Per-caller request limit on /mcp; see Remote access

MCP_CLIENT_IP_HEADER

(empty)

Header with the real client IP behind a trusted proxy


Registering with Claude Desktop

Add the server to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows).

{
  "mcpServers": {
    "fpl-context": {
      "command": "uvx",
      "args": ["fpl-context-mcp"]
    }
  }
}

If installed with pip

{
  "mcpServers": {
    "fpl-context": {
      "command": "fpl-context-mcp"
    }
  }
}

If running from source

{
  "mcpServers": {
    "fpl-context": {
      "command": "python",
      "args": ["/absolute/path/to/fpl-context-mcp/server.py"]
    }
  }
}

Tip: If you use uv, replace "python" with "uv" and prepend "run" to args:

"command": "uv",
"args": ["run", "/absolute/path/to/fpl-context-mcp/server.py"]

Restart Claude Desktop. You should see fpl-context appear in the tools panel.


Other AI clients (local)

Any client that can launch a local MCP server (stdio) works the same way: run the fpl-context-mcp command (no configuration needed).

Claude Code

claude mcp add fpl-context -- uvx fpl-context-mcp

Cursor (~/.cursor/mcp.json), Windsurf (~/.codeium/windsurf/mcp_config.json) and Gemini CLI (~/.gemini/settings.json) all use the same mcpServers shape as Claude Desktop:

{
  "mcpServers": {
    "fpl-context": {
      "command": "uvx",
      "args": ["fpl-context-mcp"]
    }
  }
}

VS Code (Copilot agent mode) — .vscode/mcp.json in your workspace:

{
  "servers": {
    "fpl-context": {
      "type": "stdio",
      "command": "uvx",
      "args": ["fpl-context-mcp"]
    }
  }
}

OpenAI Codex CLI — ~/.codex/config.toml:

[mcp_servers.fpl-context]
command = "uvx"
args = ["fpl-context-mcp"]

uv not installed? pip install fpl-context-mcp, then use "command": "fpl-context-mcp" (no args) in any of the configs above.

Your own agent code — the MCP SDKs (Python, TypeScript) and agent frameworks such as the OpenAI Agents SDK can launch fpl-context-mcp as a stdio server, or connect to it over HTTP as below.


Remote access over HTTP (ChatGPT and other URL-only clients)

Some clients can't launch a local process — they only accept a server URL. That includes ChatGPT (Settings → Apps & Connectors → Advanced → Developer mode → create a connector) and custom connectors on claude.ai. For these, run the server with the streamable HTTP transport on a machine with a public HTTPS address:

MCP_AUTH_TOKEN=some-long-random-string \
fpl-context-mcp --transport http --host 0.0.0.0 --port 8000
  • The MCP endpoint is https://<your-host>/mcp; GET /health returns ok for load-balancer and platform health checks.

  • --transport, --host and --port can also be set with MCP_TRANSPORT, MCP_HOST and MCP_PORT (or the PORT variable that Render, Cloud Run, Heroku and Fly set).

  • The server listens on plain HTTP. Put it behind something that terminates TLS — any of those platforms does, or cloudflared tunnel / ngrok for a quick test from your own machine.

  • The default bind address is 127.0.0.1, so nothing is exposed until you pass --host 0.0.0.0.

Authentication. With MCP_AUTH_TOKEN set, every request to /mcp must send Authorization: Bearer <token>; others get HTTP 401. Clients that let you set headers can use it — for example Claude Code:

claude mcp add --transport http fpl-context https://your-host/mcp --header "Authorization: Bearer some-long-random-string"

and the OpenAI Agents SDK / Responses API MCP tool (headers={"Authorization": "Bearer ..."}).

Several keys. MCP_AUTH_TOKEN accepts a comma-separated list (key-alice,key-bob). Each user can have their own key, and removing one from the list revokes it without touching the others. Rate limits are applied per key.

Rate limiting and load. Set these before exposing a server publicly:

Variable

Default

Purpose

MCP_RATE_LIMIT_PER_MIN

0 (off)

Max requests per minute to /mcp for each caller (their bearer token, else their IP). Over the limit gets 429 with a Retry-After header. One tool call is typically 2-3 requests, so leave headroom (120 is a reasonable start). /health is never limited. The counter is in memory, so with several replicas each enforces its own limit.

MCP_CLIENT_IP_HEADER

(empty)

Behind a proxy, every request appears to come from the proxy. Set this to the header your proxy fills with the real client IP (Fly-Client-IP, CF-Connecting-IP, X-Forwarded-For). Only do this when the proxy overwrites the header; otherwise callers can fake their IP to dodge the limit.

ChatGPT and claude.ai connectors only support OAuth or no authentication — not a static bearer token. To use them you currently have to leave MCP_AUTH_TOKEN unset (the endpoint is then open to anyone who finds the URL) or put an OAuth-capable proxy in front. If you run it open, anyone who finds the URL can use it and spend your server's FPL API traffic, so set the rate limit below. The server logs a warning at startup when it's bound to a non-local address without a token or a rate limit.

Running a public endpoint? See the hosting guide: container, proxy setup, auth modes, and a canary that checks the endpoint every 15 minutes.

Container. A Dockerfile is included: docker build -t fpl-context-mcp ., then run it (optionally with MCP_AUTH_TOKEN set). It runs as a non-root user, listens on $MCP_PORT / $PORT / 8000, defaults to a rate limit of 120 requests a minute, and has a health check on /health.

Where the data comes from. A hosted server calls the public FPL API on behalf of whoever connects, and caches responses in memory. There is nothing to provision or keep fresh. Because you're now serving results to other people, see Data sources and disclaimer, and the hosting guide.


Running the server standalone

fpl-context-mcp          # installed from PyPI
python server.py         # from source

By default the server communicates over stdio: it is designed to be launched by an MCP client, and running it directly is mainly useful for smoke-testing. To run it as a persistent network service, use --transport http (see Remote access over HTTP).


Verifying connectivity (--check)

fpl-context-mcp --check

Confirms the FPL API is reachable from your machine and exits 0 on success, 1 on failure:

=== fpl-context-mcp check ===

✅ FPL API reachable (700 players, 20 teams)

✅ OK

MCP tools reference

Live tools overview

These tools call the public FPL API directly and need no database or configuration. They share one cache: FPL's bootstrap-static data (every player and team) is downloaded once and reused for 5 minutes across tools; a manager's picks and a player's match history are cached for 2 and 5 minutes, and a finished gameweek's stats for an hour. If FPL can't be reached, the last cached copy is served and labelled as possibly out of date. All are read-only and advertise readOnlyHint, so clients can skip approval prompts. Team arguments accept a full name, a short name or a unique fragment (Arsenal, MCI, Man City).

get_current_gameweek

No parameters. Returns the current gameweek (in progress or finished), the next gameweek, and the next transfer deadline with the time left. "When is the next deadline?"

get_fixtures

Fixtures with FPL's difficulty rating (FDR): 1 easiest, 5 hardest, from each team's own point of view.

Parameter

Type

Description

team

string

Optional. Show that team's fixtures (opponent, home/away, its own FDR). Omit for all teams.

gameweek

integer 1-38

Optional. A single gameweek (includes scores once played).

gameweeks_ahead

integer 1-38

Optional. Gameweeks to list from the next one to play (default 5). Ignored when gameweek is set.

"Arsenal's next six fixtures?", "What are the fixtures in gameweek 12?"

get_fixture_run

Parameter

Type

Description

team

string

Optional. Omit to rank all 20 teams, easiest run first.

gameweeks

integer 1-38

Optional. Window length starting from the next gameweek to play (default 5).

For one team you get the average FDR, home/away split, the fixture-by-fixture sequence and any blank or double gameweeks. "Who has the best fixtures for the next six gameweeks?", "Is Chelsea's run good enough to keep Palmer?"

search_players

Parameter

Type

Description

name

string

Part of a first, second or web name.

team

string

Team name or short name.

position

GKP / DEF / MID / FWD

Optional.

max_price

number

Maximum price in £m, e.g. 7.5.

sort_by

string

total_points (default), form, price, selected_by_percent, ep_next, points_per_game, goals_scored, assists, clean_sheets, minutes, transfers_in_event. Highest first.

limit

integer

Rows to return (default 15, max 50).

Each row has price, total points, form, ownership, FPL's expected points for the next gameweek (ep_next) and availability status. "Best midfielders under £8m by form?"

get_xpts

Parameter

Type

Description

position

GKP / DEF / MID / FWD

Optional.

team

string

Optional.

max_price

number

Optional, in £m.

gameweek

integer 1-38

Optional. Defaults to the next gameweek to play.

limit

integer

Rows to return (default 15, max 50).

Ranks players by estimated expected points (xPts) next to the opponent and its FDR, expected minutes, and FPL's own ep_next. Double gameweeks count both fixtures; blank ones score zero; flagged players are discounted by FPL's chance of playing.

How xPts is computed. A simple, transparent baseline, not a forecast model: appearance points, plus the player's season xG, xA, clean-sheet, saves and bonus rates per 90 times FPL's scoring values, scaled by expected minutes (the share of available minutes played so far), multiplied by ±10% per FDR point from a neutral 3, and discounted by availability. It extrapolates the season so far, so it is noisy in the first few gameweeks and cannot see rotation, tactics or set-piece changes. Use it to build a shortlist, then cross-check with get_live_availability. "Top five midfielders under £8m by expected points?"

get_player_history

Parameter

Type

Description

player

string

Required. First, second or full name (Saka, Bukayo Saka). If several players match, the error lists them so you can be specific.

opponent

string

Optional. Only this season's matches against that team.

last_n

integer 1-40

Optional. Only the most recent N matches.

Returns this season's match-by-match record (opponent, home/away, score, minutes, goals, assists, clean sheets, bonus, xG, xA, points), totals for the matches shown, and season totals for every past season FPL has on record. "How has Haaland done against Arsenal this season?", "Show Saka's last five matches."

What FPL does and doesn't have. FPL serves match-by-match data for the current season only. Past seasons are one row of totals each. So "how did X perform against Arsenal over the last few seasons" cannot be answered, and the tool says so instead of implying the player never faced them.

get_gameweek_stats

Parameter

Type

Description

gameweek

integer 1-38

Optional. Defaults to the latest gameweek with results.

position

GKP / DEF / MID / FWD

Optional.

team

string

Optional.

sort_by

string

total_points (default), goals_scored, assists, bonus, minutes, expected_goals, expected_assists. Highest first.

limit

integer

Rows to return (default 15, max 50).

Every player with minutes in that gameweek, ranked. A gameweek still in progress is labelled, since points and bonus can still change. "Top scorers last gameweek?", "Which defenders kept a clean sheet in GW9?"

get_manager_squad

Parameter

Type

Description

team_id

integer

The manager's FPL team ID: the number in the URL of their FPL Points page (fantasy.premierleague.com/entry/<id>/event/<gw>).

gameweek

integer 1-38

Optional. Defaults to the manager's current gameweek.

Returns the 15-man squad with captain and vice-captain, bench, bank, squad value, transfers and any hit taken, the chip played that week, and every chip used so far this season. It reads only the public data FPL already shows anyone with the team ID; no login. "What chips has team 123456 used?"

get_live_availability

Current FPL injury, suspension and availability flags, fetched live from the FPL API. Use it before recommending or captaining a player, so a newly flagged player isn't missed.

Parameters (all optional)

Parameter

Type

Description

players

array of strings

Names to look up, e.g. ["Saka", "Haaland"]. Case-insensitive; matches first, second or web name. Matching players are returned even when fully available.

statuses

array of strings

Only return players with these FPL status codes: a available, d doubtful, i injured, s suspended, u unavailable, n not in squad.

With no arguments it returns every player who currently has a flag (any status other than a, or a news note), newest news first, capped at 100 rows. Each row has the player, team, position, status, FPL's chance of playing next round, the news note and when it was added.

Example prompts

  • "Is Saka fit for this gameweek?"

  • "Who has been suspended or ruled out in the last few days?"

  • "Before I set my captain, check that Haaland and Salah have no flags."

How it behaves

  • One request to FPL's bootstrap-static endpoint returns every player, and the response is cached in memory for 5 minutes, so heavy use costs FPL only a few calls an hour per server process.

  • If FPL can't be reached, the last cached copy is served and labelled as possibly out of date. With no cached copy it returns an error.


Prompts and resources

Prompts

Ready-made workflows. They contain instructions only, no data, so they never go stale: the tools fetch live FPL data when the prompt runs. Clients that support MCP prompts show them as slash commands (for example /mcp__fpl-context__captain_pick in Claude Code). Every argument is optional; without team_id the model asks for your squad or answers generally.

Prompt

Arguments

What it does

captain_pick

team_id, gameweek

Ranks candidates with get_xpts, checks fixtures, opponent history and availability, and recommends a captain, vice-captain and a differential

transfer_plan

team_id, free_transfers, gameweeks

Finds your weakest assets, compares fixture runs and expected points for replacements within budget, and recommends one or two transfers (and whether a hit is worth it)

chip_timing

team_id, chip (wildcard, freehit, bboost, 3xc)

Looks for double and blank gameweeks and suggests when to play each chip you have left

Resources

URI

Contents

fpl://glossary

FPL status codes, FDR, positions, the data limits, and which tool answers what


Running tests

pip install -e ".[dev]"
pytest tests/ -v          # all mocked: no network access needed
ruff check . && ruff format .

Data sources and disclaimer

fpl-context-mcp is an independent open-source project. It is not affiliated with, endorsed by, or sponsored by the Premier League or Fantasy Premier League.

The package ships no data. It fetches it at run time, from your machine, from:

Source

Used for

Notes

Fantasy Premier League API (fantasy.premierleague.com/api)

Players, teams, fixtures, match stats, manager squads, injury/availability news

Unofficial and undocumented; it can change or rate-limit without notice. Responses are cached in memory for a few minutes to keep traffic low.

You are responsible for complying with the source's terms of use for the data you retrieve and, if you host the server for other people, serve. This is especially relevant for commercial use and for public deployments. The MIT license below covers this project's code only, not any third-party content it retrieves.


License

MIT © 2026 Shubham Banthia

Available Tools

9 tools
get_current_gameweekA
Read-onlyIdempotent

The current and next FPL gameweek and the transfer deadline, live from the FPL API. Use it to anchor 'this week' / 'next week' questions and to say how long a manager has left to make transfers.

NameRequiredDescriptionDefault

No parameters

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered. The description adds meaningful context beyond that: the data is live from the FPL API, i.e. freshness is guaranteed rather than cached, which matters for deadline calculations. It does not describe the response shape, which keeps it at a 4.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with what is returned, followed by the actionable use case. No filler or repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter, read-only utility with annotations covering safety, the description supplies purpose, freshness, and use cases. It could name the returned fields (current GW id, next GW id, deadline timestamp), but with no output schema this is a minor gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so there is nothing for the description to disambiguate; baseline 4 applies. The description's framing of the three returned values is a small bonus.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States exactly what is returned: the current gameweek, the next gameweek, and the transfer deadline, sourced live from the FPL API. No sibling (fixtures, players, squads) covers this temporal anchor, so there is no ambiguity to resolve.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete usage contexts: anchoring 'this week'/'next week' questions and computing time left before the transfer deadline. It does not mention when not to use it, but no sibling overlaps, so the omission is minor.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_fixture_runA
Read-onlyIdempotent

How easy or hard a team's next few fixtures are, live from the FPL API: average FDR (1 easiest, 5 hardest), home/away split, and blank or double gameweeks. Pass team for its fixture-by-fixture run; omit it to rank all 20 teams, easiest run first. Prefer this over get_fixtures when judging transfers, captaincy or chip timing.

NameRequiredDescriptionDefault
teamNoTeam name or short name, e.g. 'Arsenal', 'Man City' or 'MCI'.
gameweeksNoWindow length from the next gameweek (default 5).

TDQS

A4.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already cover readOnly/idempotent/non-destructive, and the description adds real context beyond them: the data is live from the FPL API, the FDR scale is defined (1 easiest, 5 hardest), and the omit-parameter behavior produces a ranked list. It stops short of describing response shape or refresh/rate behavior, but for a read-only analytics tool that is a minor gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, each earning its place: what is computed, how to call it in both modes, and when to prefer it. Purpose and the key routing decision are front-loaded rather than buried.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description carries the burden of describing results — and it does, listing average FDR, home/away split, blank/double gameweeks, and the ordering of the ranked list. For a two-parameter read-only tool, nothing an agent needs to call or interpret it is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline would be 3; the description earns above that by explaining the semantic consequence of omitting team (rank all 20 teams, easiest first) rather than just 'optional team filter'. It also anchors the default window length to the next gameweek, adding slight meaning beyond the schema's 'default 5'.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource (fixture run difficulty) and enumerates exactly what it computes: average FDR on a 1-5 scale, home/away split, and blank/double gameweeks. Explicitly distinguishes itself from the sibling get_fixtures, so an agent can route correctly without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives both modes of use — 'Pass team for its fixture-by-fixture run; omit it to rank all 20 teams, easiest run first' — and names the alternative with its selection condition: 'Prefer this over get_fixtures when judging transfers, captaincy or chip timing.' When-to-use, when-to-use-the-other, and the branching behavior of an optional parameter are all explicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_fixturesA
Read-onlyIdempotent

FPL fixtures with difficulty ratings (FDR, 1 easiest to 5 hardest), live from the FPL API. With no arguments lists the next 5 gameweeks for every team. Pass team to see one team's run from its own point of view, gameweek for a single round, or gameweeks_ahead for a longer window.

NameRequiredDescriptionDefault
teamNoTeam name or short name, e.g. 'Arsenal', 'Man City' or 'MCI'.
gameweekNoA single gameweek. Overrides gameweeks_ahead.
gameweeks_aheadNoGameweeks to list from the next one to play (default 5).

TDQS

A3.7/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The annotations already establish that this is a safe, read-only, idempotent query. The description adds useful behavioral context such as the default window of five gameweeks and that data is live from the FPL API, but it does not describe return shape, pagination, or other operational details.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two tight sentences with the core resource and default behavior front-loaded. Every clause adds useful information about defaults, parameters, or the FDR scale.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the rich annotations, full schema coverage, and the absence of an output schema, the description provides enough context to invoke the tool correctly. It covers the default behavior and each parameter's effect, though it could more explicitly distinguish this tool from get_fixture_run.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all three parameters. The description adds meaning beyond the schema by explaining that team shows a run from that team's own perspective, gameweek narrows to a single round, and gameweeks_ahead extends the window.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly identifies the resource as FPL fixtures and highlights the key attribute: difficulty ratings on a 1–5 FDR scale, live from the FPL API. It stops short of explicitly naming or contrasting with the sibling get_fixture_run, so it does not earn a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explains what happens with no arguments and how each optional parameter changes the view, which gives implied usage context. However, it does not explicitly say when to choose this tool over alternatives such as get_fixture_run, nor does it provide exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_gameweek_statsA
Read-onlyIdempotent

Every player's stats for one gameweek, ranked (default: the latest gameweek with results, sorted by points). Live from the FPL API. Use it for 'top scorers last week', 'which defenders kept clean sheets in GW9' or 'who got the most bonus'. Filter by position and team.

NameRequiredDescriptionDefault
teamNoTeam name or short name, e.g. 'Arsenal', 'Man City' or 'MCI'.
limitNoRows to return (default 15).
sort_byNoStat to rank by, highest first (default total_points).
gameweekNoGameweek (default: the latest with results).
positionNo

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly/idempotent/non-destructive, so the bar is lower; the description still adds value by disclosing the data source ('Live from the FPL API') and the fallback behavior when no gameweek is specified. It does not mention rate limits, empty-result behavior for future/blank gameweeks, or pagination.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences, front-loaded with the core operation and its default behavior, followed by a freshness note and intent examples. The illustrative queries earn their place by anchoring retrieval to natural-language phrasings.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description establishes the grain (one row per player), ordering, and default window, which is enough to call it correctly. It stops short of describing what stat columns each row actually contains, which would help an agent interpret the response.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 80%, so most parameters are already documented (team examples, limit bounds, sort_by enum, gameweek default). The description reinforces ranking direction and filter intent but adds no new syntax or defaults beyond what the schema states; 'position' is the only parameter the description meaningfully supplements.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource with scope: 'Every player's stats for one gameweek, ranked.' The cross-player, per-gameweek ranking scope makes it clearly distinct from siblings like get_player_history (single-player) and get_xpts (projections) without needing to name them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete usage contexts ('top scorers last week', 'which defenders kept clean sheets in GW9', 'who got the most bonus') that map directly onto agent intents, and notes position/team filtering. It lacks explicit when-not-to-use guidance or a named alternative, so it stops short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_live_availabilityA
Read-onlyIdempotent

Current FPL injury, suspension and availability flags, fetched live from the FPL API. Call this before recommending, picking or captaining any player, so a newly flagged or suspended player isn't missed. With no arguments it lists every player who currently has a flag, newest news first. Pass player names to check specific players (returned even when fully available), and/or statuses to filter.

Status codes: a available, d doubtful, i injured, s suspended, u unavailable (left club / on loan), n not in squad. chance_of_playing is FPL's estimate for the next round.

NameRequiredDescriptionDefault
playersNoPlayer names to look up, e.g. ['Saka', 'Haaland']. Case-insensitive; matches first, second or web name.
statusesNoOnly return players with these FPL status codes.

TDQS

A4.5/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds genuinely new behavior: results come live from the API, the no-argument default returns only currently flagged players ordered newest-news-first, and named players are returned even when fully available. The status-code legend and chance_of_playing note further explain semantics the schema can't express.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the actionable instruction ('Call this before recommending...') before the mechanics, and every sentence carries a distinct fact. The status-code legend is dense but useful; overall length is justified by the tool's role as a pre-pick gate.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description must convey return behavior, and it does: who is returned, ordering, and the inclusion of available players plus the chance_of_playing field. It stops short of describing the full record shape (e.g. the news text field), so a 4 rather than a 5.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% (baseline 3), and the description still adds meaning beyond it: the empty-arguments default listing behavior and the non-obvious rule that explicitly passed players are returned even when fully available. It doesn't clarify array-combination semantics (e.g. AND vs OR between players and statuses), which is the one remaining ambiguity.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific resource (FPL injury, suspension and availability flags) and source ('fetched live from the FPL API'), which clearly separates it from static siblings like search_players and get_xpts. An agent can tell immediately that this is the freshness/availability check, not a general player lookup.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit prescriptive trigger: 'Call this before recommending, picking or captaining any player,' which is exactly the when-to-use guidance an agent needs. It also documents the two invocation modes (no args = all flagged players; args = filtered lookup), though it doesn't name a sibling it should be preferred over or excluded for.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_manager_squadA
Read-onlyIdempotent

A manager's FPL squad for a gameweek, with captain, bench, bank, squad value, transfers and the chips they have used, looked up by their FPL team ID (live from FPL's public API, no login needed). The team ID is the number in the URL of the manager's FPL Points page. Use it as the starting point for transfer, captain and chip advice on their actual team.

NameRequiredDescriptionDefault
team_idYesFPL team ID.
gameweekNoGameweek to show (default: the manager's current one).

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds genuinely new context: data is live from FPL's public API and requires no authentication, plus it inventories the returned fields. It does not discuss rate limits or freshness/caching, which keeps it below 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with what the tool returns, followed by the identifier lookup and the usage hook. Dense and largely waste-free, though the parenthetical about the public API could be trimmed or placed last.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description takes on the burden of describing the return payload and does so by listing the key fields. For a two-parameter, read-only tool the remaining gaps (error behavior for invalid team IDs, which gameweek is returned when omitted) are modest.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3; the description exceeds it by explaining where to find team_id ('the number in the URL of the manager's FPL Points page'), which the schema does not say. The gameweek parameter's default behavior is left entirely to the schema, so it is not a 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Specific verb+resource: retrieves a manager's FPL squad for a gameweek, and enumerates the returned contents (captain, bench, bank, squad value, transfers, chips). It is clearly distinct from the sibling tools, which deal with players, fixtures, and gameweek aggregates rather than a manager's own team.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the primary use case explicitly: 'Use it as the starting point for transfer, captain and chip advice on their actual team.' It also explains how to obtain the required identifier. It stops short of naming exclusions or alternatives for adjacent needs (e.g. player-level stats via get_xpts), so it is a 4 rather than a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_player_historyA
Read-onlyIdempotent

A player's match-by-match record this season (minutes, goals, assists, clean sheets, bonus, xG/xA, points), optionally only against one opponent or the last N matches, plus their season totals for past seasons. Live from the FPL API. Use it for 'how has Saka done against Spurs this season' or 'is his form real'. FPL provides match-level data for the current season only; past seasons are totals, so opponent splits for earlier seasons do not exist.

NameRequiredDescriptionDefault
last_nNoOnly the most recent N matches.
playerYesPlayer name, e.g. 'Saka' or 'Bukayo Saka'.
opponentNoOnly matches against this team.

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered; the description adds the meaningful behavioral facts — data is live from the FPL API and match-level granularity is current-season-only. It stops short of describing pagination or response shape, but with a read-only tool that is a minor gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core payload (what it returns) is front-loaded, followed by the optional filters, the usage examples, and the data-availability caveat. Every sentence earns its place with no repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description carries the burden of explaining return content — and it does, listing minutes, goals, assists, clean sheets, bonus, xG/xA and points, plus season totals for past seasons. Nothing needed to call it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so both optional filters are already documented in the schema. The description confirms the filters exist and scope the result ('only against one opponent or the last N matches') but adds no format, precedence, or combination rules beyond that.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('match-by-match record this season') and enumerates the returned stats, which clearly separates it from sibling tools like get_gameweek_stats or search_players. An agent can tell exactly what this returns without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides concrete trigger phrasings ('how has Saka done against Spurs this season', 'is his form real') and an explicit when-not: match-level data exists only for the current season, so opponent splits for earlier seasons are unavailable. That is enough to route an agent correctly.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_xptsA
Read-onlyIdempotent

Rank players by estimated expected points (xPts) for a gameweek, live from the FPL API. A transparent baseline built from season xG/xA/clean-sheet/save/bonus rates, expected minutes, availability and fixture difficulty, shown beside FPL's own ep_next. Filter by position, team and max price. Good for captain shortlists and finding transfer targets; it is noisy early in the season and ignores rotation, so cross-check availability with get_live_availability.

NameRequiredDescriptionDefault
teamNoTeam name or short name, e.g. 'Arsenal', 'Man City' or 'MCI'.
limitNoRows to return (default 15).
gameweekNoGameweek to project (default: the next one to play).
positionNo
max_priceNoMaximum price in £m, e.g. 7.5.

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly/idempotent/non-destructive, and the description goes further by disclosing methodology (season xG/xA/clean-sheet/save/bonus rates, expected minutes, fixture difficulty) and two real behavioral caveats (season-start noise, rotation blindness). It stops short of describing row shape or ordering guarantees, which keeps it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight sentences: the core ranking behavior and methodology come first, filters second, caveats and the handoff last. No sentence is filler and the most decision-relevant caveat is not buried.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description carries the burden of explaining what comes back, and it does so at a high level (xPts estimate shown beside ep_next). It covers caveats and methodology well; only output ordering and the default row count remain unstated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 80%, so team, position and max_price are already documented in the schema; the description only restates 'Filter by position, team and max price' without adding format or interaction guidance. Neither gameweek defaulting behavior nor the limit cap is touched on in the description, so it adds little beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb and resource ('Rank players by estimated expected points (xPts) for a gameweek') and names the data source (FPL API). The ranking framing plus the 'shown beside FPL's own ep_next' clause makes it clearly distinct from search_players or get_player_history.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

States both positive uses ('captain shortlists and finding transfer targets') and explicit limitations ('noisy early in the season and ignores rotation'). It also routes the agent to a specific sibling for the gap it cannot cover: 'cross-check availability with get_live_availability.'

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

search_playersA
Read-onlyIdempotent

Find and rank current-season FPL players, live from the FPL API: by name, team, position and maximum price, sorted by a chosen stat. Returns price, total points, form, ownership, FPL's expected points for the next gameweek (ep_next) and availability status. Use it for 'best midfielders under £8m', 'how is Palmer doing', or to find a replacement.

NameRequiredDescriptionDefault
nameNoPart of a first, second or web name, e.g. 'saka'.
teamNoTeam name or short name, e.g. 'Arsenal', 'Man City' or 'MCI'.
limitNoRows to return (default 15).
sort_byNoStat to rank by, highest first (default total_points).
positionNo
max_priceNoMaximum price in £m, e.g. 7.5.

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly/idempotent/non-destructive, so the bar is lower; the description still adds real value by disclosing that data is live from the FPL API and enumerating the returned stat fields. It omits freshness/caching behavior and any rate-limit notes, which keeps it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences: purpose and source front-loaded, then return fields, then usage exemplars. No repetition and every clause carries information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With six optional parameters and no output schema, the description compensates by listing the return fields (price, total points, form, ownership, ep_next, availability) so the agent knows what it gets back. Nothing essential to calling it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 83%, so the schema already documents nearly every parameter including examples and defaults. The description only paraphrases 'sorted by a chosen stat' and the filter set, adding no format or edge-case semantics beyond structured fields — the 3 baseline applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Find and rank current-season FPL players'), names the data source (live FPL API), and enumerates the filter and sort dimensions plus the returned fields. An agent can distinguish it from get_player_history or get_live_availability on description alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives three concrete usage exemplars ('best midfielders under £8m', 'how is Palmer doing', 'find a replacement') that map cleanly to the parameter set. It does not explicitly name sibling tools or state when-not to use this one, so it stops short of full routing guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 9 tool updatesv0.11.1
    • Addedget_current_gameweek
    • Addedget_fixture_run
    • Addedget_fixtures
    • Addedget_gameweek_stats
    • Addedget_manager_squad
    • Addedget_player_history
    • Addedget_xpts
    • Removedquery_historical_stats
    • Addedsearch_players
  2. 1 tool updatev0.6.5
    • Addedget_live_availability
  3. 1 tool updatev0.6.4
    • Removedquery_press_conferences
  4. 2 tool updatesv0.1.0
    • First observedquery_historical_stats
    • First observedquery_press_conferences

TDQS

A4.2/5.0

Scored across 9 tools

Disambiguation4/5

Most tools have clearly distinct targets: availability, gameweek timing, player search, squad lookup, player history, and gameweek stats. The main overlap is get_fixtures versus get_fixture_run, both covering fixture difficulty, and to a lesser degree search_players versus get_xpts for player ranking; the descriptions explicitly guide usage, but an agent could still hesitate.

Naming Consistency5/5

All tool names use consistent snake_case with a clear verb_noun pattern (get_current_gameweek, search_players, get_manager_squad, get_player_history). The single search_ prefix is still a standard verb and fits the same predictable convention.

Tool Count5/5

Nine tools is well-scoped for an FPL context server, covering distinct query areas without obvious filler. Each tool appears to earn its place in the analytical workflow.

Completeness4/5

The surface covers the core FPL context needs: availability, current gameweek, fixtures/FDR, player search, xPts, player history, gameweek stats, and manager squad. Minor gaps remain, such as mini-league standings or more explicit player/team detail views, but agents can work around most questions with the existing tools.

Maintenance

ActivityNo data
ResponsivenessSyncing

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    Enables interaction with Fantasy Premier League data through natural language queries. Supports retrieving fixtures, league standings, player performance, and other FPL statistics via the official FPL API.
    16
    7 npm
    3
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Connects LLMs to the Fantasy Premier League API for intelligent team management, enabling natural language player research, competitor analysis, transfer decisions, and strategic planning using friendly names instead of IDs.
    3
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    AI-powered Fantasy Premier League assistant — scored captain picks, transfer suggestions, differentials, fixture outlook, price predictions, live points, and a full manager hub that auto-detects your squad, bank balance, and free transfers.
    13
    11
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI assistants to analyze Fantasy Premier League data, providing tools for player search, fixture analysis, manager comparisons, and strategy prompts for transfer planning and lineup selection.
    19
    1
    MIT