MongoDB (official)

Key facts

Score
100/100
Tools
27
Token estimate
approx. 14,362 tokens
Auth
No key needed for the tools we called
Tool calls
Pass: 2 of 2 real calls passed (2026-11-10 UTC)
Functional tasks
not rated
Local-model runs
not rated
Last tested
2026-11-10 UTC on version 3.3.0
Low-token sort
#12 of 12 in Databases · #848 of 927 overall

From our recorded tests only. not rated = we have no recorded data for that field. Tool calls are direct calls with no model in the loop; functional tasks and local-model runs are separate, smaller test sets and are not scored. Evidence for each line is below (what we tested · methodology).

100/100
Last tested 2026-11-10 UTC (Fresh: tested within 30 days) Working (tool call tested 2026-11-10 UTC) No key needed for the tools we called

No advisories in range for tested 3.3.0 (checked 2026-11-23 UTC)

Security review: not tested

Score = points from our five tests (install, handshake, maintenance, docs, license). Not a quality or security rating. Methodology

  • Install20/20
  • Handshake30/30
  • Maintenance25/25
  • Docs15/15
  • License10/10

Tool-call test (2026-11-10 UTC, direct MCP stdio client, no LLM): pass. 2 of 2 real function calls passed in the 2026-11-10 UTC stale retest. Evidence: local test run, Nov 10, 2026 UTC.

Transport (tested 2026-10-22 UTC): stdio

Tested version: 3.3.0 · tested 2026-11-10 UTC

Token cost (estimate): approx. 14362 tokens, cl100k estimate (27 tools, measured 2026-11-12 UTC, version 3.3.0). This is an estimate from our testing of the tool names, descriptions and input schemas, counted with cl100k_base.

Permissions: 18 read, 9 write (state-changing), 0 unclassified · Auth: none · Rate limit: unknown · Pricing unit: unknown

Auth: none. Rate limit: unknown. Pricing unit: unknown.

  • aggregate — read
  • aggregate-db — read
  • collection-indexes — read
  • collection-schema — read
  • collection-storage-size — read
  • connect — read
  • count — read
  • create-collection — write (state-changing)
  • create-index — write (state-changing)
  • db-stats — read
  • delete-many — write (state-changing)
  • disconnect — read
  • drop-collection — write (state-changing)
  • drop-database — write (state-changing)
  • drop-index — write (state-changing)
  • explain — read
  • export — read
  • find — read
  • insert-many — write (state-changing)
  • list-collections — read
  • list-connections — read
  • list-databases — read
  • list-knowledge-sources — read
  • mongodb-logs — read
  • rename-collection — write (state-changing)
  • search-knowledge — read
  • update-many — write (state-changing)

handshake and tools listed without a recorded key or OAuth

Score 100/100 · Tools 27 · Token cost approx. 14,362 tokens · Compare · Last tested 2026-11-10 UTC · Version tested 3.3.0 · Package mongodb-mcp-server · Repo mongodb-js/mongodb-mcp-server

Summary: MongoDB (official) completed an MCP handshake without credentials and exposed 27 tools.

Evidence summary

Handshake
pass
Tools listed
27
Context cost
approx. 14362 tokens, cl100k estimate (27 tools, measured 2026-11-12 UTC, version 3.3.0; an estimate) ranking · add up your servers' context cost
API key
No key needed for the tools we called
Tested
2026-11-10 UTC

Test results

TestResultPointsEvidence
installpass20npm install mongodb-mcp-server --ignore-scripts (Node v24.22.1, Linux) succeeded in 14s.
handshakepass30MCP initialize + tools/list over stdio succeeded with no credentials; 27 tools listed in 8.6s.
maintenancepass25Repo pushed 0 days before test; 1,160 GitHub stars.
docspass15README over 3,000 chars; install instructions present; mcpServers config example present. Check of the package's own README (README shipped in npm package).
licensepass10Apache-2.0 (OSI-approved).

Local-model readiness

Token cost (estimate): approx. 14362 tokens, cl100k estimate for 27 tools · about 175% of an 8k context. This is an estimate from our testing (counted with cl100k_base).

Small-model friendly (schema heuristic, not a model result): medium.

Not tested

Small-model task runs: Not yet tested.

What we tested and what we didn't

Tested on 2026-11-10 UTC

  • Install from the registry
  • We connected with no credentials and asked for its tool list: it listed 27 tools (Method details: MCP initialize then tools/list)
  • Maintenance signals (last push, archived/deprecated status)
  • Docs (README length, install and config example)
  • License (OSI-approved or not)
  • Tool-call test: 2 of 2 passed (2026-11-10 UTC)
  • Token cost (estimate)

Not tested

  • Security: not audited (no code review, no permission or data-flow analysis)
  • Real tasks (no functional task runs yet)
  • Behaviour with real credentials or a real account
  • Performance, rate limits or load
  • Correctness of results beyond the listed tasks
  • Small local-model task runs (not run for this server)

Methodology: how we test. A high score means it installs and responds, not that giving it access to your data carries no risk.

Known security issues

Checked on 2026-11-23 UTC for version 3.3.0 against OSV, GitHub advisories direct lookup: not finished yet (OSV already includes GitHub advisories), GitHub repository advisories. Scope: the package itself; dependencies not scanned.

No published advisories found in OSV and GitHub advisories for mongodb-mcp-server 3.3.0 as of 2026-11-23 UTC. This is not a security audit.

⚠ Check is out of date.

Monthly roundup: MCP security issues, October 2026.

Tool list changes

Unchanged since the previous snapshot (latest 2026-11-14 UTC).

Note: tool list can depend on the connected database, so changes are annotated, not flagged automatically.

Snapshot hash (fingerprint of the tool list)

7d905e7ac280: SHA-256 of the canonical tool names, descriptions and input schemas. If it changes, the tool list changed.

Feeds: RSS · JSON.

Raw test record (JSON)
{
  "name": "mongodb-mcp-server",
  "version": "3.3.0",
  "registry": "npm",
  "status": "working",
  "tested": "2026-11-10",
  "tools_count": 27,
  "deprecated": false,
  "archived": false,
  "tests": {
    "install": [
      "pass",
      20,
      "`npm install mongodb-mcp-server --ignore-scripts` (Node v24.22.1, Linux) succeeded in 14s."
    ],
    "handshake": [
      "pass",
      30,
      "MCP `initialize` + `tools/list` over stdio succeeded with no credentials; 27 tools listed in 8.6s."
    ],
    "maintenance": [
      "pass",
      25,
      "Repo pushed 0 days before test; 1,160 GitHub stars."
    ],
    "docs": [
      "pass",
      15,
      "README over 3,000 chars; install instructions present; `mcpServers` config example present. Check of the package's own README (README shipped in npm package)."
    ],
    "license": [
      "pass",
      10,
      "Apache-2.0 (OSI-approved)."
    ]
  },
  "testedAt": "2026-11-10T23:13:49.071Z"
}

Install

npx -y mongodb-mcp-server

Pin the version we tested

npx -y mongodb-mcp-server@3.3.0

tested 2026-11-10 UTC. Newer versions may differ and were not tested by us. This package has an install script or a native dependency.

{
  "mcpServers": {
    "mongodb-official": {
      "command": "npx",
      "args": [
        "-y",
        "mongodb-mcp-server@3.3.0"
      ]
    }
  }
}

Tools listed

aggregate, aggregate-db, collection-indexes, collection-schema, collection-storage-size, connect, count, create-collection, create-index, db-stats, delete-many, disconnect, drop-collection, drop-database, drop-index, explain, export, find, insert-many, list-collections, list-connections, list-databases, list-knowledge-sources, mongodb-logs, rename-collection, search-knowledge, update-many

Tool history: captured Nov 14, 2026 UTC. All tool history.

Quick config

{
  "mcpServers": {
    "mongodb-official": {
      "command": "npx",
      "args": [
        "-y",
        "mongodb-mcp-server"
      ]
    }
  }
}

Add to config Opens the config generator with this server selected.

Setup

  1. Install. Run npm install mongodb-mcp-server --ignore-scripts (Node v24.22.1). This is the exact command we ran on 2026-11-10 UTC.
  2. Configure. Add the mcpServers entry below to your MCP client config.
  3. Verify. Restart the client and check that tools/list returns tools (27 in our test).
{
  "mcpServers": {
    "mongodb-official": {
      "command": "npx",
      "args": [
        "-y",
        "mongodb-mcp-server"
      ]
    }
  }
}

Test history

Follow this server (RSS) · Monthly changelog

Related: Best database MCP servers

FAQ

Is MongoDB deprecated?

No. MongoDB was not deprecated or archived when we last tested it on 2026-11-10 UTC.

What replaces MongoDB?

Nothing; MongoDB (official) is not deprecated as of 2026-11-10 UTC.

Does MongoDB need an API key?

No. It completed an MCP handshake with no credentials and listed 27 tools.

Embed the badge

TestedMCP: 100/100, tested 2026-11-10 UTC

Every tested server gets a free embeddable badge. It shows the current score and test date and expires after 90 days. Testing is free; payment never changes a score.

Claim this listing · Report an issue