← Leaderboard

MongoDB

Rank 3 of 21Domain: databasemongodb-mcp-server@3.2.220 validated tasks · 5 held out

MongoDB ranks 3 of 21 ranked MCP servers, with a row score of 98.3% (92–99%). Success rate by agent over 20 tasks: Claude Code 100% (92–100%), Codex 95% (84–98%), OpenCode 100% (92–100%). Mean ignore rate 1% (0–8%): the share of should-call trials with no call to the server before the answer. 20 validated tasks (5 held out), 3 trials per task and agent; run 2026-10-29 to 2026-10-30.

Its row

The same row as on the leaderboard. Click a cell to see its outcomes and diagnostics.

MongoDB: rank, success rate per harness with 95% intervals, row score and ignore rate
RankServerDomainClaude Codesuccess rateCodexsuccess rateOpenCodesuccess rateRow scoremean of 3 · 95% intervalIgnore ratemean of 3
3
MongoDB
v3.2.2
database
98.3%(92–99%)
1%0–8%

Results by task shape and harness

Task shape × harness

Success rate for each task shape on each harness. Stronger violet is higher, and a dash means the shape doesn't apply or the harness can't connect.

Why tasks fail

How each harness's scored trials ended. The strongest violet is grounded correct.

  • Grounded correct
  • Ignored the result
  • Answered from memory
  • Used a built-in
  • Wrong tool or bad args
  • False call
  • No answer
  • Excluded

Harness differences on this server

Difference in success between two harnesses on the same tasks, with 95% intervals. Two harnesses can be told apart only when the interval excludes 0 and at least 3 tasks differ in the same direction.

How we ran it

MongoDB's official server, connected for each trial to a seeded database of its own on a shared MongoDB instance. It ran read-write because the write tasks need insert-many and update-many, and the trial user owns only its own database. The Atlas tools were off because there are no cloud credentials, and the MongoDB Assistant tools, which query knowledge.mongodb.com, were off so that every answer comes from the trial database. Agents saw 25 tools, and mongodb-logs answers 'not authorized' because reading logs needs cluster privileges.

Package
mongodb-mcp-server @ 3.2.2
Publisher
MongoDB
Links
npmSource
Docker
mongo:8.0.30
Launch command (stdio)
MDB_MCP_TELEMETRY=disabled \
MDB_MCP_DISABLED_TOOLS=atlas,atlas-local,search-knowledge,list-knowledge-sources \
MDB_MCP_LOGGERS=stderr \
npx -y mongodb-mcp-server@3.2.2 <uri> \
  --exportsPath <exports>

<…> parts are filled in per trial.

Setup command (once)
npx -y mongodb-mcp-server@3.2.2 --version

Tasks

Public vs held-out tasks

−2.2 pts95% interval −7.7 to +17.9 pts

Success on public tasks minus success on held-out tasks, averaged over the harnesses. 5 of the 20 validated tasks are held out, so nobody can tune tool descriptions to their prompts. Their 45 trials are scored, but their prompts and transcripts are never published. The interval crosses 0, so there is no detectable gap.

Task validation

Each task version is validated once, with three checks. The first two run 2 trials per harness, and a third only when those two disagree. Told which tool to use, it must pass 2 trials on at least one harness, so it is solvable. Without the server, it must fail 2 trials on every harness, so it can't be answered from memory. When we swap a value in the server's data, the answer must change with it, so we know the answer came from the server. Tasks that fail a check are rewritten or removed and never scored.

Validation status per task for MongoDB
TaskShapeStatusTold which tool (passed)No server (correct)Reason
mongodb.chain.1 v1Two-step chainValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
mongodb.chain.1 v2Two-step chainValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
mongodb.chain.2 v1Two-step chainValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
mongodb.chain.2 v2Two-step chainValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
mongodb.collision.1 v1Built-in collisionValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
mongodb.collision.1 v2Built-in collisionValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
mongodb.collision.2 v1Built-in collisionValidatedClaude Code 2/2, Codex 0/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
mongodb.collision.2 v2Built-in collisionValidatedClaude Code 2/2, Codex 1/3, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
mongodb.error_recovery.1 v1Error recoveryValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
mongodb.error_recovery.1 v2Error recoveryValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
mongodb.lookup.1 v1Look up by identifierValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
mongodb.lookup.1 v2Look up by identifierValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
mongodb.lookup.3 v1Look up by identifierValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
mongodb.lookup.3 v2Look up by identifierValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
mongodb.lookup.4 v1Look up by identifierValidatedClaude Code 2/2, Codex 0/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
mongodb.lookup.4 v2Look up by identifierValidatedClaude Code 2/2, Codex 1/3, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
mongodb.search.1 v1Search or filterValidatedClaude Code 2/2, Codex 2/3, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
mongodb.search.1 v2Search or filterValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
mongodb.search.2 v1Search or filterValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
mongodb.search.2 v2Search or filterValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
mongodb.search.4 v1Search or filterValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
mongodb.search.4 v2Search or filterValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
mongodb.should_not_call.1 v1Should not callValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Passed all three checks
mongodb.should_not_call.1 v2Should not callValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Passed all three checks
mongodb.write.1 v1Write, then verifyValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
mongodb.write.1 v2Write, then verifyValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
mongodb.write.2 v1Write, then verifyValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
mongodb.write.2 v2Write, then verifyValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
mongodb.write.3 v1Write, then verifyValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
mongodb.write.3 v2Write, then verifyValidatedClaude Code 2/2, Codex 2/3, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
10 held-out tasks10 validated, 0 dropped. Held-out task names and prompts stay private.

Run this suite in your CI

This server's tasks are M3 tests in tests/servers/mongodb/. The command runs them with the same harness versions and models as this server's cells, on m3 0.3.2, and the workflow runs it on every pull request. Held-out tasks are not included.

M3 command
m3 test --runtime managed \
  --harness claude_code@2.1.312=claude-haiku-5-5 \
  --harness codex@0.165.0=gpt-6-luna \
  --harness opencode@1.19.5=anthropic/claude-haiku-5-5 \
  --trials 3 \
  -- tests/servers/mongodb
README badge (Markdown)
[![Agent success on MongoDB: 98%](https://img.shields.io/badge/agent%20success-98%25-4a3ca5)](https://m3.sineframe.com/leaderboard/server/mongodb/)
GitHub Actions workflow
name: MCP agent tests
on: [pull_request]
jobs:
  m3:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: astral-sh/setup-uv@v6
      - name: Run the MongoDB MCP Agent Usability suite
        env:
          ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
          OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
        run: |
          uvx --from sf-m3-cli==0.3.2 m3 test --runtime managed \
            --harness claude_code@2.1.312=claude-haiku-5-5 \
            --harness codex@0.165.0=gpt-6-luna \
            --harness opencode@1.19.5=anthropic/claude-haiku-5-5 \
            --trials 3 \
            -- tests/servers/mongodb