Join us at MongoDB.local London on 7 May to unlock new possibilities for your data. Use WEB50 to save 50%.
Register now >
Docs Menu
Docs Home
/

MongoDB with Claude

You can use MongoDB with Claude Code through the official MongoDB Claude Plugin.

The MongoDB Claude Plugin provides:

  • The MongoDB MCP Server

  • Pre-built agent skills for common MongoDB tasks. See the MongoDB Agent Skills documentation for more information.

The MongoDB Claude Plugin is available in the official Claude Plugin Marketplace. Install it in one of the following ways, depending on your preferred workflow.

Run the following command in your terminal to install the MongoDB Claude Plugin:

claude plugin install mongodb@claude-plugins-official

Tip

You can also run this command in your Claude Code Desktop app.

After installing the plugin, you must configure the MCP Server before using any agent skills or functionality that connects to MongoDB.

  1. Open a Claude Code CLI session.

  2. Run the following command to install the MongoDB Claude Plugin:

    /plugin install mongodb@claude-plugins-official
  3. Follow the prompts to complete the installation.

  4. Run /reload-plugins to apply the changes.

After installing the plugin, you must configure the MCP Server before using any agent skills or functionality that connects to MongoDB.

The MongoDB Claude Plugin bundles the MongoDB MCP Server. To configure the MCP Server, see MongoDB MCP Server Get Started.

Back

Agent Skills

On this page