Skip to content
MCP server

FastballAPI

MLB pitch-by-pitch data, plate appearances, box scores and sportsbook props

Install
Pricing
Freemium
Platforms
API, Web
Runs
Remotely
Version
1.1.6
Listing updated
1 day ago

About FastballAPI

FastballAPI is a freemium MCP server for sports data. It runs as a hosted remote server, so there is nothing to install locally.

Every pitch since 2018 is recorded with type, velocity, location and result, and 2015 to 2017 cover roughly 98 to 99 percent of pitches. Each plate appearance carries base-out state, the batted ball, win probability and RE24, which supports spray charts and pitch-mix questions such as whiff rate by pitch type.

Sportsbook data covers moneylines, run lines and totals by book, with opening and closing lines since July 2020 and line movement snapshots. Prop lines for hits, home runs, total bases, RBI and pitcher strikeouts begin in May 2023, with results against each line. NCAA Division I games are included where covered, without pitch tools or injuries.

The server needs a key to call tools; 500 free credits a month, no card.

Install

Run in a terminal

claude mcp add --transport http fastballapi https://mcp.fastballapi.com/mcp

Add to Settings → Connectors → Add custom connector

https://mcp.fastballapi.com/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "fastballapi": {
      "url": "https://mcp.fastballapi.com/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "fastballapi": {
      "type": "http",
      "url": "https://mcp.fastballapi.com/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "fastballapi": {
      "serverUrl": "https://mcp.fastballapi.com/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "fastballapi": {
      "type": "http",
      "url": "https://mcp.fastballapi.com/mcp"
    }
  }
}

Tools this server provides (20)

Taken from the project documentation; the running server may differ.

list_teams
Teams for a season
search_players
Find players
get_games
Games by season or team
get_schedule
Upcoming games
get_standings
Standings with Pythagorean record
get_injuries
Injury report
get_ratings
Team Elo
get_game
One game in detail
get_player
Season batting and pitching
get_player_games
Game log
get_leaders
Season leaders
get_team_stats
Team batting and pitching
get_pitch_mix
A pitcher's arsenal
get_odds
Moneyline, run line and total
get_plate_appearances
Plate-appearance play-by-play
get_pitches
Pitch-by-pitch data
get_spray_chart
Batted ball locations
get_line_movement
Line snapshots
get_player_props
Player prop lines
get_prop_history
Props against results

What it does

Pitch-by-pitch
Count, type, velocity, location and result.
Plate appearances
Base-out state, batted ball and RE24.
Spray charts
Where a batter or team hits the ball.
Odds and movement
Per-book lines with pre-game snapshots.
Prop history
Prop lines against outcomes.
College baseball
Selected NCAA Division I games.

Good for

  • Check a pitcher's whiff rate by pitch
  • Chart a batter's spray pattern
  • Compare a strikeout prop to real results
  • Build run-value models

Pricing

Freemium, from $19 a month

500 free credits a month; Starter $19/mo (10,000), Pro $49/mo (30,000), Scale $149/mo (125,000)

FastballAPI FAQ

Since when is pitch data available?

Every pitch from 2018; 2015 to 2017 are about 98 to 99 percent complete.

Does it include college?

Some Division I games, without pitch tools.

How many tools?

Twenty.

What does it cost?

500 free credits a month; plans from $19.

Is FastballAPI free?

FastballAPI has a free plan, with paid plans for more usage or features. Paid plans start at $19 a month.

How do I add FastballAPI to Claude Code?

Run this command in your terminal: claude mcp add --transport http fastballapi https://mcp.fastballapi.com/mcp

What are the best alternatives to FastballAPI?

The closest alternatives to FastballAPI are Agent-Native Analytics, Google Ads + Meta Ads + SEO/GEO MCP, Tapetide - Indian Stock Market MCP, World Monitor and CompanyData.

Alternatives to FastballAPI

  1. Open-source analytics app where an AI agent builds charts and dashboards from your data

    • Remote
    • Open source
    • 7.7K GitHub stars
    • Analytics and data
  2. Hosted MCP connector for managing Google Ads, Meta Ads, GA4 and Search Console from chat

    • 8 tools
    • Remote
    • Freemium
    • 8.1K GitHub stars
    • Marketing and SEO
  3. Indian NSE and BSE stock market data for AI assistants through 48 MCP tools

    • 17 tools
    • Remote
    • Freemium
    • 150 GitHub stars
    • Finance and payments
  4. World Monitor

    MCP server

    Live geopolitical intelligence dashboard with an API and MCP server for agents

    • Remote
    • Freemium
    • Analytics and data
  5. CompanyData

    MCP server

    Search and enrich company records from official registers via the CompanyData API

    • 3 tools
    • Remote
    • Paid
    • 3 GitHub stars
    • Analytics and data
  6. ChartAnt

    MCP server

    Remote MCP server returning charts, maps and dashboards as hosted PNG links

    • 51 tools
    • Remote
    • Freemium
    • Design and media