MLB Stats

get_pitching_stats

Get season-level pitching data from FanGraphs. Args: start_season: First season to retrieve data from end_season: Final season to retrieve data from. If None, returns only start_season. league: Either "all", "nl", "al", or "mnl" qual: Minimum number of plate appearances to be included ind: 1 for individual season level, 0 for aggregate data Returns: Dictionary containing pitching stats from FanGraphs

Remote etweisberg/mlb-mcp

Other tools also called get_pitching_stats? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "ind": {
      "type": "integer",
      "title": "Ind",
      "default": 1
    },
    "qual": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Qual",
      "default": null
    },
    "league": {
      "type": "string",
      "title": "League",
      "default": "all"
    },
    "end_season": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "End Season",
      "default": null
    },
    "start_season": {
      "type": "integer",
      "title": "Start Season"
    }
  }
}