Claude skills for baseball analytics.
Free Claude skills that turn Claude into a baseball analyst: pitch mix and whiff rate, run value, spray charts, pitcher strikeout props, closing-line backtests and bet tracking, all wired to the FastballAPI MCP server.
# Install the skills as a Claude Code plugin (or git clone the repo)
> /plugin marketplace add noahowsh/fastballapi-mcp
> /plugin install fastballapi-skills@fastballapi
# Add the MCP server
$ claude mcp add fastballapi https://mcp.fastballapi.com/mcp?key=YOUR_API_KEY --transport streamable-http
# Then ask Claude a stable first question
$ claude "Using FastballAPI, show today's MLB games with each sportsbook's moneyline and run total. Cite the tools used."Claude Desktop config
Use this when your MCP client accepts a Streamable HTTP URL.
{
"mcpServers": {
"fastballapi": {
"url": "https://mcp.fastballapi.com/mcp?key=YOUR_API_KEY"
}
}
}First useful prompts
“Using FastballAPI, show today's MLB games with each sportsbook's moneyline and run total. Cite the tools used.”
“Using FastballAPI, break down one starting pitcher's pitch mix and whiff rate by pitch type this season. Cite the tools used.”
“Using FastballAPI, pull a pitcher's strikeout prop lines for his last five starts next to his actual strikeouts. Cite the tools used.”
20 MCP tools
The same baseball data is available through REST and MCP. Credits are charged per tool call.
list_teams1crTeam ids, abbreviations and colours for a season
search_players1crFind players by name
get_games2crGames with runs, hits and errors by season, date, range or team
get_schedule2crUpcoming games with the median line across sportsbooks
get_standings2crStandings from every final game, with run differential and Pythagorean record
get_injuries2crThe latest injury report
get_ratings2crOur team Elo ratings, ranked
get_game5crOne game: every batting and pitching line, each book's line, win probability
get_player5crSeason batting (AVG, OBP, SLG, OPS, RE24) and pitching (ERA, WHIP, K/9)
get_player_games5crA player's full batting and pitching game log
get_leaders5crSeason leaders among qualified batters and pitchers
get_team_stats5crRuns for and against, team batting and opponents' batting
get_pitch_mix5crA pitcher's arsenal: usage, velocity, whiff rate per pitch type
get_odds5crEvery sportsbook's moneyline, run line and total for a game (5) or a day (10)
get_plate_appearances10crPlate-appearance play-by-play with base-out state, batted ball, win probability, RE24
get_pitches10crPitch-by-pitch: count, type, velocity, location, result
get_spray_chart10crWhere a batter or team hits the ball, by trajectory and field
get_line_movement10crSnapshots of each sportsbook's line before first pitch
get_player_props10crPlayer prop lines by sportsbook, opening and closing
get_prop_history10crA player's prop lines against the result, game by game
Data Exploration
Find games, scout players, check odds.
Scores, schedules and full box scores for MLB and college baseball.
Standings, team batting and run prevention, and Elo power ratings.
Player lines, game logs, season leaders and injuries, compared fairly.
Best price, opening vs closing and line movement across sportsbooks.
One-matchup pre-game report: form, ratings, injuries and the market.
Baseball Analytics
Pitch-level metrics, run value and batted-ball data.
Pitch usage, velocity and whiff rate per swing for any MLB pitcher.
RE24, base-out state, RISP splits and win probability by plate appearance.
Where a batter hits the ball: trajectory, field, HR per fly ball, x/y plots.
Expected record from runs scored and allowed, and how much is luck.
Methodology
Feature engineering, validation and calibration that hold up on time series.
Leakage-safe features, time-ordered splits, baselines and calibration.
Convert odds and remove the margin with multiplicative, power and Shin methods.
Betting
Find edges, size bets, track performance honestly.
Expected value, fractional Kelly, line shopping and closing line value.
Test a strategy on closing lines and prop history with honest intervals.
Pitcher strikeout, hits and total bases projections vs the devigged market.
Workflow
Previews and routing that combine several skills.
Routes a baseball request to the right two or three skills.
Infrastructure
MCP tool routing and credit tracking.
All 20 tools, credit costs, coverage limits and the data response envelope.
Open source methodology. Production-ready data.
The skills are free forever. When you need real data, FastballAPI is ready. Start with 500 free credits every month.