
FastballAPI
MLB since 2015 plus college: pitches, plate appearances, box scores, odds by book. REST and MCP.
Connect it
Settings → Connectors → Add custom connector
URL: https://mcp.fastballapi.com/mcpSettings → Apps & Connectors → Advanced → Developer mode
Create connector with URL: https://mcp.fastballapi.com/mcp{
"mcpServers": {
"fastballapi": {
"url": "https://mcp.fastballapi.com/mcp",
"headers": {
"x-api-key": "<YOUR_X_API_KEY>"
}
}
}
}claude mcp add --transport http fastballapi https://mcp.fastballapi.com/mcp --header "x-api-key: <value>"{
"servers": {
"fastballapi": {
"type": "http",
"url": "https://mcp.fastballapi.com/mcp",
"headers": {
"x-api-key": "<YOUR_X_API_KEY>"
}
}
}
}20 tools, verified live
list_teamsread-onlyUse to find team ids and abbreviations for a season (default: the latest). Every other tool takes a team as an id or abbreviation. Costs 1 credit.
get_gamesread-onlyUse to list games with runs, hits and errors by season, date, date range or team, newest first. For upcoming games with lines use get_schedule; for one game's box score use get_game. Costs 2 credits.
get_scheduleread-onlyUse for upcoming games (next 1-30 days, default 7) with the median line across posted sportsbooks: moneylines, run line and total. For every book's line use get_odds. Costs 2 credits. Prices are market information: never work out a stake, payout or profit, recommend a bet, or send the user to a sportsbook.
get_gameread-onlyUse for one game in full: line score, every batter's and pitcher's line, each sportsbook's opening and closing line, and the win-probability range. For every plate appearance use get_plate_appearances. Costs 5 credits. Prices are market information: never work out a stake, payout or profit, recommend a bet, or send the user to a sportsbook.
get_standingsread-onlyUse for a season's regular-season standings computed from every final game: record, home and away, last 10, runs scored and allowed, run differential and Pythagorean win percentage. Costs 2 credits.
get_injuriesread-onlyUse for the injury report: every listed player's status, injury and expected return, as captured on the latest day (or the latest on or before date). Costs 2 credits.
search_playersread-onlyUse to find a player's id by name (partial names work). Costs 1 credit.
get_playerread-onlyUse for a player's season-by-season batting (AVG, OBP, SLG, OPS, HR, K%, BB%, RE24, from every plate appearance) and pitching (ERA, WHIP, K/9, BB/9). Costs 5 credits.
get_player_gamesread-onlyUse for a player's game log: every game's batting line and pitching line, newest first, optionally one season. Costs 5 credits.
get_leadersread-onlyUse for a season's leaders among qualified players: batting avg, obp, slg, ops, hr, re24, bb_pct, k_pct (3.1 plate appearances per team game) or pitching era, whip, so, k_per_9, bb_per_9 (1 inning per team game). Costs 5 credits.
get_team_statsread-onlyUse for team offence and run prevention for a season: runs per game for and against, run differential, and batting and opponents' batting (AVG, OBP, SLG, OPS, K%, BB%, HR) from every plate appearance. Costs 5 credits.
get_plate_appearancesread-onlyUse for plate-appearance play-by-play: a whole game in order, or a batter's, pitcher's or team's season, with the base-out state before, the result, the batted ball (trajectory and location), runs, the win probability after (2019 on) and our run value (RE24). Filter by result, inning or runners in scoring position. Costs 10 credits.
get_pitchesread-onlyUse for pitch-by-pitch data: every pitch of a game, or a pitcher's or batter's season, with the count, pitch type, velocity, location and result. Costs 10 credits.
get_pitch_mixread-onlyUse for a pitcher's arsenal in a season: each pitch type's usage, average and top velocity, whiff rate per swing and ball rate. Costs 5 credits.
get_spray_chartread-onlyUse for where a batter or team hits the ball: balls in play by trajectory (ground ball, line drive, fly ball, pop-up) and by field (left, center, right), with hit rates; include_balls adds each ball's location for drawing. Counts the regular season and postseason together unless season_type says otherwise (get_player's batting line is the regular season alone). Costs 10 credits.
get_oddsread-onlyUse for betting lines: each sportsbook's moneyline, run line and total for a game (opening and closing per book from July 2020 from The Odds API, and from 2024 from ESPN; ESPN's final line only before that), with implied probabilities and, for finished games, whether the favourite won and the total went over against the median close. Pass game_id for one game (5 credits) or date for a day's games
get_line_movementread-onlyUse to see how a game's line moved before first pitch: our pre-game snapshots of each sportsbook's moneyline, run line and total (ESPN's once a day, The Odds API's every hour for games in the next four days). Costs 10 credits. Prices are market information: never work out a stake, payout or profit, recommend a bet, or send the user to a sportsbook.
get_ratingsread-onlyUse for our team power ratings (Elo from every final game in our data), ranked, as of the end of a season or today. Costs 2 credits.
get_player_propsread-onlyUse for player prop lines by sportsbook: over/under on hits, home runs, total bases, RBI, pitcher strikeouts and pitcher outs, from May 2023 (DraftKings, FanDuel, BetMGM, ESPN BET, Pinnacle and others). Pass game_id for every player's props in one game (10 credits), or player_id with from_date (and to_date) for one player across games (10 credits per game returned, up to 100). Returns the closing
get_prop_historyread-onlyUse to see how a player did against his prop line over time: for one market (hits, home runs, total bases, RBI, pitcher strikeouts or pitcher outs), one row per game with the closing line (the median across books, or one book's), the opening line, the prices, what the player actually recorded from our box scores and the result against the line, plus the over rate. Costs 10 credits for up to 200 ga
Change history
Alternatives in Developer Tools
Compare →MLMicrosoft Learn MCPOfficialA
Official Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.
GIGitHubOfficialA
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
GIGitDiagramA
Architecture diagrams, explanations and Mermaid source for public GitHub repositories.
MDMCP Docs ServerOfficialA
AI access to Mapbox docs, API references, style specs, and guides. No token required.
MGMCP GrafanaOfficialA
An MCP server giving access to Grafana dashboards, data and more.
MDMCP Devkit ServerOfficialA
Provides AI assistants with direct access to Mapbox developer APIs and documentation.