Agent Switchboard

MongoDB MCP

by MongoDB

Official listing: built and published by MongoDB. More from MongoDB

Official MongoDB MCP server. AI agents query, analyze, and manage MongoDB databases with schema inspection, aggregation pipelines, and Atlas Vector Search support.

Use it now

Keep it with up to 9 other tools you're setting up, then share them all as one link.

Try this first

Ask your assistant, with MongoDB MCP connected:

  • Database Query

    Use MongoDB MCP to execute MongoDB find queries and aggregation pipelines against any collection: ‹what you need›

  • Schema Inspection

    Use MongoDB MCP to inspect collection schemas: ‹what you need›

  • Atlas Vector Search

    Use MongoDB MCP to run semantic similarity searches: ‹what you need›

Connect it over MCP

Cursor and other MCP clients
{
  "mcpServers": {
    "mongodb-mcp": {
      "url": "https://mcp.mongodb.com"
    }
  }
}
Claude Code
claude mcp add --transport http mongodb-mcp https://mcp.mongodb.com
Or run it on your computer
npx -y mongodb-mcp-server@latest --readOnly

In Grok, ChatGPT and other assistants, add a custom connector with the address https://mcp.mongodb.com (how, step by step).

It may ask you to sign in to MongoDB or for a key when you add it; the setup guide says which.

Setup guide: mongodb.com/docs/mcp-server/get-started

Compare

Press Compare to add it to the tray at the bottom of the window, then pick up to 2 others anywhere on the site.

Access
MCP
Auth
API Key
Skills
3

Skills

  • Database Query

    Execute MongoDB find queries and aggregation pipelines against any collection via MCP tools

  • Schema Inspection

    Inspect collection schemas and index configurations to understand data structure before querying

  • Atlas Vector Search

    Run semantic similarity searches using MongoDB Atlas Vector Search for RAG pipeline integration

Data & Analyticsmcpmongodbnosqlschema-inspectionaggregationatlas-vector-searchofficial
Visit Agent
mongodb-mcp
Official MongoDB MCP server. AI agents query, analyze, and manage MongoDB databases with schema inspection, aggregation pipelines, and Atlas Vector Search support.
try this first
Ask your assistant, with MongoDB MCP connected:
Use MongoDB MCP to execute MongoDB find queries and aggregation pipelines against any collection: ‹what you need›db-query
Use MongoDB MCP to inspect collection schemas: ‹what you need›schema-inspect
Use MongoDB MCP to run semantic similarity searches: ‹what you need›vector-search
use it now
npx -y mongodb-mcp-server@latest --readOnlymcp.command
{"mcpServers":{"mongodb-mcp":{"url":"https://mcp.mongodb.com"}}}mcp.config
claude mcp add --transport http mongodb-mcp https://mcp.mongodb.commcp.claude-code
fields
nameMongoDB MCP
providerMongoDB
urlhttps://github.com/mongodb-js/mongodb-mcp-server
categoriesdata-analytics
accessmcp
authapiKey
streamingfalse
pushfalse
verifiedtrue
officialtrue · MongoDB
sponsoredfalse
tagsmcp, mongodb, nosql, schema-inspection, aggregation, atlas-vector-search, official
skills
db-queryDatabase QueryExecute MongoDB find queries and aggregation pipelines …
schema-inspectSchema InspectionInspect collection schemas and index configurations to …
vector-searchAtlas Vector SearchRun semantic similarity searches using MongoDB Atlas Ve…
alternatives
/agents/mongodb-mcp/alternatives8 listedplanetscale-mcp, neon-mcp, ai-for-database
compare
/compare?a=mongodb-mcp&b=planetscale-mcp&c=neon-mcpwith planetscale-mcp, neon-mcp