BestMCPTools.org
M

MongoDB MCP

Full MongoDB access for AI agents

DatabaseOpen SourceClaudeCursorWindsurfAll ModelsModerate
4.5
Own MongoDB MCP? Boost it to the top.✦ Upgrade to Featured

How to Install MongoDB MCP

$npx mongodb-mcp-server

Requires Claude Desktop, Cursor, Windsurf, or another MCP-compatible client.

About MongoDB MCP

The official MongoDB MCP server gives AI agents read and write access to MongoDB databases — querying collections, inserting documents, running aggregations, and managing indexes. Works with MongoDB Atlas and self-hosted instances.

MongoDB MCP is a Database MCP server designed for developers, analysts, and data teams. It enables querying and managing databases from an AI assistant by exposing schema introspection and SQL execution as MCP tools. Key capabilities include schema introspection across tables and views, parameterised sql execution, read-only and read/write modes, and structured tool calls that work cleanly inside an LLM context. It integrates with Postgres, MySQL, SQLite, MongoDB, Redis, BigQuery, and Snowflake, and is best suited for developers, analysts, and data teams who need ad-hoc analytics without a bi tool.

Key Features

  • database
  • mongodb
  • nosql
  • atlas
  • Schema introspection across tables and views
  • Parameterised SQL execution

Pricing

Free
$0
  • Core MCP server
  • Community support
  • Works with any MCP client
Pro
  • Everything in Free
  • Higher usage limits
  • Priority support
Business
Custom
  • Everything in Pro
  • SLA & SSO
  • Dedicated support

Tier details are indicative — visit the MongoDB MCP website for current pricing.

Pros & Cons

Pros

  • Lets the assistant write and run real queries instead of guessing
  • Read-only mode is safe to point at production-shaped data
  • Skips most ORM and CSV-shuffling boilerplate

Cons

  • Misconfigured permissions can expose sensitive data
  • Long-running queries need explicit timeouts
  • Schema drift requires reconnecting or refreshing context

Best For

  • Ad-hoc analytics without a BI tool
  • Drafting migrations and reviewing query plans
  • Letting non-SQL teammates ask questions of a database
  • Bootstrapping internal admin workflows

Screenshots

Screenshots coming soon —

Submit yours →

Our Take on MongoDB MCP

The definitive MongoDB MCP — essential if your stack uses Atlas or any Mongo database.

4.5

Frequently Asked Questions

Tags