Skip to main content
Glama

FastballAPI

Server Details

MLB since 2015 plus college: pitches, plate appearances, box scores, odds by book. REST and MCP.

Ownership verified
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
noahowsh/fastballapi-mcp
GitHub Stars
0
Server Listing
FastballAPI MCP Server
ChatGPT
FastballAPI
Claude
–

TDQS

A3.9/5.0

Scored across 23 tools

Disambiguation4/5

Tools mostly map to unique resource/action pairs, with clear separation between game summaries, player stats, pitch data, and team data. The main ambiguity is the cluster of betting tools—get_odds, get_market_odds, get_alt_lines, get_line_movement, and get_schedule—where an agent must rely on descriptions to choose correctly; get_game/get_games and the prop tools are also close but separable.

Naming Consistency5/5

Almost all tools follow a get_<noun> pattern, with list_teams and search_players as conventional lookup exceptions. The convention is predictable and readable despite some long compound names.

Tool Count3/5

23 tools is heavy for a typical agent surface and sits in the borderline 16-25 range. The breadth of baseball stats, betting lines, props, and pitch data justifies many tools, but consolidation could reduce selection burden.

Completeness4/5

The surface covers the core read-only lifecycle for baseball data: teams, players, games, schedules, standings, injuries, leaders, pitch/PA data, odds, props, and ratings. Minor gaps remain, such as rosters/transactions or venue/weather context, but agents can generally work around them.

Available Tools

23 tools
get_alt_linesAlt linesA
Read-onlyIdempotent
Inspect

Use for alternate run lines and totals by sportsbook: every point on each book's ladder with its price (e.g. -2.5 at +190, over 9.5 at +140), for one game. Held for MLB games from the 2023 season on, from five books (DraftKings, FanDuel, BetMGM, Bovada, Pinnacle). Games before Nov 12 2026 were captured once shortly before first pitch, so their opening and closing ladders are the same; from Nov 12 2026 upcoming games are captured up to three times a day before the start. Games not yet priced have none. Returns each book's closing ladder by default (its last before the start) or its opening one. side is home or away for run lines (point is that side's run line) and over or under for totals. For the main line use get_odds. 10 credits. Prices are market information; no tool places, accepts or tracks wagers.

Inputs: game_id (required), league, market, bookmaker, +1 more. Returns: note, count, lines, league, +2 more

get_gameGameA
Read-onlyIdempotent
Inspect

Use 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; no tool places, accepts or tracks wagers.

Inputs: game_id (required), league. Returns: game, odds, batting, pitching, +2 more

get_gamesGamesA
Read-onlyIdempotent
Inspect

Use 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.

Inputs: to, date, from, team, +6 more. Returns: count, games, next_offset

get_injuriesInjuriesA
Read-onlyIdempotent
Inspect

Use 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.

Inputs: date, team. Returns: date, note, count, injuries

get_leadersLeadersA
Read-onlyIdempotent
Inspect

Use 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.

Inputs: stat (required), limit, league, min_ip, +2 more. Returns: stat, count, season, leaders, +1 more

get_line_movementLine movementA
Read-onlyIdempotent
Inspect

Use to see how a game's line moved before first pitch: our pre-game snapshots of each sportsbook's moneyline, run line and total (captured once a day, and every hour for games in the next four days). Costs 10 credits. Prices are market information; no tool places, accepts or tracks wagers.

Inputs: game_id (required), league, provider, all_snapshots. Returns: game, note, movement, snapshots

get_market_oddsMarket oddsA
Read-onlyIdempotent
Inspect

Use for the extra betting markets of a game as history: the first 5 innings winner, run line and total, and the 1st inning total and three-way result (the 1st inning total at 0.5 is the no-run-first-inning market). Pass game_id (from get_games or get_schedule) and market. For each sportsbook it returns the opening line (the first one we captured) and the closing line (the last one before the game started), each as the list of outcomes with their point and American price, plus captured_at and minutes_before_start (negative when the last capture came after our scheduled start, which the sportsbooks' listed start can run past). Most books were captured once, so opening and closing are often the same line. Held from May 2023 for the larger sportsbooks only (the 1st inning three-way result from October 2023); not every game has every market. Each game's lines are added the morning after it is played. Costs 10 credits a call; a game with no lines is refunded. Set estimate_only to get the price without being charged. For the full-game moneyline, spread and total use get_odds. Prices are market information; no tool places, accepts or tracks wagers.

Inputs: market (required), game_id (required), bookmaker, estimate_only. Returns: note, tool, books, count, +6 more

get_oddsOddsB
Read-onlyIdempotent
Inspect

Use for betting lines: each sportsbook's moneyline, run line and total for a game (opening and closing per book from July 2020; before that, each book's final pregame line only), 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 (10 credits). Prices are market information; no tool places, accepts or tracks wagers.

Inputs: date, league, game_id. Returns: note, tool, count, games, +2 more

get_pitchesPitchesA
Read-onlyIdempotent
Inspect

Use 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. Velocity is whole mph as published, cut down rather than rounded (95.8 reads 95), so averages run about half a mile per hour under Statcast's. Costs 10 credits.

Inputs: limit, offset, season, game_id, +3 more. Returns: note, count, pitches, next_offset

get_pitch_mixPitch mixA
Read-onlyIdempotent
Inspect

Use for a pitcher's arsenal in a season: each pitch type's usage, average and top velocity, whiff rate per swing and ball rate. Velocities come from whole-mph readings cut down rather than rounded, so the averages run about half a mile per hour under Statcast's. Costs 5 credits.

Inputs: pitcher_id (required), season, season_type. Returns: mix, note, count, season, +2 more

get_plate_appearancesPlate appearancesA
Read-onlyIdempotent
Inspect

Use 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 home win probability after (our model, every plate appearance since 2015) and our run value (RE24). Filter by result, inning or runners in scoring position. Costs 10 credits.

Inputs: risp, team, limit, inning, +8 more. Returns: count, next_offset, plate_appearances

get_playerPlayerA
Read-onlyIdempotent
Inspect

Use 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.

Inputs: player_id (required), league. Returns: note, player, batting, pitching

get_player_gamesPlayer gamesA
Read-onlyIdempotent
Inspect

Use for a player's game log: every game's batting line and pitching line, newest first, optionally one season. Costs 5 credits.

Inputs: player_id (required), limit, league, offset, +2 more. Returns: count, batting, pitching, player_id, +1 more

get_player_propsPlayer propsA
Read-onlyIdempotent
Inspect

Use 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, or player_id with from_date (and to_date) for one player across games (up to 100). A game costs 10 credits before it starts and 20 once it has (accounts opened before October 30 2026 pay 10 for every game). Returns the closing line by default (the last before the game starts) or the opening line, with each book's over and under prices. Each row has captured_at, scheduled_start and minutes_before_scheduled_start (negative when captured after the scheduled start); a row is kept when it was captured before the sportsbooks' listed start, which in the NBA is usually about 10 minutes after the scheduled one, so filter on minutes_before_scheduled_start > 0 for a strictly before-schedule backtest. Outside football the archive mostly holds one pre-game capture per line, so the opening and closing lines are usually the same; the opening line differs only where a second capture was taken (live capture from October 2026, and wherever else it is held). Set estimate_only to get the price without being charged. Prices are market information; no tool places, accepts or tracks wagers.

Inputs: market, game_id, to_date, bookmaker, +4 more. Returns: note, tool, count, games, +6 more

get_prop_historyProp historyA
Read-onlyIdempotent
Inspect

Use 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 same as the close wherever only one capture was taken), the prices, what the player actually recorded from our box scores and the result against the line, plus the over rate, up to 200 games a call. Costs 10 credits for every 25 games already played that a call covers, and at least 10 a call (accounts opened before November 1 2026 pay 10 a call). Set estimate_only to get the price without being charged. Prices are market information; no tool places, accepts or tracks wagers.

Inputs: market (required), player_id (required), limit, to_date, +3 more. Returns: note, stat, tool, count, +10 more

get_prop_movementProp movementA
Read-onlyIdempotent
Inspect

Use to see how one player's prop line moved before a game: every capture we hold, book by book and oldest first, with the line, both prices and the minutes before the start. line_change is the last capture's line minus the first's. The number of captures varies by game and book. Costs 10 credits. Prices are market information; no tool places, accepts or tracks wagers.

Inputs: market (required), game_id (required), player_id (required), bookmaker. Returns: note, tool, books, count, +6 more

get_ratingsRatingsA
Read-onlyIdempotent
Inspect

Use 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.

Inputs: league, season. Returns: count, method, season, ratings

get_scheduleScheduleA
Read-onlyIdempotent
Inspect

Use 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; no tool places, accepts or tracks wagers.

Inputs: days, team, league. Returns: days, count, games

get_spray_chartSpray chartA
Read-onlyIdempotent
Inspect

Use 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.

Inputs: team, season, batter_id, season_type, +1 more. Returns: balls, season, by_field, balls_note, +2 more

get_standingsStandingsA
Read-onlyIdempotent
Inspect

Use 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.

Inputs: league, season. Returns: note, count, season, standings

get_team_statsTeam statsA
Read-onlyIdempotent
Inspect

Use 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.

Inputs: team, league, season. Returns: count, teams, method, season

list_teamsList teamsA
Read-onlyIdempotent
Inspect

Use 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.

Inputs: league, season. Returns: count, teams, season

search_playersSearch playersA
Read-onlyIdempotent
Inspect

Use to find a player's id by name (partial names work). Costs 1 credit.

Inputs: name (required), limit, league. Returns: note, count, players

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Public read-only MCP server exposing today's free sports-betting projections, track record, methodology, engine versions, and per-game model reads from the Olympus Bets Analytics platform.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Live sports betting player props MCP server covering NBA, MLB, NFL, NHL, NCAA, and soccer. Unified from real sportsbooks into one REST API and a real MCP server (Streamable HTTP). Free tier, no card required.
      5
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Provides MCP clients with sportsbook prices and pick'em lines across DraftKings, FanDuel, BetRivers, PrizePicks, Underdog and Pick6, including capture times and line history. Two tools work without an account, with the remainder requiring a free API key.
      9
      506 npm
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Props-first sports odds API with a hosted MCP server. Live odds and player props (moneyline, spreads, totals) across US sportsbooks, normalized to JSON. Tools: get_odds, get_props, get_events, get_books. API-key auth, free tier.
      MIT No Attribution
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.