I love my garden, but the first cup's for me! ;-)
I see the grounds as a byproduct of making my cup of coffee. My research and experience suggests they are better used directly on the garden than composted, which is certainly better than having them carted off to a landfill.
If the soil needs amending, then there are most likely better products at a lower cost pound-for-pound than using fresh coffee.