
balldontlie-mcp
by mikechao·★ 23·Score 43
MCP server providing NBA, NFL, and MLB player, team, and game data via Balldontlie API.
Overview
This MCP server integrates with the Balldontlie API to provide comprehensive sports information for three major American leagues: NBA (basketball), NFL (football), and MLB (baseball). It offers four main tools for retrieving team data, player information, game lists, and specific game details, along with a prompt for generating interactive schedules. The server supports pagination through cursors and allows filtering by specific dates, teams, and player names.
Try asking AI
After installing, here are 6 things you can ask your AI assistant:
When to choose this
Choose this server when you need quick access to NBA, NFL, and MLB sports data through an MCP interface without building custom API integrations.
When NOT to choose this
Don't choose this if you need data from international leagues beyond the three supported American sports, or if you require historical data beyond what Balldontlie API provides.
Tools this server exposes
4 tools extracted from the READMEget_teamsGets the list of teams from NBA, NFL, or MLB
get_playersGets the list of players from NBA, NFL, or MLB
get_gamesGets the list of games from NBA, NFL, or MLB
get_gameGet a specific game by ID from NBA, NFL, or MLB
Comparable tools
Installation
Installation
Getting an API Key
- Sign up for account at [Balldontlie.io](https://www.balldontlie.io/)
- The free plan is enough for this MCP Server
Installing via 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"
}
}
}
}Installing using Desktop Extension (DXT)
- Download the
dxtfile from the [Releases](https://github.com/mikechao/balldontlie-mcp/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](https://smithery.ai/server/@mikechao/balldontlie-mcp):
npx -y @smithery/cli install @mikechao/balldontlie-mcp --client claudeFAQ
- What leagues are supported by this MCP server?
- The server supports data from three major American sports leagues: NBA (National Basketball Association), NFL (National Football League), and MLB (Major League Baseball).
- Is an API key required to use this server?
- Yes, you need to sign up for a free API key at balldontlie.io to use this MCP server. The free plan is sufficient for basic usage.
- Can I search for specific players?
- Yes, you can use the get_players tool to search for players by first name, last name, or both across the supported leagues.
Compare balldontlie-mcp with
Last updated · Auto-generated from public README + GitHub signals.