Flaim Fantasy

MCP serverDev tools

Get fantasy analysis for your ESPN, Yahoo, or Sleeper leagues directly from your AI. Once this app is added, your AI can look up your league data and explain what it means, while staying read-only so nothing in your leagues is changed.

Available today. Use it from your connected AI after setup.

After adding it, ask your AI a question about one of your ESPN, Yahoo, or Sleeper leagues and it will pull the data it needs to answer.

Then ask your AI: use Flaim Fantasy to get user session

What your AI can do with it

  • Pull fantasy league data from ESPN, Yahoo, or Sleeper
  • Answer questions about your fantasy leagues
  • Break down your league data in plain language
  • Review your leagues knowing nothing can be changed

From the project's README

As published by jdguggs10/flaim in README.md.

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.

How It Works

The Flaim skill teaches your AI assistant how to behave like a fantasy analyst — which data to pull, how to interpret it, and how to turn it into useful advice. The MCP tools feed it your actual league data. Together, they give a general-purpose AI enough structure to answer like it knows your specific league.

Get Started

  1. Create your Flaim account at flaim.app.
  2. Connect your fantasy leagues — ESPN via Chrome extension, Yahoo via Yahoo sign-in, or Sleeper by username. Flaim discovers supported leagues and shows them in Your Leagues.
  3. Connect your AI app: Open Flaim Fantasy in ChatGPT or Claude, or follow the optional Perplexity custom-connector path in the connection docs. Public setup docs live at flaim.app/docs.

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 Skill

The Flaim skill teaches your AI assistant how to behave like a fantasy analyst — when to use which tools, how to interpret league data, and how to turn that context into useful advice.

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:

# Clone or copy the skill directory
cp -r flaim/.agents/skills/flaim-fantasy ~/.agents/skills/flaim-fantasy

The AI will detect and activate the skill automatically when you ask fantasy questions.

MCP Tools

ToolWhat it does
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
get_matchupsWeekly matchups and scores
get_standingsLeague standings and rankings
get_free_agentsAvailable players with a normalized envelope; ESPN/Yahoo include platform-wide ownership percentages, Sleeper returns identities only
get_playersPlayer lookup; ESPN and Yahoo can add league ownership, Sleeper ownership is unavailable
get_transactionsRecent adds, drops, waivers, and trades

All tools connect through a single MCP endpoint: https://api.flaim.app/mcp

Supported Platforms

PlatformSportsAuth
ESPNFootball, Baseball, Basketball, HockeyChrome extension
YahooFootball, Baseball, Basketball, HockeyOAuth 2.0
SleeperFootball, BasketballUsername (public API)

Architecture

Chrome Extension → flaim.app → Auth Worker → Supabase
                      ↓
ChatGPT / Claude / manual MCP clients → Fantasy MCP Gateway → ESPN/Yahoo/Sleeper Clients → Platform APIs
  • Web App (Next.js on Vercel) — landing/site pages, public live demo, OAuth, league management
  • MCP Gateway (Cloudflare Workers) — unified endpoint for all platforms and sports
  • Platform Clients (Cloudflare Workers) — ESPN, Yahoo, Sleeper API normalization
  • Auth Worker (Cloudflare) — token validation, rate limiting, credential storage
  • Supabase — user data, OAuth tokens, credentials

About

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.

Development

git clone https://github.com/jdguggs10/flaim.git
cd flaim
corepack pnpm install
cp web/.env.example web/.env.local  # add keys
corepack pnpm run dev

Root, web, and workers use pnpm via Corepack. The Chrome extension is intentionally npm-isolated under extension/ with its own lockfile and release flow.

DocumentDescription
ArchitectureSystem design, deployment, troubleshooting
ChangelogRelease history
Connection DocsChatGPT and Claude links plus optional custom-connector guidance (public version: flaim.app/docs)
Web AppNext.js routes, components, environment
WorkersCloudflare Workers, MCP tools, ESPN API
ExtensionChrome extension build, Sync Host, CWS

Getting Help

Best-effort support — I'll respond when I can.

License

MIT License — see LICENSE.

Tools it offers (11)

What this server listed when ahel dialed its public endpoint in Sep 2026, with no key and no account of yours. The names are the server’s own.

  • get_user_session
  • refresh_leagues
  • get_ancient_history
  • get_league_info
  • get_draft
  • get_standings
  • get_matchups
  • get_roster
  • get_free_agents
  • get_players
  • get_transactions

Signals

GitHub stars
19
Forks
2
Last commit
Sep 2026
Advanced
Delivery
mcp MCP server → your ahel gateway (mcp.ahel.ai) → every connected AI client.
Catalog kind
mcp-server
Gateway key
app-flaim-mcp
Source
github.com/jdguggs10/flaim
Hosted endpoint
https://api.flaim.app/mcp