Best MCP Servers for MongoDB (2026)

The best MCP servers for MongoDB — let AI agents query collections, inspect documents, and work with your NoSQL data through the Model Context Protocol.

Top 10 · ranked by installs, upvotes, stars and views · refreshed hourly

  1. Why it’s hereMost popular in this category on AllMCPs

    Manage multiple SSH servers from one MCP: command execution, file transfer/rsync, database dump/import/query (MySQL/PostgreSQL/MongoDB), backups & restore, health monitoring, persistent sessions, tunnels, ProxyJump/bastion, and opt-in per-server security modes (readonly/restricted) with audit log. Linux, macOS & Windows OpenSSH.

    Upvotes: 0Installs: 0GitHub stars: 531
    Install
  2. Why it’s hereCommunity pick

    A Model Context Protocol Server for MongoDB

    Upvotes: 0Installs: 0GitHub stars: 284
    Install
  3. Why it’s hereCommunity pick

    MongoDB Lens: Full Featured MCP Server for MongoDB Databases

    Upvotes: 0Installs: 0GitHub stars: 207
    Install
  4. Why it’s hereCommunity pick

    MCP server for Florentine.ai - Natural language to MongoDB aggregations

    Upvotes: 0Installs: 0GitHub stars: 6
    Install
  5. Why it’s hereCommunity pick

    Self-hosted workspace for browsing and querying databases (Postgres, MySQL, SQLite, MongoDB, Redis and more), with an MCP server for agents.

    Upvotes: 0Installs: 0GitHub stars: 5.1k
    Install
  6. Mongo MCP logo

    #6 Mongo MCP

    QuantGeekDev

    Why it’s hereCommunity pick

    MongoDB integration that enables LLMs to interact directly with databases.

    Upvotes: 0Installs: 0GitHub stars: 176
    Install
  7. Arcadedb logo

    #7 Arcadedb

    ArcadeData

    Why it’s hereCommunity pick

    Built-in MCP server for ArcadeDB, a multi-model database (graph, document, key-value, time-series, vector) with SQL, Cypher, Gremlin, and MongoDB QL support.

    Upvotes: 0Installs: 0GitHub stars: 1.2k
    Install
  8. Why it’s hereCommunity pick

    A Model Context Protocol server to connect to MongoDB databases and MongoDB Atlas Clusters.

    Upvotes: 0Installs: 0GitHub stars: 1.2k
    Install
  9. Anythingmcp logo

    #9 Anythingmcp

    HelpCode-ai

    Why it’s hereCommunity pick

    Self-hosted source-available MCP gateway and API-to-MCP bridge. Converts REST, SOAP/WSDL, GraphQL, and SQL/NoSQL databases (PostgreSQL, MySQL, MariaDB, MSSQL, Oracle, MongoDB, SQLite) into MCP tools — no SDK, no code. Imports OpenAPI / Postman / WSDL / GraphQL specs; bridges multiple MCP servers behind one endpoint. Ships with 29 pre-built adapters (DHL, DATEV, Weclapp, Personio, Handelsregister, Shopware 6, VIES, OpenPLZ, Bundesbank, etc.). OAuth2 (PKCE + Client Credentials), Bearer, API Key, WS-Security, TLS certs. AES-256-GCM credential encryption, full audit log, per-user MCP API keys, tool-level RBAC.

    Upvotes: 0Installs: 0GitHub stars: 756
    Install
  10. Why it’s hereCommunity pick

    One MCP server for five databases — PostgreSQL, MySQL, SQLite, MongoDB and Redis — with named connection profiles, so database passwords never enter the model's context window.

    Upvotes: 0Installs: 0GitHub stars: 1
    Install

Which MongoDB MCP server should you use?

Unlike a fixed SQL schema, MongoDB collections can hold documents with varying shapes — so a server's "inspect schema" tool is really sampling documents to infer structure. If your collections are inconsistent, expect the agent to occasionally miss a field that only exists on some documents.

Use a MongoDB user scoped to specific databases via role-based access control (`db.grantRolesToUser`) rather than an atlasAdmin/root role, and prefer a read-only role until you've seen how the agent behaves with the collections in question.

Frequently asked questions about MongoDB MCP servers

What is the best MongoDB MCP server?

This page ranks MongoDB MCP servers by real usage across the AllMCPs directory so you can start with a maintained, popular option.

Can an agent run aggregation pipelines over MCP?

Many MongoDB servers expose find and aggregate operations, so an agent can run pipelines and return results. Check each listing for the exact operations supported.

How do I limit what the agent can access?

Connect with a scoped MongoDB user restricted to specific databases or collections, and prefer read-only roles where possible.