Skip to main content
Glama

Fantasy Premier League MCP Server

MIT License
37
  • Apple

get_league_analytics

Analyze Fantasy Premier League mini-leagues with detailed insights. Generate visualization-ready data for league overviews, historical performance, team composition, decision-making, and fixture comparisons. Optimize strategies using gameweek-specific analytics.

Instructions

Get rich analytics for a Fantasy Premier League mini-league

Returns visualization-optimized data for various types of league analysis. Args: league_id: ID of the league to analyze analysis_type: Type of analysis to perform: - "overview": General league overview (default) - "historical": Historical performance analysis - "team_composition": Team composition analysis - "decisions": Captain and transfer decision analysis - "fixtures": Fixture difficulty comparison start_gw: Starting gameweek (defaults to 1 or use "current-N" format) end_gw: Ending gameweek (defaults to current) Returns: Rich analytics data structured for visualization

Input Schema

NameRequiredDescriptionDefault
analysis_typeNooverview
end_gwNo
league_idYes
start_gwNo

Input Schema (JSON Schema)

{ "properties": { "analysis_type": { "default": "overview", "title": "Analysis Type", "type": "string" }, "end_gw": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "End Gw" }, "league_id": { "title": "League Id", "type": "integer" }, "start_gw": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Start Gw" } }, "required": [ "league_id" ], "title": "get_league_analyticsArguments", "type": "object" }

MCP directory API

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

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rishijatia/fantasy-pl-mcp'

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