Mongodb.test is a project mainly written in Ruby, it's free.
Simple example of MapReduce http://www.mongodb.org/display/DOCS/MapReduce