fpl-context-mcp
Summary: Query a local FPL PostgreSQL database via read-only SQL, plus (per the schema) semantic search over press coverage — though the README says that second tool shouldn't exist.
query_historical_stats— run arbitrary read-onlySELECTs against the FPL database (no mutations; LIMIT auto-injected, max 100 rows).Player stats & form — find top scorers/assisters/points, expected goals and assists, ICT index, minutes, bonus, price across current and past seasons.
Availability & injuries — check
status(available/doubtful/injured/suspended) and injury news for players or teams.Fixtures & gameweeks — look up upcoming fixtures, kickoff times, results, team difficulty ratings, and gameweek deadlines.
Team strength — compare home/away attack and defence strength across teams.
Match-level detail — per-gameweek player stats (
gw_player_stats) for current-season matches.Past-season history — season totals per player (points, goals, assists, clean sheets, cards) back ~20 seasons, caveated: current players only,
team_fpl_idNULL, and it's unpopulated until you ingest.query_press_conferences— schema advertises semantic search of BBC Sport/Guardian press conferences, match reports and injury updates against a query (options:top_k,recency_weight). ⚠️ Conflicts with the README, which states press coverage is deliberately excluded and that this server exposes onlyquery_historical_stats. Treat as unverified/stale.Not a live-data tool — it reads only what your ingestion job has already written; the DB starts empty, so without scheduled ingestion answers are stale or empty. No web search, no match reports.
Stores ingested FPL player, fixture, gameweek and season data and provides read-only SQL querying for historical statistics.
Ingests official Fantasy Premier League fixture and player-stat data to answer historical Premier League and FPL questions.
Fetches press-conference summaries and injury updates from The Guardian API and indexes them for semantic search.
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 |
| The current and next gameweek and the transfer deadline |
| Fixtures with FPL's difficulty rating (FDR, 1 to 5): every team, one team's run, or a single gameweek |
| 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 |
| Find and rank players by name, team, position and max price; sort by points, form, price, ownership, expected points and more |
| A player's matches this season (optionally against one opponent) and their season totals for past seasons |
| Every player's stats for one gameweek, ranked: top scorers, clean sheets, bonus |
| Estimated expected points for a gameweek by position, team and price, built from underlying stats, expected minutes, availability and fixture difficulty |
| A manager's squad, captain, bench, bank, transfers and chips used, from their FPL team ID |
| 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-mcpRegister 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-mcpThis 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.gitConfiguration
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 |
|
| Defaults for |
| (empty) | Require |
|
| Per-caller request limit on |
| (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).
With uvx (recommended)
{
"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"toargs:"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-mcpCursor (~/.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 8000The MCP endpoint is
https://<your-host>/mcp;GET /healthreturnsokfor load-balancer and platform health checks.--transport,--hostand--portcan also be set withMCP_TRANSPORT,MCP_HOSTandMCP_PORT(or thePORTvariable 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/ngrokfor 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 |
|
| Max requests per minute to |
| (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 ( |
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_TOKENunset (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 sourceBy 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 --checkConfirms 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)
✅ OKMCP 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 |
| string | Optional. Show that team's fixtures (opponent, home/away, its own FDR). Omit for all teams. |
| integer 1-38 | Optional. A single gameweek (includes scores once played). |
| integer 1-38 | Optional. Gameweeks to list from the next one to play (default 5). Ignored when |
"Arsenal's next six fixtures?", "What are the fixtures in gameweek 12?"
get_fixture_run
Parameter | Type | Description |
| string | Optional. Omit to rank all 20 teams, easiest run first. |
| 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 |
| string | Part of a first, second or web name. |
| string | Team name or short name. |
|
| Optional. |
| number | Maximum price in £m, e.g. |
| string |
|
| 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 |
|
| Optional. |
| string | Optional. |
| number | Optional, in £m. |
| integer 1-38 | Optional. Defaults to the next gameweek to play. |
| 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 |
| string | Required. First, second or full name ( |
| string | Optional. Only this season's matches against that team. |
| 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 |
| integer 1-38 | Optional. Defaults to the latest gameweek with results. |
|
| Optional. |
| string | Optional. |
| string |
|
| 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 |
| integer | The manager's FPL team ID: the number in the URL of their FPL Points page ( |
| 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 |
| array of strings | Names to look up, e.g. |
| array of strings | Only return players with these FPL status codes: |
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-staticendpoint 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 |
|
| Ranks candidates with |
|
| 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) |
|
| Looks for double and blank gameweeks and suggests when to play each chip you have left |
Resources
URI | Contents |
| 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 ( | 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 toolsget_current_gameweekARead-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.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
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.
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.
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.
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.
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.
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_runARead-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.
| Name | Required | Description | Default |
|---|---|---|---|
| team | No | Team name or short name, e.g. 'Arsenal', 'Man City' or 'MCI'. | |
| gameweeks | No | Window length from the next gameweek (default 5). |
TDQS
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.
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.
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.
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.
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.
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_fixturesARead-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.
| Name | Required | Description | Default |
|---|---|---|---|
| team | No | Team name or short name, e.g. 'Arsenal', 'Man City' or 'MCI'. | |
| gameweek | No | A single gameweek. Overrides gameweeks_ahead. | |
| gameweeks_ahead | No | Gameweeks to list from the next one to play (default 5). |
TDQS
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.
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.
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.
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.
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.
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_statsARead-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.
| Name | Required | Description | Default |
|---|---|---|---|
| team | No | Team name or short name, e.g. 'Arsenal', 'Man City' or 'MCI'. | |
| limit | No | Rows to return (default 15). | |
| sort_by | No | Stat to rank by, highest first (default total_points). | |
| gameweek | No | Gameweek (default: the latest with results). | |
| position | No |
TDQS
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.
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.
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.
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.
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.
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_availabilityARead-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.
| Name | Required | Description | Default |
|---|---|---|---|
| players | No | Player names to look up, e.g. ['Saka', 'Haaland']. Case-insensitive; matches first, second or web name. | |
| statuses | No | Only return players with these FPL status codes. |
TDQS
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.
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.
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.
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.
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.
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_squadARead-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.
| Name | Required | Description | Default |
|---|---|---|---|
| team_id | Yes | FPL team ID. | |
| gameweek | No | Gameweek to show (default: the manager's current one). |
TDQS
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.
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.
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.
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.
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.
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_historyARead-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.
| Name | Required | Description | Default |
|---|---|---|---|
| last_n | No | Only the most recent N matches. | |
| player | Yes | Player name, e.g. 'Saka' or 'Bukayo Saka'. | |
| opponent | No | Only matches against this team. |
TDQS
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.
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.
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.
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.
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.
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_xptsARead-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.
| Name | Required | Description | Default |
|---|---|---|---|
| team | No | Team name or short name, e.g. 'Arsenal', 'Man City' or 'MCI'. | |
| limit | No | Rows to return (default 15). | |
| gameweek | No | Gameweek to project (default: the next one to play). | |
| position | No | ||
| max_price | No | Maximum price in £m, e.g. 7.5. |
TDQS
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.
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.
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.
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.
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.
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_playersARead-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.
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Part of a first, second or web name, e.g. 'saka'. | |
| team | No | Team name or short name, e.g. 'Arsenal', 'Man City' or 'MCI'. | |
| limit | No | Rows to return (default 15). | |
| sort_by | No | Stat to rank by, highest first (default total_points). | |
| position | No | ||
| max_price | No | Maximum price in £m, e.g. 7.5. |
TDQS
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.
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.
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.
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.
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.
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.
9 tool updates
v0.11.1- Added
get_current_gameweek - Added
get_fixture_run - Added
get_fixtures - Added
get_gameweek_stats - Added
get_manager_squad - Added
get_player_history - Added
get_xpts - Removed
query_historical_stats - Added
search_players
1 tool update
v0.6.5- Added
get_live_availability
1 tool update
v0.6.4- Removed
query_press_conferences
2 tool updates
v0.1.0- First observed
query_historical_stats - First observed
query_press_conferences
TDQS
Scored across 9 tools
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.
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.
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.
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
Related MCP Connectors
Supabase-compatible Postgres for agents: projects, branches, SQL, auth, storage, email.
Store, query, and update structured data from any AI agent
Database for your AI agent. Turn its output into data, docs, skills, and apps you can actually use.
Safe, read-only Postgres and MySQL access for AI agents. Audit log + column-level controls.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables 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.167 npm3MIT
- AlicenseNot gradedqualityDmaintenanceConnects 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.3MIT
- AlicenseAqualityCmaintenanceAI-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.1311MIT
- AlicenseAqualityCmaintenanceEnables 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.191MIT