Can Claude Code use MongoDB?

Updated October 27, 2026 · from live checks of 50,180 MCP servers · Methodology

Yes.Add it with claude mcp add --transport http. We found no official MongoDB server; the highest-rated live remote community server is Rabbitmq Elasticsearch Mongodb Stack Generator (trust grade B). Checked live on 2026-10-27.

Official MongoDB route

MongoDB runs its own MCP server.

  • In the official MCP Registry: Yes, io.github.mongodb-js/mongodb-mcp-server.

Spotted something out of date? Tell us → Live status and tools →

Built a third-party MongoDB MCP server? Get the Verified vendor label so buyers can tell yours from the other 18 ($49/mo) Get Verified →

Remote MongoDB servers

ServerPublisherStatusSign-inToolsTrust
Rabbitmq Elasticsearch Mongodb Stack Generator
Yours? Claim it
Registry domainLiveNo auth2B
Rabbitmq Postgres Mongodb Stack Generator
Yours? Claim it
Registry domainLiveNo auth2B
Elasticsearch Mongodb Redis Stack Generator Elasticsearch Elasticsearch
Yours? Claim it
Registry domainLiveNo auth2B
Memcached Mongodb Redis Compose Generator
Yours? Claim it
Registry domainLiveNo auth2B
Tenantsdb
Yours? Claim it
Registry domainLive · sign-inOAuth sign-in—C
Mongo URL Shape
Yours? Claim it
CommunityLiveNo auth31C

Local MongoDB servers

ServerPublisherStatusSign-inToolsTrust
Mongodb MCP Server
Yours? Claim it
OfficialLocal installAPI key—B
Argon
Yours? Claim it
CommunityLocal installNo auth—B
Mcpolyglot
Yours? Claim it
CommunityLocal installNo auth—C
SafeSelect MCP
Yours? Claim it
CommunityLocal installNo auth—C
Db Gateway
Yours? Claim it
CommunityLocal installAPI key—C
MCP DB Connect
Yours? Claim it
CommunityLocal installAPI key—C
Custom MCP Database
Yours? Claim it
CommunityLocal installNo auth—C
Databases (read-only, switchable)
Yours? Claim it
CommunityLocal installAPI key—C

How to add MongoDB to Claude Code

  1. Remote server: run claude mcp add --transport http <name> <url>.
  2. Local server: run claude mcp add <name> -- <command> with the install command from the server page.
  3. Run /mcp inside Claude Code to sign in.

Example for Rabbitmq Elasticsearch Mongodb Stack Generator (from the table above):

claude mcp add --transport http mongodb https://rabbitmq-elasticsearch-mongodb-stack-generator.getvda.ai/mcp

Menus change, so check Anthropic's Claude Code MCP docs. Every server page has a copy-paste config for Claude Code.

Is it safe to connect MongoDB to Claude Code?

Use the official server run by MongoDB. Anything a tool returns is sent to the AI vendor, so use a business plan that doesn't train on your data.

Can ChatGPT or Claude connect to MongoDB?

See https://canmyaiuse.pages.dev/can/chatgpt/mongodb/ and https://canmyaiuse.pages.dev/can/claude/mongodb/

Does MongoDB have an official MCP server?

Yes: Mongodb MCP Server (io.github.mongodb-js/mongodb-mcp-server), published by MongoDB in the official MCP Registry. Full list: https://canmyaiuse.pages.dev/apps/mongodb/

Put your server here

Featured placement on MongoDB and other Databases & Data pages, where people check whether their AI can connect.

Feature your server — $149/moCategory Takeover — $399/mo

Featured placements are paid and labelled. They never change rank. How we rank · How to get discovered (free guide)

Built a third-party MongoDB MCP server? Get the “Verified vendor ✓” label so buyers can tell yours from the other 18. Get Verified — $49/mo

All MongoDB servers: MongoDB MCP servers · ChatGPT · Claude · Best MCP servers for Claude Code

Try “Notion”, “Stripe”, “create invoice”, “browser”