Atlas / MCP servers / mikechao / Balldontlie

BalldontlieSAFE

mcp/mikechao/balldontlie

An MCP Server implementation that integrates the Balldontlie API, to provide information about players, teams and games for the NBA, NFL and MLB

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
4 4r · 0w · 0d
Transport
stdio
License
MIT
Stars
26
01

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 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
  • `dat
Read from source at commit 9a95899dfe4aOBSERVED · 2026-10-09
02

Connect

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-code
claude mcp add balldontlie-mcp --env BALLDONTLIE_API_KEY=${BALLDONTLIE_API_KEY} -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "balldontlie-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "BALLDONTLIE_API_KEY": "${BALLDONTLIE_API_KEY}"
      }
    }
  }
}
03

Exposed tools (4)

4 read · 0 write · 0 destructive.

ToolRiskDescription
get_gamereadGet a specific game from one of the following leagues NBA (National Basketball Association), MLB (Major League Baseball), NFL (National Football League)
get_gamesreadGets the list of games from one of the following leagues NBA (National Basketball Association), MLB (Major League Baseball), NFL (National Football League)
get_playersreadGets the list of players from one of the following leagues NBA (National Basketball Association), MLB (Major League Baseball), NFL (National Football League)
get_teamsreadGets the list of team from one of the following leagues NBA (National Basketball Association), MLB (Major League Baseball), NFL (National Football League)
04

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.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (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)

LOWInventory / provenance · inv.hidden_file · CWE-1104
.dxtignore
.dxtignore
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@balldontlie/sdk, @modelcontextprotocol/sdk, zod, @antfu/eslint-config, @types/node, eslint, eslint-plugin-format, shx
Why it matters. 9 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-10-09 · audit v0.4.1 · source sha 9a95899dfe4afull audit observations/trust-audit/mcp-server/mikechao__balldontlie.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-099a95899dfe4aSAFEB89first audit
06

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.

Advertisement