Balldontlie MCP Server
Sports data access via Model Context Protocol for LLMs
Key Features
Use Cases
README
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.
Star History
Repository Owner
User
Repository Details
Programming Languages
Tags
Topics
Join Our Newsletter
Stay updated with the latest AI tools, news, and offers by subscribing to our weekly newsletter.
Related MCPs
Discover similar Model Context Protocol servers
AFL MCP Server
MCP-compatible server for comprehensive AFL data and analytics
AFL MCP Server is a Model Context Protocol-compatible backend that serves detailed Australian Football League data via the Squiggle API. It offers standardized access to live scores, historical match results, team information, rankings, tips, projections, and advanced analytics. Designed for integration with MCP clients such as Claude for Desktop, it exposes a suite of tools for retrieving game, standings, and team data. The server streamlines AFL data retrieval through automated protocols, facilitating robust AI-powered workflows.
- ⭐ 14
- MCP
- willvelida/mcp-afl-server
Teamwork MCP Server
Seamless Teamwork.com integration for Large Language Models via the Model Context Protocol
Teamwork MCP Server is an implementation of the Model Context Protocol (MCP) that enables Large Language Models to interact securely and programmatically with Teamwork.com. It offers standardized interfaces, including HTTP and STDIO, allowing AI agents to perform various project management operations. The server supports multiple authentication methods, an extensible toolset architecture, and is designed for production deployments. It provides read-only capability for safe integrations and robust observability features.
- ⭐ 11
- MCP
- Teamwork/mcp
Weblate MCP Server
Seamlessly connect AI assistants to Weblate for translation management via the Model Context Protocol.
Weblate MCP Server enables AI assistants and clients to directly manage Weblate translation projects through the Model Context Protocol (MCP). It integrates with the Weblate REST API, allowing natural language interaction for project and translation management. The tool offers multiple transport options including HTTP, SSE, and STDIO, and is optimized for large language model workflows. Full support for project, component, and translation operations is provided, with a focus on type safety and flexible environment configuration.
- ⭐ 9
- MCP
- mmntm/weblate-mcp
mcp-graphql
Enables LLMs to interact dynamically with GraphQL APIs via Model Context Protocol.
mcp-graphql provides a Model Context Protocol (MCP) server that allows large language models to discover and interact with GraphQL APIs. The implementation facilitates schema introspection, exposes the GraphQL schema as a resource, and enables secure query and mutation execution based on configuration. It supports configuration through environment variables, automated or manual installation options, and offers flexibility in using local or remote schema files. By default, mutation operations are disabled for security, but can be enabled if required.
- ⭐ 319
- MCP
- blurrah/mcp-graphql
Campertunity MCP Server
Model Context Protocol server for AI-driven camping and outdoor recreation data
Implements the Model Context Protocol (MCP) to provide AI models with structured access to camping and outdoor recreation data. Offers tools for searching, filtering, and booking campgrounds and sites based on a wide range of criteria. Enhances data accuracy with AI and aggregates information from multiple sources, enabling dynamic, real-time queries and bookings. Ideal for integrating intelligent camping experiences into AI-driven applications.
- ⭐ 11
- MCP
- campertunity/mcp-server
mcp-national-rail
Access live National Rail train data via MCP for AI agents.
mcp-national-rail is a Model Context Protocol (MCP) server designed to enable AI agents to retrieve real-time and scheduled train information from National Rail using the Realtime Trains API. It facilitates live and historical lookups of departures and arrivals by exposing a set of tools through a standardized MCP interface. The server can be installed via Smithery or manually and configured for use with AI clients like Claude Desktop. Secure authentication with the Realtime Trains API is supported through user-provided credentials.
- ⭐ 1
- MCP
- lucygoodchild/mcp-national-rail
Didn't find tool you were looking for?