A simple UDP program can do this.
I made one for querying server status last year, I dont have it on me, but the query string in udp is the following. Fantastic Memory I have.... Lol
\\xFE\\xFD\\x00\\xE9\\x49\\x04\\x05\\x14\\x01\\x0B\\x01\\x05\\x08\\x0A\\x33\\x34\\x35\\x13\\x04\\x36\\x37\\x38\\x39\\x14\\x3A\\x3B\\x3C\\x3D\\x00\\x00
Send this to your server, on the game port, and via UDP, and the response you get, should be all the gamespy info deliminated by \\x00. Doing a String Explode, will split it up, so you get all the info you need.
If you want, I can try to make a simple wee application that can do what you want.
Ya dont mind if I brand it though? Lol