NewPower reliable AI agents with accurate, relevant data Read the blog >
NewBuild software faster with AI agents—without losing control Read the blog >

TOOLS

MongoDB MCP Server

The MongoDB MCP Server gives AI agents the tools they need to explore, query, and manage MongoDB deployments. Run it self-managed locally, or use the Atlas Managed MCP Server.

Read the DocsMongoDB MCP Server on GitHub
Illustration of a database producing charts.

Ship better software, faster

Automatically surface critical database context, including configurations, collection schemas, and sample data, directly to your coding agents. They’ll write more accurate MongoDB code and optimized queries while you stay in the flow.

Illustration of AI Industry
Illustration of hands typing on a laptop and a superimposed desktop window with some code on it.

Use with your favorite AI tools

The MongoDB MCP Server integrates with the coding agents and IDEs you already use, such as Cursor or Claude Code, providing the context they need to maximize efficiency.

Learn more about our connectors

Simplify development workflows

No more copy-pasting schemas or switching tools. Explore, code, and manage MongoDB deployments without leaving your development environment.

Illustration that represents task automation.
Illustration of a database with a screwdriver and a power plug, representing database setup.

Power your own agents

The MongoDB MCP Server acts as a standard plugin for any MCP-enabled environment. Build autonomous agents that can explore datasets, generate insights, and interact with MongoDB deployments.

What can you do with the MongoDB MCP Server?

Bring valuable context from MongoDB databases into development environments for data exploration, database operations, and context-aware code generation.

Connecting the MongoDB MCP Server to your AI development tools lets you use natural language to explore and manage databases while generating accurate application code.

Explore and query data
Manage databases
Generate code

View our AI plugins and connectors

The best way to access your data and manage your databases in your favorite AI tools.
ChatGPT logo

ChatGPT

ChatGPT App for MongoDB Atlas for accessing data and managing the platform.

ChatGPT logo

Codex

MongoDB Atlas (Managed MCP) and MongoDB (Self-Managed MCP) plugins for querying data and managing databases in Codex.

Claude logo

Claude

Connector for MongoDB Atlas, enabling accessing your data and managing the platform from Claude.

Claude logo

Claude Code

MongoDB Atlas (Managed MCP) and MongoDB (Self-Managed MCP) plugins for querying data and managing databases in Claude Code.

Cursor logo

Cursor

MongoDB Atlas (Managed MCP) and MongoDB (Self-Managed MCP) plugins for querying data and managing databases in Cursor.

Learn more
Grok logo

Grok Build

Plugin for MongoDB Atlas that lets Grok access Atlas data and manage the platform natively.

Learn more
Devin logo

Devin

Plugin for MongoDB Atlas that lets your autonomous agent query and manage Atlas seamlessly.

Learn more

MongoDB MCP Server use cases

View all use cases
illustration of hands holding binoculars
DEVELOPMENT

Interact with your data in natural language

Explore and manage databases using natural language directly in your development environment to build faster and more easily.

Ship software faster
DEVELOPMENT

Ship software faster

 

The MongoDB MCP Server enables coding agents to query and manage data, helping them iterate faster and build application features more reliably.

Illustration eines Roboters, der AI-Anwendungen darstellt.
AGENTS

Power agentic systems

 

Integrate the MongoDB MCP Server with your agentic systems so they can explore and query MongoDB deployments effectively.

Learning hub

Quick and easy resources to start building with the MongoDB MCP Server.
general_action_read

Use the MongoDB MCP Server

Follow a step-by-step guide to get started with the MongoDB MCP Server.

Access the docs
general_action_best_practices

Learn about best practices

Learn more about configuring and best practices when deploying the MongoDB MCP Server.

Access GitHub repository
general_content_community

MongoDB Developer Community

Ask questions, share ideas, get support, and connect with other developers through our global community of MongoDB users.

Join now

FAQ

Get started with the MongoDB MCP Server

Supercharge your coding agents with database context.
Read the DocsView on GitHub
WHY USE MCP SERVER?
  • Ship better software, faster
  • Works with your favorite AI tools
  • Simplified development workflows