MLB Stats

create_strike_zone_plot

Produces a pitches overlaid on a strike zone using StatCast data Args: data: (pandas.DataFrame) StatCast pandas.DataFrame of StatCast pitcher data title: (str), default = '' Optional: Title of plot colorby: (str), default = 'pitch_type' Optional: Which category to color the mark with. 'pitch_type', 'pitcher', 'description' or a column within data legend_title: (str), default = based on colorby Optional: Title for the legend annotation: (str), default = 'pitch_type' Optional: What to annotate in the marker. 'pitch_type', 'release_speed', 'effective_speed', 'launch_speed', or something else in the data

Remote etweisberg/mlb-mcp

Other tools also called create_strike_zone_plot? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "title": "Data",
      "additionalProperties": true
    },
    "title": {
      "type": "string",
      "title": "Title",
      "default": ""
    },
    "colorby": {
      "type": "string",
      "title": "Colorby",
      "default": "pitch_type"
    },
    "annotation": {
      "type": "string",
      "title": "Annotation",
      "default": "pitch_type"
    },
    "legend_title": {
      "type": "string",
      "title": "Legend Title",
      "default": ""
    }
  }
}