mikechao/balldontlie-mcp
Free集成 balldontlie API,提供 NBA、NFL 和 MLB 的球员、球队和比赛信息。
About mikechao/balldontlie-mcp
Balldontlie MCP Server is an open-source Model Context Protocol (MCP) server that integrates the Balldontlie API to provide structured information about players, teams, and games for the NBA, NFL, and MLB. It exposes four main tools: get_teams to retrieve teams by league, get_players to search players with optional filters (firstName, lastName, pagination), get_games to list games by league, date range, and team IDs with pagination, and get_game to fetch details of a specific game by ID. Additionally, it includes a prompt schedule_generator that generates an interactive schedule for a given league and date range in Claude Desktop. The server is easy to deploy via npx, Smithery, or a DXT file, and requires a free Balldontlie API key. It is built with TypeScript and follows the MCP specification for seamless integration with AI assistants like Claude.
Key Features
Pros & Cons
- Open source and free to use (requires free API key)
- Covers three major US sports leagues: NBA, NFL, MLB
- Simple setup via widely used MCP client configurations
- Supports pagination for large datasets
- Includes a predefined prompt for easier interaction
- Requires external Balldontlie API key; API may have rate limits or usage caps on free plan
- Data quality and freshness depend on the Balldontlie API, not the server itself
- Limited to the sports leagues supported by Balldontlie (NBA, NFL, MLB only)
- No built-in caching or offline support; depends on network availability