Terminal-native MongoDB workspace

The MongoDB terminal, finally grown up.

Mongrove turns an SSH session into a calm place to explore databases, shape queries, and inspect BSON documents without leaving the server.

$ pipx install mongrove
  • SSH-ready
  • Keyboard complete
  • BSON-aware
mongrove -- production/app.orders READ ONLY
COLLECTIONapp.orders
42,891 docs~
{ "status": "paid" }
25 shown | page 1 | 18 ms | sort: createdAt -1
_idcustomertotal
66f7...3c8Alex Morgan$124.00
66f7...3d1Mina Park$84.50
66f7...3e2Sam Wilson$212.10
66f7...3f4Jordan Lee$46.00
66f7...405Priya Shah$71.25

JSON VIEWER

{
  "_id": { "$oid": "66f7...3c8" },
  "customer": "Alex Morgan",
  "status": "paid",
  "total": 124.0,
  "items": ["keyboard", "cable"]
}
Tab to focus / PgDn to scroll
Everything you need to orient yourself. Nothing you do not.

Compass is great. A remote server is not a desktop.

MongoDB explorer / terminal first / no browser required

The workflow

Stay in the question, not the syntax.

Mongrove holds the context that a raw shell session makes you reconstruct by hand.

  1. 01

    Find your place

    Connect, see the deployment, expand the database tree, and open the collection you actually need.

    mongrove --profile production
  2. 02

    Ask a precise question

    Use JSON or Extended JSON filters, then refine results with projection, sort, collation, skip, limit, and max time.

    { "status": "active" }
  3. 03

    Read the whole document

    Keep the query visible while you move through results and open a scrollable BSON-aware inspector for the details.

    Tab -> PgDn -> inspect

A small surface, serious controls

Made for servers that do not have a GUI.

The first release is deliberately read-only. It is built for safe exploration: bounded pages, clear query timing, server-side timeouts, and local profiles that strip URI credentials before saving.

Read the product plan
01
Keyboard first

Every route has a shortcut, focus state, and visible fallback when mouse reporting is unavailable.

02
Bounded by design

Result pages fetch only what the UI needs. Exact counts happen only when you ask for them.

03
BSON stays BSON

ObjectIds, nested documents, dates, and other values are rendered as Extended JSON, not flattened guesses.

04
Production aware

Read-only mode is visible in the workspace while MongoDB roles remain the real permission boundary.

Theme for the terminal you have

Quiet at 2 AM. Clear at noon.

Use Ctrl + T in Mongrove to select a saved theme. The ANSI choices stay readable on constrained terminal emulators.

Grove NightCtrl+T

FILTER

{ "region": "eu-west" }
_idcustomerstatus
66f7...3c8Alex Morganactive
66f7...3d1Mina Parkactive

Start where your database already is

Keep the terminal. Gain the workspace.

Install Mongrove from PyPI, then point it at the deployment in front of you.

$ pipx install mongrove
$ mongrove --read-only
mongrove.oss.brahmai.in