MC21 for Mac supports ALAC, FLAC, and many, many other audio and video formats. *Almost* any format you can name.
You can rip to FLAC and other formats with MC. I have limited experience with that part of MC for Mac.
For all of these things you should download the 30 day trial, install it, and try it. That way you can be sure it will work the way you expect it to and do the things you want. If you have questions, post here and we'll try to help.
Brian.