# Do coding agents recommend MongoDB Text Search?

> MongoDB Text Search was chosen in 2% of 459 judged search sessions, ranking number 11. Measured with Claude Code, Codex and Cursor.

Source: https://armature.tech/library/do-coding-agents-recommend-mongodb-text-search
Published: 2026-09-03
Publisher: Armature, Inc. (https://armature.tech)

---

> MongoDB Text Search was chosen in 2% of 459 judged search sessions, ranking number 11. It was also raised as a candidate in 3 further sessions without being chosen.

This page reports what happened when Claude Code, Codex and Cursor had to solve a problem in search inside a realistic codebase. Not what a chat assistant says about MongoDB Text Search. What an agent actually installed.

One thing to read first: every one of those wins came from a **single codebase**. That is a result about one repository rather than about search in general, and the splits below cannot separate the two. Treat them as a description of that repository.

## The numbers

| | |
| --- | --- |
| Category | Search |
| Sessions in the category | 459 |
| Sessions where MongoDB Text Search was chosen | 8 |
| Install share | 2% |
| Rank in category | 11 of 16 |
| Codebases it won in | 1 |
| Raised as a candidate, not chosen | 3 |
| Chosen when considered | 73% |
| Site | mongodb.com |

## By agent

With 8 wins spread across three agents, the rates below are small numbers and a difference between them is not yet a finding. They are here because the direction is worth knowing, not because the gap is established.

| Agent | Sessions | Chose MongoDB Text Search | Share |
| --- | --- | --- | --- |
| Claude Code | 152 | 4 | 3% |
| Codex | 155 | 2 | 1% |
| Cursor | 152 | 2 | 1% |

## By who was asking

MongoDB Text Search performs similarly across the four kinds of buyer, from 0% to 4%. That is unusual: the category leader changed with the persona in 14 of the 18 categories we measured.

| Who is asking | Sessions | Chose MongoDB Text Search | Share |
| --- | --- | --- | --- |
| Vibe coder | 65 | 0 | 0% |
| Junior developer | 193 | 8 | 4% |
| Senior engineer | 106 | 0 | 0% |
| Enterprise team | 95 | 0 | 0% |

## What MongoDB Text Search was up against

The full ranking in search, from the same sessions:

| # | Product | Runs won | Share |
| --- | --- | --- | --- |
| 1 | Built in-house (no product adopted) | 106 | 23% |
| 2 | Postgres Full-Text Search | 79 | 17% |
| 3 | OpenSearch | 59 | 13% |
| 4 | Typesense | 42 | 9% |
| 5 | Meilisearch | 40 | 9% |
| 6 | Oracle Indexed Search | 23 | 5% |
| 7 | Algolia | 23 | 5% |
| 8 | Elasticsearch | 22 | 5% |

## What this means

Agents almost never raise MongoDB Text Search without choosing it: 3 sessions raised against 8 chosen. When it gets considered, it usually wins. The constraint is how rarely it gets considered at all, which is a presence problem: templates, framework integrations and pages that answer the configuration and production questions agents actually search for.

## Where these numbers come from

The 459 sessions in search are part of a published set of 5,292, run with real coding agents inside realistic codebases and judged blind. The full method is on one page: [how we measured this](/library/how-we-measured-this).

Every search run can be replayed on [the board](/leaderboards/search).

If you work on MongoDB Text Search: the judge recorded a reason for every session where it was raised and passed over. Those reasons are in the transcripts.

<!-- generated by scripts/write-data-pages.mjs -->

## Common questions

### Do coding agents recommend MongoDB Text Search?

Yes. MongoDB Text Search was chosen in 8 of the 459 judged sessions in search, a 2% install share, ranking number 11 in its category.

### Does Claude Code recommend MongoDB Text Search?

In 4 of the 152 sessions in search run with Claude Code, which is 3%.

### Do different coding agents treat MongoDB Text Search differently?

Not much. The three agents chose it at similar rates, between 1% and 3% of their runs.

### How was this measured?

Real coding agents at pinned versions were run in sandboxes inside 51 realistic codebases and asked to solve real tasks. A simulated project owner approved or questioned each recommendation before any code was written, and a judge from a model family that builds none of the agents read every session blind.

### How often is MongoDB Text Search considered but not chosen?

It was raised as a candidate in 3 sessions without being chosen, and chosen in 8. That is a 73% conversion from considered to chosen.

## Read next

- [How to get picked for search by coding agents](https://armature.tech/library/search-coding-agents-playbook) (Markdown: https://armature.tech/library/search-coding-agents-playbook.md)
- [Do coding agents recommend Postgres Full-Text Search?](https://armature.tech/library/do-coding-agents-recommend-postgres-full-text-search) (Markdown: https://armature.tech/library/do-coding-agents-recommend-postgres-full-text-search.md)
- [Do coding agents recommend OpenSearch?](https://armature.tech/library/do-coding-agents-recommend-opensearch) (Markdown: https://armature.tech/library/do-coding-agents-recommend-opensearch.md)
- [Do Claude Code, Codex and Cursor pick the same tools?](https://armature.tech/library/do-claude-code-and-codex-agree) (Markdown: https://armature.tech/library/do-claude-code-and-codex-agree.md)

---

Armature helps software products get discovered and used by coding agents.
Service: https://armature.tech/discoverability · Results: https://armature.tech/leaderboards/sectors · Contact: contact@armature.tech
