Free toolGenerate .mcp.json configs for Claude Code, Cursor & Codex →
MongoDB logo

MongoDB for AI coding agents

Database · www.mongodb.com

Claude Code fit
5/5
Visit site →

Official Anthropic-marketplace plugin with MCP server + 8 skills.

Official Claude plugin for MongoDB (MCP Server + Skills). Connect to databases, explore data, manage collections, optimize queries, generate reliable code, implement best practices, develop advanced features, and more.

Who MongoDB is for

MongoDB is a document database: your data lives as JSON-like documents instead of rows and columns, so your app code and your database speak the same shape. Atlas is the managed cloud version, and it fits teams building web apps, APIs, and AI features who want flexible schemas and built-in vector search without operating a database server.

Not for: apps with strict relational data and heavy joins, or teams that want a fixed monthly price.

Pricing

PlanPriceWhat you get
Free (M0)$0 forever512 MB storage, shared RAM and vCPU, 1 free cluster per project; no backups
Flex$0.011/hr, $8 to $30 per month5 GB storage, shared compute, up to 500 operations per second
Dedicated M10$0.08/hr, about $57 per month10 GB storage, 2 GB RAM, 2 vCPUs; the entry production tier
Enterprise AdvancedCustomSelf-managed MongoDB with Ops Manager, Kubernetes Operator, enterprise security

Prices checked Nov 15, 2026 on the official pricing page. Clusters are billed hourly and invoiced monthly. Storage beyond the default, backups, and data transfer cost extra.

Setup and integrations

  • Claude Code: /plugin install mongodb@claude-plugins-official. It ships 8 skills for schema work, queries, and indexes.
  • Atlas Managed MCP Server at https://mcp.mongodb.com is hosted by MongoDB, with OAuth and no server for you to run.
  • Local MCP Server runs on your machine for self-managed deployments such as Community Edition.
  • Drivers for Node.js, Python, Go, Java, C#, and Rust. Manage clusters from the Atlas dashboard, CLI, or Admin API.

Pros and limitations

Pros

  • Free M0 cluster costs nothing forever and needs no credit card.
  • The document model fits JSON data without a migration for every schema change.
  • Atlas Vector Search is built in, so RAG apps need no separate vector database.
  • The official MCP server lets agents explore schemas, run queries, and suggest indexes in plain language.

Limitations

  • Free cluster caps at 512 MB, 100 ops per second, and 500 connections, and pauses after 30 days idle.
  • No backups exist on the free tier, so it is not a production database.
  • Hourly, usage-based pricing grows with cluster size, storage, backups, and transfer, so it is easy to under-budget.
  • Dedicated clusters start near $57 a month, and the next tier up costs 2.5 times more.

Alternatives

Pick Supabase for relational data with Postgres, auth, and realtime. Pick Neon for serverless Postgres with database branching. Pick Convex for a realtime backend with sync built in. Compare MongoDB vs Supabase, and read our guide on adding an MCP server to any coding agent.

Builder's Verdict

MongoDB Atlas is the pragmatic default for document data with vector search built in. The free tier is honest, but production pricing is hourly and usage-based, so model your real workload first.

How MongoDB works in each agent

Scores appear only after we verify them, with a source and date. Methodology

AgentScoreMCPRemote / OAuthSkill / pluginVerified
C Claude Code 5/5 Yes Unknown Yes Oct 16, 2026
X OpenAI Codex Not verified.
▲ Cursor Not verified.
G GitHub Copilot Not verified.
A Google Antigravity Not verified.

Setup by agent

Claude Code
/plugin install mongodb@claude-plugins-official

Source: https://code.claude.com/docs/en/discover-plugins

Trust: Official Listed in Anthropic's official plugin marketplace

Evidence

Bundled skills (8)

mongodb-atlas-stream-processingmongodb-connectionmongodb-mcp-setupmongodb-natural-language-queryingmongodb-qe-size-estimationmongodb-query-optimizermongodb-schema-designmongodb-search-and-ai

Checked plugin files at https://github.com/mongodb/agent-skills/tree/HEAD/plugins/mongodb (.mcp.json / plugin.json mcpServers; skills/*/SKILL.md), Oct 16 2026

Claude Code support

Plugin
Yes
Official marketplace
Yes
MCP server
Yes
Skills
Yes · 8