Atlas / MCP servers / guillochon / MLB API

MLB APISAFE

mcp/guillochon/mlb-api

A Model Context Protocol (MCP) server that provides comprehensive access to MLB statistics and baseball data through a FastMCP-based interface.

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
24 23r · 1w · 0d
Transport
stdio · streamable-http
License
MIT
Stars
59
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](https://github.com/guillochon/mlb-api-mcp/actions/workflows/ci.yml) [](https://smithery.ai/server/@guillochon/mlb-api-mcp)

A Model Context Protocol (MCP) server that provides comprehensive access to MLB statistics and baseball data through a FastMCP-based interface.

Overview

This MCP server acts as a bridge between AI applications and MLB data sources, enabling seamless integration of baseball statistics, game information, player data, and more into AI workflows and applications.

Features

MLB Data Access

  • Current standings for all MLB teams with flexible filtering by league, season, and date
  • Game schedules and results with date range support
  • Player statistics including traditional and sabermetric stats (WAR, wOBA, wRC+)
  • Team information and rosters with various roster types
  • Live game data including boxscores, linescores, and play-by-play
  • Game highlights and scoring plays
  • Player and team search functionality
  • Draft information and award recipients
  • Game pace statistics and lineup information

MCP Tools

All MLB/statistics/game/player/team/etc. functionality is exposed as MCP tools, not as RESTful HTTP endpoints. These tools are accessible via the /mcp/ endpoint using the MCP protocol. For a list of available tools and their descriptions, visit /tools/ when the server is running.

Key MCP Tools

  • get_mlb_standings - Current MLB standings with league and season filters
  • get_mlb_schedule - Game schedules for specific dates, ranges, or teams
  • get_mlb_team_info - Detailed team information
  • get_mlb_player_info - Player biograph
Read from source at commit 6f102ec3206fOBSERVED · 2026-10-08
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.

claude-code
claude mcp add mlb-api-mcp -- uvx mlb-api-mcp
claude-desktop
{
  "mcpServers": {
    "mlb-api-mcp": {
      "command": "uvx",
      "args": [
        "mlb-api-mcp"
      ]
    }
  }
}
03

Exposed tools (24)

23 read · 1 write · 0 destructive.

ToolRiskDescription
get_current_datereadGet the current date.
get_current_timereadGet the current time.
get_mlb_awardsread
get_mlb_boxscoreread
get_mlb_draftread
get_mlb_game_highlightsread
get_mlb_game_lineupread
get_mlb_game_paceread
get_mlb_game_scoring_playsread
get_mlb_linescoreread
get_mlb_player_inforead
get_mlb_playersread
get_mlb_rosterread
get_mlb_sabermetricsread
get_mlb_schedulewrite
get_mlb_search_playersread
get_mlb_search_teamsread
get_mlb_standingsread
get_mlb_team_inforead
get_mlb_teamsread
get_multiple_mlb_player_statsread
get_statcast_batterread
get_statcast_pitcherread
get_statcast_teamread
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
declared (2 observation(s))
Shell
none-observed
Dependencies
pinned
Secrets in source
none-found

Findings (3)

LOWInventory / provenance · inv.hidden_file · CWE-1104
.cursorignore
.cursorignore
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.pre-commit-config.yaml
.pre-commit-config.yaml
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
INFOSupply chain · prompt.pipe_to_shell · CWE-829, CWE-1357
README.md:90
curl -LsSf https://astral.sh/uv/install.sh | sh

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha 6f102ec3206ffull audit observations/trust-audit/mcp-server/guillochon__mlb-api.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-086f102ec3206fSAFEB89first audit
06

Questions

What is the MLB API MCP server?

A Model Context Protocol (MCP) server that provides comprehensive access to MLB statistics and baseball data through a FastMCP-based interface.

What tools does MLB API expose?

24 in total: 23 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is MLB API 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 MLB API need?

No credential environment variables were found in its source, so it appears to need none.

How does MLB API run?

It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on PyPI as mlb-api-mcp.

How current is this page?

The grade is for one exact copy of the source (6f102ec3206f), read on 2026-10-08. The repository is watched and re-audited when it changes.

Advertisement