Firebase Firestore

Query Firestore using natural language.

Type a question in plain English. Insight O\u2019 Mate generates the Firestore collection query, runs it locally against your Firebase project, and returns the results \u2014 no query syntax required.

How it works

01

Connect your Firebase project

Upload your Firebase service account JSON. Insight O’ Mate reads your collection structure. The file stays on your machine.

02

Ask in plain English

The NLP engine receives only your prompt and collection/field names — never your Firestore documents or field values.

03

Get results instantly

The generated Firestore query runs locally via the Admin SDK. Inspect the query, copy it, or iterate with a follow-up question.

Example queries

YOU

Show me all active users who joined in the last 30 days.

Generated Firestore query

// Generated Firestore query
const thirtyDaysAgo = new Date();
thirtyDaysAgo.setDate(thirtyDaysAgo.getDate() - 30);

const snapshot = await db
  .collection("users")
  .where("status", "==", "active")
  .where("createdAt", ">=", thirtyDaysAgo)
  .orderBy("createdAt", "desc")
  .get();
YOU

Count how many orders have a status of 'pending'.

Generated Firestore query

// Generated Firestore aggregation query
const snapshot = await db
  .collection("orders")
  .where("status", "==", "pending")
  .count()
  .get();

// snapshot.data().count gives the total
YOU

Find all blog posts tagged 'AI' ordered by publish date descending.

Generated Firestore query

// Generated Firestore query
const snapshot = await db
  .collection("posts")
  .where("tags", "array-contains", "AI")
  .orderBy("publishedAt", "desc")
  .limit(20)
  .get();

Privacy-first by design

When you ask a question, Insight O' Mate sends only your prompt and your Firestore collection and field names to the stateless NLP engine — never your documents, never your field values. The query runs locally via the Firebase Admin SDK. Nothing is stored on our servers.

Read the full security model

FAQ

Can I query Firestore using natural language?
Yes. Insight O’ Mate translates your plain-English questions into Firestore collection queries using the Firebase Admin SDK. You describe what you want and the AI generates the correct query with where clauses, orderBy, and limit.
Does Insight O’ Mate work with Firebase Firestore?
Yes. Connect your Firebase project using a service account JSON file. Insight O’ Mate reads your Firestore collection and document structure to generate accurate queries.
What Firestore operations can Insight O’ Mate generate?
Collection queries with where filters, orderBy, limit, startAfter pagination, array-contains, and aggregate count queries. It reads data — it does not generate write operations.
Is my Firestore data sent to any server?
No. Your Firestore documents and field values never leave your machine. Only your prompt and collection/field names are sent to the stateless NLP engine for query generation.
Do I need to know Firestore query syntax to use Insight O’ Mate?
No. Type your question in plain English and Insight O’ Mate generates the Firestore query. You can inspect and copy the generated query directly into your code.

Start querying Firestore in plain English

Free plan available. No credit card required.