Yahoo Fantasy Baseball MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Yahoo Fantasy Baseball MCP Server
This MCP server provides tools to interact with the Yahoo Fantasy Sports API, specifically tailored for fantasy baseball leagues.
Features
OAuth 1.0a authentication with Yahoo API
Access to team rosters, player stats, and more
Integration with Claude via MCP protocol
Related MCP server: Yahoo Fantasy Baseball MCP Server
Getting Started
Prerequisites
Node.js (v16 or higher)
Yahoo Developer account with API credentials
A Yahoo Fantasy Baseball league
Installation
Clone this repository:
git clone <repository-url> cd yahoo-fantasy-baseball-MCPInstall dependencies:
npm installSet up environment variables by creating or updating a
.envfile:YAHOO_CLIENT_ID=your_yahoo_client_id YAHOO_CLIENT_SECRET=your_yahoo_client_secret YAHOO_ACCESS_TOKEN=your_access_token
Obtaining Yahoo API Access
Note: The Yahoo Fantasy Sports API uses OAuth for authentication. The provided token script may need to be updated if the Yahoo API endpoints have changed.
Visit the Yahoo Developer Network
Create a new project/application with Fantasy Sports API access
Make note of your Client ID and Client Secret
Add these values to your
.envfile:YAHOO_CLIENT_ID=your_client_id YAHOO_CLIENT_SECRET=your_client_secretTo get an access token, you may need to:
Use the Yahoo Developer Console to generate a token
Use a tool like Postman with OAuth 1.0a support
Follow Yahoo's official documentation for the latest OAuth workflow
Once obtained, add the access token to your
.envfile:YAHOO_ACCESS_TOKEN=your_access_token
Building and Running the Server
Build the TypeScript files:
npm run buildStart the server:
npm startMCP Configuration
To add this server to your Claude configuration, add the following to your MCP settings file:
"yahoo-fantasy-baseball": {
"autoApprove": [],
"disabled": false,
"timeout": 60,
"command": "node",
"args": ["path/to/yahoo-fantasy-baseball-MCP/build/index.js"],
"env": {
"YAHOO_CLIENT_ID": "your_yahoo_client_id",
"YAHOO_CLIENT_SECRET": "your_yahoo_client_secret",
"YAHOO_ACCESS_TOKEN": "your_access_token"
},
"transportType": "stdio"
}Available Tools
get_team_roster
Retrieves the current roster for a team.
Parameters:
team_key(optional): Yahoo team key. Defaults to your primary team.
Example usage:
Use the get_team_roster tool to see my current lineup.get_waiver_players (Coming Soon)
Lists available players on the waiver wire with relevant stats.
get_matchup (Coming Soon)
Provides details about your current matchup.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Free fantasy AI for ESPN, Sleeper, Fantrax: football, basketball and hockey in Claude and ChatGPT.
Fantasy analysis for your ESPN, Yahoo, and Sleeper leagues. Reads your leagues, never changes them.
WHOOP recovery, strain, sleep and workouts in Claude via official WHOOP OAuth. Free, open source.
NFL analytics tools for AI agents: stats, fantasy, injuries, schedules, and advanced analysis.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceConnects Claude to your Yahoo Fantasy Baseball team, enabling lineup management, roster analysis, and free agent scouting through natural conversation.-
- AlicenseAqualityBmaintenanceManage 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.536 npmMIT
- FlicenseNot gradedqualityDmaintenanceEnables Claude to interact with Yahoo Fantasy Baseball and Basketball leagues, allowing roster analysis, matchup tracking, free agent browsing, and player stats retrieval via natural language.-
- FlicenseNot gradedqualityDmaintenanceManages Yahoo Fantasy Baseball teams via AI, allowing natural language queries for roster updates, trade analysis, waiver wire, and league insights.4-