MLB batter spray profile
Where a batter hits the ball: trajectory and field direction, with hit rates and counts.
What it does
Reports balls in play by trajectory and by field (left, center, right) with hit rates and counts, for a season or the postseason.
Questions to ask
“Give me Aaron Judge's spray profile for 2025”
“Does Kyle Schwarber hit more fly balls than last year?”
“Does Ohtani pull the ball?”
Data it uses
FastballAPI, the baseball data API. Baseball: MLB games since 2015 with pitch-by-pitch and plate appearances (every pitch from 2018); sportsbook lines by book from 2015. The skill calls its MCP server, https://mcp.fastballapi.com/mcp, so it needs a free key from fastballapi.com. One SportsDataHQ key also works: see the docs.
Install
Claude Code:
/plugin marketplace add sports-data-hq/sportsdatahq-skills
/plugin install mlb-data@sportsdatahqOther agents (Cursor, Codex, Gemini CLI and more):
npx skills add sports-data-hq/sportsdatahq-skills --skill mlb-batter-spray-profileSource and the test prompts it is checked against: mlb-batter-spray-profile on GitHub.
Related skills
MLB game preview · MLB regression candidates · MLB pitcher skill change