home / mcp / sport5 fantasy mcp server

Sport5 Fantasy MCP Server

sport5-fantasy-mcp

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "benshabbat-sport5-fantasy-mcp": {
      "command": "python",
      "args": [
        "C:\\path\\to\\your\\sport5_mcp_google.py"
      ],
      "env": {
        "GOOGLE_CLIENT_ID": "your-client-id",
        "GOOGLE_CLIENT_SECRET": "your-client-secret"
      }
    }
  }
}

You set up Sport5 Fantasy MCP Server to connect your fantasy site data and manage it securely. It supports Google OAuth for login and a standard email/password path, letting you fetch your team data and league standings while keeping authentication flexible and secure.

How to use

You will run a local MCP server that handles authentication and data access for your Sport5 fantasy site. You can log in with Google OAuth or with traditional credentials, then request your team data and league table. The server can be run alongside a desktop client configuration for seamless integration.

How to install

Prerequisites: ensure you have Python 3.8 or newer and the pip package manager installed on your system.

# Install Python dependencies
pip install -r requirements.txt

# Or install manually if you prefer
pip install aiohttp beautifulsoup4 mcp lxml aiohttp-cors python-dotenv

Configuration and integration with Claude Desktop

Configure a local MCP server entry for Claude Desktop to manage and run the server from your desktop environment.

{
  "mcpServers": {
    "sport5-fantasy-oauth": {
      "command": "python",
      "args": ["C:\\path\\to\\your\\sport5_mcp_google.py"],
      "env": {
        "GOOGLE_CLIENT_ID": "your-client-id",
        "GOOGLE_CLIENT_SECRET": "your-client-secret"
      }
    }
  }
}

Use your Google OAuth and credentials

To enable Google OAuth, provide your Client ID and Client Secret in the environment when launching the server. The following placeholders illustrate what you will configure:

Client ID: 123456789-abc.apps.googleusercontent.com Client Secret: GOCSPX-abc123...

Available tools

setup_google_oauth

Configure Google OAuth with client_id and client_secret to enable Google sign-in.

login_google

Login using Google OAuth so you don't manage passwords directly.

login_credentials

Login using traditional email and password.

get_my_team

Fetch and display your team details from the Sport5 fantasy data source.

get_league_table

Fetch and display the current league standings.