Quote from the code author on that PR link:
“Data is pulled from MSFS’s METAR API which I datamined from the game files (no in-game weather SDK functions at the moment). Routed through a Google Cloud API because direct requests from a locally hosted file are prevented because of CORS rules that MSFS set on their server”