MongoScope

Introduction

Orient yourself to MongoScope — a terminal UI for MongoDB slow queries, live ops, replication, indexes, and logs

MongoScope is a terminal UI for inspecting MongoDB slow queries, live operations, replication, indexes, and logs. Use it when you need a local TTY workflow against log files, system.profile, or a live connection — not a browser dashboard.

It is built with Bun and OpenTUI.

Who this is for

  • Operators and developers who already work in a terminal
  • People debugging slow queries from MongoDB log files or a live profile
  • Teams that need a quick view of currentOp, replica-set health, indexes, or recent server logs

What you can do

Dashboard tabs (1–5, or Tab / Shift+Tab):

TabJob
Slow QueriesAggregate patterns from a log file or live system.profile; History (early vs late) on static logs
Live OpsWatch currentOp, collection top, and kill an operation
ReplicationInspect topology, oplog window, lag, heartbeats, and elections
IndexesInventory indexes, builds, and suggested keys from Slow Queries
LogsTail a log file or poll the server getLog buffer

Requirements

  • A real interactive TTY — do not pipe stdout
  • For static analysis: a readable MongoDB log file
  • For live tabs: a reachable MongoDB and a selected connection

Start here

  1. Install the binary — Installation
  2. Open the dashboard — Getting started
  3. Add a live connection when you need Live Ops, Replication, or Indexes — Connections

On this page