Skip to content
FastballAPI
MCP server + baseball skills

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.

json
{
  "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.

Open endpoint docs
list_teams1cr

Team ids, abbreviations and colours for a season

search_players1cr

Find players by name

get_games2cr

Games with runs, hits and errors by season, date, range or team

get_schedule2cr

Upcoming games with the median line across sportsbooks

get_standings2cr

Standings from every final game, with run differential and Pythagorean record

get_injuries2cr

The latest injury report

get_ratings2cr

Our team Elo ratings, ranked

get_game5cr

One game: every batting and pitching line, each book's line, win probability

get_player5cr

Season batting (AVG, OBP, SLG, OPS, RE24) and pitching (ERA, WHIP, K/9)

get_player_games5cr

A player's full batting and pitching game log

get_leaders5cr

Season leaders among qualified batters and pitchers

get_team_stats5cr

Runs for and against, team batting and opponents' batting

get_pitch_mix5cr

A pitcher's arsenal: usage, velocity, whiff rate per pitch type

get_odds5cr

Every sportsbook's moneyline, run line and total for a game (5) or a day (10)

get_plate_appearances10cr

Plate-appearance play-by-play with base-out state, batted ball, win probability, RE24

get_pitches10cr

Pitch-by-pitch: count, type, velocity, location, result

get_spray_chart10cr

Where a batter or team hits the ball, by trajectory and field

get_line_movement10cr

Snapshots of each sportsbook's line before first pitch

get_player_props10cr

Player prop lines by sportsbook, opening and closing

get_prop_history10cr

A player's prop lines against the result, game by game

20
MCP tools
16
skills
6
skill categories
01

Data Exploration

Find games, scout players, check odds.

game-lookup

Scores, schedules and full box scores for MLB and college baseball.

team-analysis

Standings, team batting and run prevention, and Elo power ratings.

player-scouting

Player lines, game logs, season leaders and injuries, compared fairly.

odds-explorer

Best price, opening vs closing and line movement across sportsbooks.

game-preview

One-matchup pre-game report: form, ratings, injuries and the market.

02

Baseball Analytics

Pitch-level metrics, run value and batted-ball data.

pitch-mix-analysis

Pitch usage, velocity and whiff rate per swing for any MLB pitcher.

run-value-analysis

RE24, base-out state, RISP splits and win probability by plate appearance.

spray-chart-analysis

Where a batter hits the ball: trajectory, field, HR per fly ball, x/y plots.

pythagorean-record

Expected record from runs scored and allowed, and how much is luck.

03

Methodology

Feature engineering, validation and calibration that hold up on time series.

walk-forward-validation

Leakage-safe features, time-ordered splits, baselines and calibration.

odds-analysis

Convert odds and remove the margin with multiplicative, power and Shin methods.

04

Betting

Find edges, size bets, track performance honestly.

edge-detection

Expected value, fractional Kelly, line shopping and closing line value.

backtesting

Test a strategy on closing lines and prop history with honest intervals.

prop-modeling

Pitcher strikeout, hits and total bases projections vs the devigged market.

05

Workflow

Previews and routing that combine several skills.

dispatch

Routes a baseball request to the right two or three skills.

06

Infrastructure

MCP tool routing and credit tracking.

fastballapi-tool

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.