Yahoo Fantasy MCP
Allows interaction with Yahoo Fantasy Baseball leagues, providing tools to view rosters, check matchups, browse free agents, and get player stats.
Allows interaction with Yahoo Fantasy Basketball leagues, providing tools to view rosters, check matchups, browse free agents, and get player stats.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Yahoo Fantasy MCPShow me my baseball roster"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Yahoo Fantasy MCP
A Model Context Protocol (MCP) server for Yahoo Fantasy Baseball and Basketball. Lets Claude analyze your roster, check matchups, browse free agents, and more.
Setup
1. Install dependencies
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txt2. Configure Claude Desktop / Claude Code
There are two ways to authenticate — pick one:
Option A: Use a relay server (recommended, no Yahoo app needed)
Point the MCP at a relay server that handles credentials for you:
Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"yahoo-fantasy": {
"command": "/path/to/yahoo-fantasy-mcp/venv/bin/python3",
"args": ["/path/to/yahoo-fantasy-mcp/server.py"],
"env": {
"YAHOO_AUTH_SERVER": "https://your-relay-url.com"
}
}
}
}Claude Code (~/.claude.json):
{
"mcpServers": {
"yahoo-fantasy": {
"type": "stdio",
"command": "/path/to/yahoo-fantasy-mcp/venv/bin/python3",
"args": ["/path/to/yahoo-fantasy-mcp/server.py"],
"env": {
"YAHOO_AUTH_SERVER": "https://your-relay-url.com"
}
}
}
}Want to self-host your own relay? See
relay/README.md.
Option B: Use your own Yahoo Developer App
Go to Yahoo Developer Network and create an app
Set Application Type to Installed Application, API Permissions to Fantasy Sports → Read
Note your Client ID and Client Secret
{
"mcpServers": {
"yahoo-fantasy": {
"command": "/path/to/yahoo-fantasy-mcp/venv/bin/python3",
"args": ["/path/to/yahoo-fantasy-mcp/server.py"],
"env": {
"YAHOO_CLIENT_ID": "your_client_id_here",
"YAHOO_CLIENT_SECRET": "your_client_secret_here"
}
}
}
}3. First-time authentication
On first use, just ask Claude anything about your fantasy team. If not authenticated, Claude will automatically start the OAuth flow:
A browser window opens to Yahoo's authorization page
Click Allow
Yahoo displays a code on the page — copy it and give it to Claude
Done. The token is saved and auto-refreshed from now on (~1 year before re-auth needed)
Related MCP server: Yahoo Fantasy Baseball MCP Server
Available Tools
Tool | Description |
| Start Yahoo OAuth flow (called automatically when needed) |
| List your MLB and NBA leagues |
| View your current roster with positions and injury status |
| See this week's matchup and stat leaders |
| Browse available free agents by position |
| Get player stats for a given period |
Logging out
To remove your local tokens:
python logout.pyExample Usage
Just ask Claude naturally:
"Show me my baseball roster"
"Who's winning my matchup this week?"
"Find me the best available SP on the waiver wire"
"How has Gunnar Henderson been performing lately?"
"Give me roster improvement suggestions"
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseBqualityCmaintenanceEnables comprehensive Sleeper Fantasy Football integration with Claude, providing real-time player projections, historical performance analytics, league management, and waiver wire analysis. Supports advanced NFL metrics, lineup optimization, and matchup analysis for fantasy football decision-making.Last updated121
- Alicense-qualityDmaintenanceEnables interaction with Yahoo Fantasy Sports API for fantasy baseball, providing tools to manage rosters and player stats via Claude.Last updated294MIT
- Flicense-qualityCmaintenanceConnects Claude to your Yahoo Fantasy Baseball team, enabling lineup management, roster analysis, and free agent scouting through natural conversation.Last updated
- AlicenseAqualityAmaintenanceManage your Yahoo Fantasy Baseball team via Claude — check rosters, scout free agents, set lineups, and pull advanced stats from Baseball Savant, FanGraphs, and MLB Stats API.Last updated5368MIT
Related MCP Connectors
Read-only fantasy analysis for ESPN, Yahoo, and Sleeper leagues via MCP
WHOOP recovery, strain, sleep and workouts in Claude via official WHOOP OAuth. Free, open source.
Garmin data in Claude & ChatGPT via the Garmin Health API. OAuth sign-in, no password sharing.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/andy78644/yahoo-fantasy-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server