balldontlie-mcp

Integrations

  • Enables access to MLB information through the Balldontlie API, allowing retrieval of team data, player profiles, and game statistics including specific games or games filtered by dates and teams.

  • Provides access to NBA information through the Balldontlie API, allowing retrieval of team data, player profiles, and game statistics including specific games or games filtered by dates and teams.

Balldontlie MCP Server

An MCP Server implementation that integrates the Balldontlie API, to provide information about players, teams and games for the NBA, NFL and MLB.

Tools

  • get_teams
    • Get a list of teams for the NBA, NFL or MLB
    • Inputs:
      • league (enum ['NBA', 'NFL', 'MLB']): The sports league to get teams for
  • get_players
    • Gets a list of players for the NBA, NFL or MLB
    • Inputs:
      • league (enum ['NBA', 'NFL', 'MLB']): The sports league to get players for
      • firstName (string, optional): The first name of the player to search for
      • lastName (string, optional): The last name of the player to search for
      • cursor (number, optional): Cursor for pagination
  • get_games
    • Gets the list of games for the NBA, NFL or MLB
    • Inputs:
      • league (enum ['NBA', 'NFL', 'MLB']): The sports league to get games for
      • dates (string[], optional): Get games for specific dates, format: YYYY-MM-DD
      • teamIds (string[], optional): Get games for specific games
      • cursor (number, optional): Cursor for pagination
  • get_game
    • Get a specific game from one of the following leagues NBA, MLB, NFL
    • Inputs:
      • league (enum ['NBA', 'NFL', 'MLB']): The sports league to get the game for
      • gameId (number): The id of the game from the get_games tool

Prompts

  • schedule_generator

Given a league (NBA, MLB, NFL), a starting date and ending date generates an interactive schedule in Claude Desktop.

Configuration

Getting an API Key

  1. Sign up for account at Balldontlie.io
  2. The free plan is enough for this MCP Server

Installing via Smithery

To install balldontlie-mcp for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @mikechao/balldontlie-mcp --client claude

Usage with Claude Desktop

Add this to your claude_desktop_config.json:

{ "mcp-servers": { "balldontlie": { "command": "npx", "args": [ "-y", "balldontlie-mcp" ], "env": { "BALLDONTLIE_API_KEY": "YOUR API KEY HERE" } } } }

Usage with LibreChat

mcpServers: balldontlie: command: sh args: - -c - BALLDONTLIE_API_KEY=your-api-key-here npx -y balldontlie-mcp

License

This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.

Disclaimer

This library is not officially associated with balldontlie.io. It is a third-party implementation of the balldontlie api with a MCP Server.

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

An MCP Server implementation that integrates the Balldontlie API, to provide information about players, teams and games for the NBA, NFL and MLB.

  1. Tools
    1. Prompts
      1. Configuration
        1. Getting an API Key
        2. Installing via Smithery
        3. Usage with Claude Desktop
        4. Usage with LibreChat
      2. License
        1. Disclaimer

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            An MCP server providing access to college football statistics sourced from the College Football Data API within Claude Desktop.
            Last updated -
            9
            9
            Python
            MIT License
            • Apple
          • A
            security
            A
            license
            A
            quality
            The MCP server provides an interface to the Datadog API, enabling seamless management of incidents, monitoring, logs, dashboards, metrics, traces, and hosts. Its extensible design allows easy integration of additional Datadog APIs for future expansions.
            Last updated -
            14
            322
            36
            TypeScript
            Apache 2.0
            • Apple
          • A
            security
            F
            license
            A
            quality
            An MCP server implementation that enables interaction with the Unstructured API, providing tools to list, create, update, and manage sources, destinations, and workflows.
            Last updated -
            39
            26
            • Apple
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol server that provides access to Fantasy Premier League data, allowing users to compare players, find team information, view gameweek data, and get FPL-related advice through Claude for Desktop and other MCP-compatible clients.
            Last updated -
            7
            Python
            MIT License
            • Apple

          View all related MCP servers

          ID: s7jary3hc6