How to Connect Your Fantasy League to AI
You can connect your ESPN, Yahoo, or Sleeper fantasy leagues to Claude, ChatGPT, Perplexity, or Gemini using Flaim. Setup takes about 5 minutes. Once connected, your AI assistant can access your real league data: rosters, standings, matchups, free agents, and transactions. All read-only.
Choose your platform
ESPN
Requires the Flaim Chrome extension to sync your league credentials. Supports football, baseball, basketball, and hockey.
Yahoo
No extension needed, just sign in with Yahoo. Auto-discovers all your active leagues. Supports football, baseball, basketball, and hockey.
Sleeper
Just your username, no extension, no OAuth to Sleeper. Currently supports football and basketball.
Connect your AI assistant
After connecting your fantasy platform, add Flaim to your AI assistant. You'll need this server URL:
https://api.flaim.app/mcpYou'll see a Flaim authorization screen. Sign in and approve, then you're all set. See detailed setup guides for each assistant:
Claude
Add Flaim as a custom connector in Settings. Requires a Pro, Max, Team, or Enterprise plan.
ChatGPT
Add Flaim as a custom MCP connector. Requires a paid plan and Developer Mode enabled.
Perplexity
Add Flaim as a custom remote connector. Requires a Pro, Max, or Enterprise plan.
Gemini
CLI only. The Gemini web app does not support custom connectors yet.
What Flaim gives your AI
1 skill that teaches your AI how to think like a fantasy analyst:
flaim-fantasy— System prompt with league context, analysis patterns, and best practices
9 tools for pulling your league data:
get_user_session— Your leagues, default league, and platform contextget_league_info— Settings, scoring, roster slots, schedule, and teamsget_standings— Records, rankings, and playoff seedsget_matchups— Scoreboard for any weekget_roster— Players, positions, and stats for any teamget_free_agents— Available players, optionally filtered by positionget_players— Search for any player by nameget_transactions— Recent adds, drops, waivers, and tradesget_ancient_history— Past seasons and historical leagues
2 commands available in Claude:
/activity-brief— Summarize recent league transactions and explain what happened/analyze-matchup— Break down your current matchup with scores and forecast