I don't think yerba mate is good, if you want to quit with coffeine, but definitely great choice, to switch to from coffee.
There are many articles discussing health benefits of yerba mate, so I will only share my personal experience.
While coffee gives you fast kick and then it dissapears fastly, yerba mate gives you very healthy feeling of being energized (both mentally and physically) and it lasts long.
There are many ways to prepare it, but I use traditional way. I put bigger amount (5 big spoons) of it to bigger vessel (I use big cup) and fill it with water. I drink it with straw with filter. Sometimes its okay to "use" one dose of mate twice (you just fill new water, when you are finished). Even though mate is lower on caffeine than equivalent of coffee, usually it's being used much more mate, so you probably take bigger dosage of coffeine (but it feels differently, than drinking few cups of coffee).
Once I started to drink mate, I totally lost desire to drink coffee at all. I enjoy it more and effects are much better. Also I really enjoy the taste.
If you are willing to continue with coffee or drink less cups, mate is good choice. But it's still coffeine. From time to time I detox myself from coffeine and the cravings are similar, both coffee and mate.