MLB Stats

get_playerid_lookup

Lookup playerIDs (MLB AM, bbref, retrosheet, FG) for a given player Args: last (str, required): Player's last name. first (str, optional): Player's first name. Defaults to None. fuzzy (bool, optional): In case of typos, returns players with names close to input. Defaults to False. Returns: pd.DataFrame: DataFrame of playerIDs, name, years played

Remote etweisberg/mlb-mcp

Other tools also called get_playerid_lookup? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "last": {
      "type": "string",
      "title": "Last"
    },
    "first": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "First",
      "default": null
    },
    "fuzzy": {
      "type": "boolean",
      "title": "Fuzzy",
      "default": false
    }
  }
}