mongodb

Manage MongoDB databases via the mongosh tool.

olasunkanmi-se/codebuddy1 installsMITSynced Aug 22

Works with

Claude CodeCursorCodex CLIGitHub CopilotGemini CLI
---
name: mongodb
description: Manage MongoDB databases via the mongosh tool.
license: MIT
---

# mongosh

Use `mongosh` to interact with MongoDB databases.

## Common Commands

### Connection

- Connect: `mongosh "mongodb://user:password@host:port/dbname"`

### Operations

- Show databases: `show dbs`
- Use database: `use <dbname>`
- Show collections: `show collections`
- Find documents: `db.collection.find().limit(5)`
- Insert document: `db.collection.insertOne({ key: "value" })`
- Quit: `exit`

## Notes

- Requires `mongosh` to be installed in the environment.

More Database skills

← All Database skills

Check your AI visibility

One URL in, a 0–100 score and the exact fixes out.

RUN THE CHECK

Browse all the tools

15 tools across six categories
13 of them never send your data anywhere

Free · No signup · No trial clock

SEE THE DIRECTORY