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

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/mcp

You'll see a Flaim authorization screen. Sign in and approve, then you're all set. See detailed setup guides for each assistant:

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:

  1. get_user_session — Your leagues, default league, and platform context
  2. get_league_info — Settings, scoring, roster slots, schedule, and teams
  3. get_standings — Records, rankings, and playoff seeds
  4. get_matchups — Scoreboard for any week
  5. get_roster — Players, positions, and stats for any team
  6. get_free_agents — Available players, optionally filtered by position
  7. get_players — Search for any player by name
  8. get_transactions — Recent adds, drops, waivers, and trades
  9. get_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