Connect ESPN & Yahoo fantasy leagues to Claude, ChatGPT, and Gemini via MCP
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Flaim Fantasy Sports AI Connector.
get_user_sessionYour leagues across all platforms
refresh_leaguesRe-discover connected leagues and update Flaim's league records
get_ancient_historyPast seasons and historical leagues outside the current season
get_league_infoBaseline league context: settings, scoring, roster config, teams/owners
get_draftConfirmed draft results and provider-grounded draft-pick ownership
get_rosterTeam roster with player stats
Connect your ESPN, Yahoo, and Sleeper leagues, then use Flaim Fantasy in ChatGPT or Claude for read-only analysis grounded in your real league. Advanced users can also add Flaim manually as a custom connector in compatible AI platforms.
Analysis tools are read-only by design. No trades, no drops, no roster changes β just advice. League refresh can update Flaim's connected-league records so newly available seasons show up.
The Flaim skill is an analyst playbook: how to reason about a start/sit call, a waiver claim, a trade, a keeper, or a matchup preview, and what context to gather in what order. The MCP tools feed it your actual league data and carry their own mechanics (parameters, response fields, platform differences) in their descriptions. Together, they give a general-purpose AI enough structure to answer like it knows your specific league.
You are done. Ask questions such as "Who should I start this week?" or "What's on the waiver wire?" Defaults and additional league management are optional after setup.
The Flaim skill is the judgment layer. It covers what Flaim is and cannot do, how to gather league context in order, and a playbook per decision type: start/sit, waivers and pickups, trades, keepers and dynasty, matchup previews, draft picks, season history, and multi-league comparisons. Tool mechanics stay in the tool descriptions and the server instructions, which every MCP client reads live, so the skill does not restate them.
Install for Claude Code (or any Agent Skills-compatible tool):
Place the skill in your project's .agents/skills/ directory (cross-platform convention) or in ~/.agents/skills/ for global use:
The AI will detect and activate the skill automatically when you ask fantasy questions.
| Tool | What it does |
|---|---|
get_user_session | Your leagues across all platforms |
refresh_leagues | Re-discover connected leagues and update Flaim's league records |
get_ancient_history | Past seasons and historical leagues outside the current season |
get_league_info | Baseline league context: settings, scoring, roster config, teams/owners |
get_draft | Confirmed draft results and provider-grounded draft-pick ownership |
get_roster | Team roster with player stats |
get_matchups | Weekly matchups and scores |
get_standings | League standings and rankings |
get_free_agents | Available players with a normalized envelope; ESPN/Yahoo include platform-wide ownership percentages, Sleeper returns identities only |
get_players | Player lookup; ESPN and Yahoo can add league ownership when available, Sleeper evaluates league ownership against current rosters outside live drafts |
get_transactions | Recent adds, drops, waivers, and trades |
All tools connect through a single MCP endpoint: https://api.flaim.app/mcp
| Platform | Sports | Auth |
|---|---|---|
| ESPN | Football, Baseball, Basketball, Hockey | Chrome extension |
| Yahoo | Football, Baseball, Basketball, Hockey | OAuth 2.0 |
| Sleeper | Football, Basketball | Username (public API) |
Solo indie project β built with care, maintained for the long term. No VC funding, no growth pressure, just a useful tool for fantasy sports fans who use AI.
Root, web, and workers use pnpm via Corepack. The Chrome extension is intentionally npm-isolated under extension/ with its own lockfile and release flow.
| Document | Description |
|---|---|
| Architecture | System design, deployment, troubleshooting |
| Changelog | Release history |
| Connection Docs | ChatGPT and Claude links plus optional custom-connector guidance (public version: flaim.app/docs) |
| Web App | Next.js routes, components, environment |
| Workers | Cloudflare Workers, MCP tools, ESPN API |
| Extension | Chrome extension build, Sync Host, CWS |
Best-effort support β I'll respond when I can.
MIT License β see LICENSE.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/flaim-fantasy-sports-ai-connector)<a href="https://allmcps.com/mcp/flaim-fantasy-sports-ai-connector"><img src="https://allmcps.com/api/badge/flaim-fantasy-sports-ai-connector?style=directory" alt="Flaim Fantasy Sports AI Connector on AllMCPs" /></a>