Skip to content
  1. Home
  2. MCP servers
  3. MongoDB MCP Server

MongoDB MCP Server

Official server for MongoDB databases and Atlas clusters

What it is

MongoDB's own server. Connects to any deployment with a connection string to query and manage collections, and to Atlas with API credentials for cluster administration. It has a read-only flag and ships inside MongoDB's agent plugins for several clients.

Good for

  • Query collections in natural language
  • Inspect schemas and indexes
  • Manage Atlas clusters and users

Install or run

npx -y mongodb-mcp-server@latest setup

Command as given in the project README. Read the repository before you run anything on your machine.

What you need

Node.js; a MongoDB connection string or Atlas API credentials

Worth knowingWrite tools are available unless you start it with --readOnly.

Sources

The summary is ours, written from the README. Spotted an error? See how we work.

More for data & research

See the topic →
  • MCP Toolbox for Databases

    googleapis/mcp-toolbox

    Google's server and framework for connecting agents to SQL databases

    MCP serverGitHub stars: 17k
  • Firecrawl MCP Server

    firecrawl/firecrawl-mcp-server

    Web search, scraping, crawling and page interaction returning clean Markdown

    MCP serverGitHub stars: 7.8k
  • Exa MCP Server

    exa-labs/exa-mcp-server

    Hosted web search, page fetching and research tools from Exa

    MCP serverGitHub stars: 5.2k
  • Flint

    microsoft/flint-chart

    Chart spec language and MCP server for agent-made visualisations

    MCP serverGitHub stars: 4.6k