MongoDB · Read-only

Chat with your MongoDB
in plain English

Connect a MongoDB database with a read-only user and ask questions the way you'd ask an analyst. wuup reads your schema, writes the query, runs it with a guard that blocks every write, and answers with a chart or table built from the rows it got back.

Revenue by month this year, without cancelled orders

wuupfrom orders.aggregate

September was the strongest month at ₹47,095 across 2 orders, up from ₹12,999 in August. October so far has ₹32,496 from 1 pending order.

Revenue (₹)

built from returned rows

0k26k53kAug47kSepOct

Sources

1 cited

  • 1shop.orders3 rows returned
1 query used
Break September down by cityWhich products drove September?
Illustrative answer with sample data. Logo: /logos/mongodb.svg

Illustrative answer on sample data. Your answers use your own MongoDB.

maximum returned by any one query, so answers stay fast
100rows
time limit on every query wuup runs
10s
that write data or run server-side code, always blocked
8operators

Connect MongoDB
in four steps

No pipelines to build and no data to copy. wuup reads what it needs, when you ask.

  1. 1

    Create a read-only user

    Give wuup a MongoDB user with the read role on one database. It never needs more.

  2. 2

    Paste the connection string

    Choose which collections wuup may query. Anything outside that scope is refused.

  3. 3

    wuup scans the schema

    Field names and types are sampled automatically, and sensitive fields like passwords and tokens are redacted.

  4. 4

    Ask in plain English

    Get a streamed answer, a chart or table from real rows, and the exact query behind it.

Questions people ask
on day one

Real questions you can type as they are. wuup works out the query for you.

  • 01What was revenue by month this year, excluding cancelled orders?
  • 02Which 10 customers spent the most in the last 90 days?
  • 03How many orders are stuck in pending for more than 3 days?
  • 04What's our average order value by payment method?
  • 05Which products sold out last week and are still listed?
  • 06Show daily signups for the last 30 days as a chart
  • 07Which support tickets have waited longest for a first reply?
  • 08Compare this month's order count with last month's
Ask your own question

See it. Check it.
Trust it.

What happens between your question and the answer.

Answers grounded in your real schema

wuup samples each collection in scope and learns field names, types and nested shapes before it writes a query, so it uses createdAt, not a guessed created_at, and compares ObjectIds as ObjectIds.

shop.orders

Schema scanned

Fields

sampled automatically

FieldTypePresent
_idObjectId100%
customerIdObjectId100%
statusstring100%
items[].skustring100%
totalnumber100%
createdAtdate100%
couponCodestring | null40%
password_hashhiddenredacted
  • Fields, types and nesting sampled
  • ObjectIds and dates typed correctly
  • Sensitive fields redacted

Every query shown in full

Each answer lists the queries used. Open one to read the exact filter or pipeline, copy it into mongosh, or check how a number was produced.

Top 5 customers by order value this year.

wuupfrom 1 query on orders

Meera Textiles leads with ₹6.4L across 38 orders 1. The top five make up 19% of revenue this year.

Queries usedread-only5 rows · 41 ms
db.orders.aggregate([
  { $match: { status: "paid", createdAt: { $gte: ISODate("2026-01-01") } } },
  { $group: { _id: "$customerId", total: { $sum: "$amount" } } },
  { $sort: { total: -1 } },
  { $limit: 5 }
])

Rows returned

5 rows

CustomerOrdersTotal
Meera Textiles38₹6.4L
Kaveri Foods29₹5.1L
Northline Labs22₹4.7L
  • Every find and aggregate listed
  • Copy into mongosh or Compass
  • Checked by the read-only guard

Charts and tables from returned rows

Visuals are drawn from the documents MongoDB actually returned, never from numbers the model wrote. If the result was capped, the answer says so.

Plot weekly signups against activations since July.

wuupfrom 1 query on users

Signups grew 2.1x over 14 weeks 1, but activation lagged after week 9, when the new onboarding shipped. The gap is now 38% of signups.

Signups vs activations, weekly

users · since 1 Jul

Signups Activations
0246493W1W3W5W7W9W11W13W14

Signups, W14

448

Activated

278

Activation rate

62%

1 query used
  • Bar, line and table views
  • Built from returned rows
  • Capped results are flagged

Follow-ups and clarifying questions

Ambiguous questions get a short clarifying question first. Every answer ends with follow-up suggestions so you can drill down without retyping context.

How many active users do we have?

wuupneeds one detail first

Which event counts as active?

Any eventPurchasePage view
Weekly active users insteadSplit by plan
  • Asks before guessing
  • Suggested follow-ups
  • Context kept across turns

Built to read,
never to write

Security and privacy

What's enforced

Every query passes a guard that allows only read stages and refuses $out, $merge, $where and $function before anything reaches your database.

  • Read-only by designRead onlyEnforced
  • Scoped to what you chooseYour scopeEnforced

Your data, your rules

Fields named like password, token, secret, api_key or card_number are redacted from what the model sees, at any depth.

Sensitive fields hiddenApplies to every questionDefault
Database access
Read-only user
Writes and server JS
Blocked
Sensitive fields
Redacted
Connection string
Encrypted at rest
Rows per query
Up to 100
How wuup keeps data safe

Honest limits

What this connector doesn't do today, so there are no surprises.

MongoDB: good to know

  • Each query returns at most 100 rows and 50 KB, so wuup aggregates in the database rather than pulling raw data.
  • Queries time out after 10 seconds and run without allowDiskUse, so a huge unindexed $group or $sort can fail. Add an index or narrow the question.
  • Your database must be reachable from the internet (for example MongoDB Atlas with wuup allowed in Network Access). Private and local addresses are refused.
  • $lookup, $graphLookup and $unionWith only work between collections you enabled in the same database.
  • wuup answers questions; it does not modify data, create indexes or run admin commands.

Go further

Free tools to try now, guides to read, and how wuup compares.

Questions,
answered

Your MongoDB has answers.
Start asking.