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
This grade comes from an automated MCPSafe scan of the server's JavaScript, TypeScript and Python source on 2026-10-02. It read the whole repository (8 files). It checks for leaked credentials, shell or code injection from function inputs, unsafe deserialization, malware signatures, install-time scripts, and weak password handling. It does not check for path traversal, server-side request forgery, prompt injection in tool descriptions, network exposure, SQL injection, cross-site scripting, or vulnerable dependencies. It has not been manually reviewed, and the code may have changed since the scan.
Excellent Security
Trust Score 76
Trust is stricter than security: it combines reviewed security, MCP capability risk, supply-chain metadata, quality, popularity, freshness, and penalties for unknowns.
- • No reviewed severe vulnerabilities published
- • Good documentation surface
- • Solid supply-chain metadata
- • Recently scanned
- • MCP risk traits: Runs shell commands, Filesystem access, Network/API access
Security ScoreA+
Vulnerabilities Found
Quality ScoreC
Maintenance55
Popularity22
Documentation100
Available Documentation
Compatibility72
Features
Vulnerabilities(0)
This grade comes from an automated scan. Individual findings from automated scans are not published.
READMEBalldontlie MCP
View sourceBalldontlie MCP Server




<a href="https://glama.ai/mcp/servers/@mikechao/balldontlie-mcp">
<img width="380" height="200" src="https://glama.ai/mcp/servers/@mikechao/balldontlie-mcp/badge" alt="balldontlie-mcp MCP server" />
</a>
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.

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 claudeUsage 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-mcpLicense
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.
Embed Security Badge
Add this badge to your README or documentation
[](https://mcpsafe.org/registry/github-mikechao-balldontlie-mcp)Server Information
- Source
- GITHUB
- License
- MIT
- Added
- Aug 27, 2026
- Updated
- Oct 1, 2026