Getting Info from other Servers?

So I have made a custom server list for a server, where you can type !servers and a list of their servers pops up and you can connect to them.
However, I want to something to it, I want to make it so I can write which map and/or how many players are on that server at the current time. What is the best way to go about this, because right now I have no idea!

Thanks in advance :slight_smile:

Either using sockets or MySQL.