An MCP Server implementation that integrates the Balldontlie API, to provide information about players, teams and games for the NBA, NFL and MLB
- • Core MCP protocol features implemented (22/40)
- • Limited GitHub community activity (6/20)
- • Optimal dependency management (20/20)
- • Full deployment maturity (10/10)
- • Documentation (8/8)
- • Archestra MCP Trust score badge is missing
{
"balldontlie-mcp": {
"command": "npx",
"args": [
"-y",
"balldontlie-mcp"
],
"env": {
"BALLDONTLIE_API_KEY": "YOUR API KEY HERE"
}
},
"balldontlie-mcp-sh": {
"command": "sh",
"args": [
"-c",
"BALLDONTLIE_API_KEY=your-api-key-here npx -y balldontlie-mcp"
],
"env": {
"BALLDONTLIE_API_KEY": "your-api-key-here"
}
}
}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
- 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 forfirstName(string, optional): The first name of the player to search forlastName(string, optional): The last name of the player to search forcursor(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 fordates(string[], optional): Get games for specific dates, format: YYYY-MM-DDteamIds(string[], optional): Get games for specific gamescursor(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 forgameId(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.

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
- Sign up for account at Balldontlie.io
- The free plan is enough for this MCP Server
Installing using Desktop Extension (DXT)
- Download the
dxtfile from the Releases - 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.
[](https://archestra.ai/mcp-catalog/mikechao__balldontlie-mcp)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
- 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 forfirstName(string, optional): The first name of the player to search forlastName(string, optional): The last name of the player to search forcursor(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 fordates(string[], optional): Get games for specific dates, format: YYYY-MM-DDteamIds(string[], optional): Get games for specific gamescursor(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 forgameId(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.

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
- Sign up for account at Balldontlie.io
- The free plan is enough for this MCP Server
Installing using Desktop Extension (DXT)
- Download the
dxtfile from the Releases - 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.
Related MCP Servers
mvf1
55/100A Python package and command line interface to control video players for MultiViewer For F1, the best way to watch Formula 1.
mlb-api-mcp
51/100A Model Context Protocol (MCP) server that provides comprehensive access to MLB statistics and baseball data through a FastMCP-based interface.
mcp-afl-server
49/100This is a Model Context Protocol (MCP) server that provides AFL (Australian Football League) data from Squiggle API.
sports-mcp-server
40/100Cloudbet Sports Data MCP Server
firstcycling-mcp
32/100This is a Model Context Protocol (MCP) server that provides professional cycling data from FirstCycling. It allows you to retrieve information about professional cyclists, race results, and more.

