MongoDB · official

MongoDB

Query MongoDB and Atlas clusters in plain language.

MongoDB's official skill lets the assistant explore collections, run queries and aggregations, and inspect schemas — against a local MongoDB or an Atlas cluster. Connection string instead of API key; start with a read-only database user.

Install MongoDB

You need: an AI app that supports skills (pick yours above) · Node.js (LTS) — one-time install from nodejs.org. Check with `node -v` in a terminal. · An API key (MDB_MCP_CONNECTION_STRING) — free tier available, get it at https://www.mongodb.com/atlas

Open Settings → Developer → Edit Config in Claude Desktop (this opens claude_desktop_config.json) and merge this block, then fully restart the app:

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

Before saving, replace YOUR_MDB_MCP_CONNECTION_STRING with your key from MongoDB Atlas (connection string) (free tier).

Vendor
MongoDB
Category
Databases
API key
MDB_MCP_CONNECTION_STRING
Source

FAQ

What is the MongoDB skill?
MongoDB's official skill lets the assistant explore collections, run queries and aggregations, and inspect schemas — against a local MongoDB or an Atlas cluster. Connection string instead of API key; start with a read-only database user.
How do I install MongoDB in Claude Desktop?
Open Settings → Developer → Edit Config in Claude Desktop and add a mongodb entry under mcpServers (the install widget on this page generates the exact block). Fully restart the app afterwards. Local skills run on Node.js — install the LTS version from nodejs.org once.
Does MongoDB need an API key?
Yes — MDB_MCP_CONNECTION_STRING (free tier available, from https://www.mongodb.com/atlas). The install widget shows where to put it.
Which apps can use MongoDB?
MongoDB works with Claude Desktop, Claude Code, Cursor, VS Code — any app that supports the Model Context Protocol (MCP).
Is my site ready for AI agents like the ones using MongoDB?
Run a free check at https://agentics.page — it audits whether your robots.txt allows the right bots, whether you publish llms.txt and JSON-LD, and whether AI agents can actually consume your site.

Is your domain ready for AI agents?

Assistants equipped with skills like MongoDB are already visiting your site. agentics checks whether they can read, find, and trust your domain — free, no signup.

Run free check →

Related skills