- Explore MCP Servers
- yahoo-fantasy-baseball-mcp
Yahoo Fantasy Baseball Mcp
What is Yahoo Fantasy Baseball Mcp
Yahoo Fantasy Baseball MCP is a server designed to interact with the Yahoo Fantasy Sports API, specifically for managing fantasy baseball leagues.
Use cases
Use cases include managing fantasy baseball teams, retrieving player statistics, and integrating with other applications for enhanced fantasy sports experiences.
How to use
To use yahoo-fantasy-baseball-mcp, clone the repository, install dependencies, set up environment variables with your Yahoo API credentials, and then build and run the server.
Key features
Key features include OAuth 1.0a authentication, access to team rosters and player statistics, and integration with Claude via MCP protocol.
Where to use
This MCP server is primarily used in the domain of fantasy sports, particularly for fantasy baseball leagues.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Yahoo Fantasy Baseball Mcp
Yahoo Fantasy Baseball MCP is a server designed to interact with the Yahoo Fantasy Sports API, specifically for managing fantasy baseball leagues.
Use cases
Use cases include managing fantasy baseball teams, retrieving player statistics, and integrating with other applications for enhanced fantasy sports experiences.
How to use
To use yahoo-fantasy-baseball-mcp, clone the repository, install dependencies, set up environment variables with your Yahoo API credentials, and then build and run the server.
Key features
Key features include OAuth 1.0a authentication, access to team rosters and player statistics, and integration with Claude via MCP protocol.
Where to use
This MCP server is primarily used in the domain of fantasy sports, particularly for fantasy baseball leagues.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
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
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-MCP -
Install dependencies:
npm install -
Set 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_secret - To 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 build
Start the server:
npm start
MCP Configuration
To add this server to your Claude configuration, add the following to your MCP settings file:
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
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










