The mongo shell makes available a rich set of shell methods that include the following categories:
| Category | Includes methods that affect ... | Examples |
| Database | ... an entire database | db.serverStatus() |
| Collections | ... a collection within a database | db.<collection_name>.find() |
| Cursor | ... a cursor (result of a query) | db.<collection_name>.find().sort() |
| User management | ... database users | db.createUser() |
| Role management | ... the ability of a user role to perform operations | db.grantPrivilegesToRole() |
| Replication | ... servers that are members of a replica set | rs.initiate() |
| Sharding | ... servers that hold fragments (shards) of a collection | sh.addShard() |
| Free monitoring | ... monitoring of your overall MongoDB deployment | db.enableFreeMonitoring() |
| Constructors | ... the production of commonly needed information | ObjectId.toString() |
| Connection | ... the connection to the MongoDB instance | Mongo.getDB() |
| Native | ... commands that give limited access... |