1. Conduid
  2. Developer Tools
  3. mikechao/balldontlie-mcp
MCP server · Developer Tools

mikechao/balldontlie-mcp

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

Unclaimed MIT last commit 6 months ago devtoolsnbamlbmcp-servermodel-context-protocolnfl
62Good

Scored 7 hours ago · breakdown

About mikechao/balldontlie-mcp

mikechao/balldontlie-mcp is an MCP server published by mikechao in the Developer Tools category: an MCP Server implementation that integrates the Balldontlie API, to provide information about players, teams and games for the NBA, NFL and MLB.

The repository has 26 stars and 13 forks, with the last commit 6 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/mikechao/balldontlie-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (3)

get_gameGet a specific game from one of the following leagues NBA (National Basketball Association), MLB (Major League Baseball), NFL (National Football League)

Parameters not published.

get_gamesGets the list of games from one of the following leagues NBA (National Basketball Association), MLB (Major League Baseball), NFL (National Football League)

Parameters not published.

get_teamsGets the list of team from one of the following leagues NBA (National Basketball Association), MLB (Major League Baseball), NFL (National Football League)

Parameters not published.

Ask AI

✦

Ask AI about mikechao/balldontlie-mcp

Powered by Claude · Grounded in docs

I know everything about mikechao/balldontlie-mcp. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 7 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v0.6.5Update tools descriptions and @modelcontextprotocol/sdk · 10 Jul 2025Updated tools descriptions to include full league names Updated @modelcontextprotocol/sdk to 1.15.1
v0.6.1Added Desktop Extensions file · 9 Jul 2025Added Anthropic DXT file for easy installation.
v0.6.0Added schedule_generator prompt · 23 Apr 2025Added schedule_generator prompt
v0.5.2Added LibreChat usage, fix get_teams description · 8 Apr 2025Added LibreChat usage to readme Fixed the description of get_teams tool
v0.5.1Fix README and added shebang to index · 8 Apr 2025Fix typo in README Added shebang to index.ts

README

Balldontlie MCP Server

Trust Score

smithery badge

Verified on MseeP

MseeP.ai Security Assessment Badge

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

    • Gets the list of team from one of the following leagues NBA (National Basketball Association), MLB (Major League Baseball), NFL (National Football League)
    • Inputs:
      • league (enum ['NBA', 'NFL', 'MLB']): The sports league to get teams for
  • get_players

    • Gets the list of players from one of the following leagues NBA (National Basketball Association), MLB (Major League Baseball), NFL (National Football League)
    • 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 from one of the following leagues NBA (National Basketball Association), MLB (Major League Baseball), NFL (National Football League)
    • 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 (National Basketball Association), MLB (Major League Baseball), NFL (National Football League)
    • 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.

claude desktop example

Sample queries

With this MCP Server installed you can ask Claude or other LLM questions like the following.

Show me today's baseball games.
Can you find football players with the last name Purdy?
How many NBA players have the last name Ming?

Configuration

Getting an API Key

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

Installing using Desktop Extension (DXT)

  1. Download the dxt file from the Releases
  2. Open it with Claude Desktop or Go to File -> Settings -> Extensions and drag the .DXT file to the window to install it

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.

Hosted deployment

A hosted deployment is available on Fronteir AI.

README fetched from the repository 7 hours ago. The original is authoritative.

Questions

About mikechao/balldontlie-mcp

How do I install mikechao/balldontlie-mcp?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is mikechao/balldontlie-mcp safe to use with an AI agent?

Its trust score is 62 out of 100 (good). It passes 4 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is mikechao/balldontlie-mcp still maintained?

The last commit was 6 months ago and 2 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.