If interested, I created a tutorial where i integrated a python script that returns the geographic location of an IP address with a MacOS shortcut. you can then highlight an IP address anywhere in the OS, right-mouse click and request the geolocation of that IP.
https://www.byteboost.media/blog-1/b1xl6gk794wcw6muwb974prehcz4pk