BalldontlieSAFE
An MCP Server implementation that integrates the Balldontlie API, to provide information about players, teams and games for the NBA, NFL and MLB
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
[](https://archestra.ai/mcp-catalog/mikechao__balldontlie-mcp)
[](https://smithery.ai/server/@mikechao/balldontlie-mcp)
[](https://mseep.ai/app/07e29bcd-3fb7-46e6-b4b9-8908b3ef18f2)
[](https://mseep.ai/app/mikechao-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.
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 for- `dat
9a95899dfe4aOBSERVED · 2026-10-09Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.
claude mcp add balldontlie-mcp --env BALLDONTLIE_API_KEY=${BALLDONTLIE_API_KEY} -- npx -y [email protected]{
"mcpServers": {
"balldontlie-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"BALLDONTLIE_API_KEY": "${BALLDONTLIE_API_KEY}"
}
}
}
}Exposed tools (4)
4 read · 0 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
get_game | read | Get a specific game from one of the following leagues NBA (National Basketball Association), MLB (Major League Baseball), NFL (National Football League) |
get_games | read | Gets the list of games from one of the following leagues NBA (National Basketball Association), MLB (Major League Baseball), NFL (National Football League) |
get_players | read | Gets the list of players from one of the following leagues NBA (National Basketball Association), MLB (Major League Baseball), NFL (National Football League) |
get_teams | read | Gets the list of team from one of the following leagues NBA (National Basketball Association), MLB (Major League Baseball), NFL (National Football League) |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (2)
.dxtignore
@balldontlie/sdk, @modelcontextprotocol/sdk, zod, @antfu/eslint-config, @types/node, eslint, eslint-plugin-format, shx
Gates applied: no_behavioural_pass.
9a95899dfe4afull audit observations/trust-audit/mcp-server/mikechao__balldontlie.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-09 | 9a95899dfe4a | SAFE | B | 89 | first audit |
Questions
What is the 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
What tools does Balldontlie expose?
4 in total: 4 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Balldontlie safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does Balldontlie need?
It reads BALLDONTLIE_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Balldontlie run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as balldontlie-mcp at 0.6.5.
How current is this page?
The grade is for one exact copy of the source (9a95899dfe4a), read on 2026-10-09. The repository is watched and re-audited when it changes.