The mongo shell is an interactive JavaScript interface to MongoDB. You can use the mongo shell to query and update data as well as perform administrative operations. Note. The following document pertains to the mongo shell included in the MongoDB Server Download.