LaunchKit · 2026
Back to Skills

baseball

Fetch MLB game schedules, live game status, box scores, player search, and season statistics via the MLB Stats API.

0
403 downloads
by @khaney64

Setup & Installation

openclaw skills install @khaney64/baseball

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install baseball

Version History

v0.1.2Feb 20, 2026 - Version note by skill developer:

Player search and stats commands added. - Added player search (`player`) and season stats (`stats`) commands. - You can now look up players by name or team and get up-to-date season statistics. - Documentation expanded with examples and output formats for the new commands. - `description` updated to reflect support for player lookups and stats.

What This Skill Does

Fetches MLB game schedules, live in-progress game status, box scores, player search results, and season batting/pitching statistics via the MLB Stats API. Supports lookup by team abbreviation, player name, or numeric game/player IDs. No authentication required.

The MLB Stats API is free and public, so this skill provides real-time game data without requiring any account or key.

When to use it

  • Check if today's Phillies game is in progress
  • Look up Aaron Judge's 2025 batting stats
  • Get the final box score from last Tuesday's Yankees game
  • Find which pitcher is starting for the Dodgers tonight
  • Browse the next week of Red Sox games

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: What's happening in the Mets game right now?

AGENT
  1. 1Run `python scripts/baseball.py live NYM` to find today's Mets game
  2. 2Parse the live status response for inning, count, runners, and matchup
  3. 3Read the line score for inning-by-inning runs
  4. 4Return current score, batter vs pitcher matchup, and last play description
OUTPUT

PHI Phillies 3 @ NYM Mets 5, Top 6th, 1 out, 2-1 count, Kyle Schwarber batting against Sean Manaea, runners on 1st and 3rd