MongoDB MCP Server
MongoDB's official server for querying and managing MongoDB databases and Atlas clusters.
- Last checked
- Nov 22, 2026
- Listed
- Nov 22, 2026
Install & connect
Third-party code: read it before you run it. HPSILab reviewed this guide but does not operate this server.
Install by client
claude mcp add mongodb-mcp-server -- npx -y mongodb-mcp-server
Some servers need extra arguments or environment variables (keys, paths): check the official guide below.
Generated by HPSILab from this listing's endpoint and package, in each client's documented format. The official guide decides arguments, keys and versions.
Official guide
# From the official README: https://github.com/mongodb-js/mongodb-mcp-server
# Guided setup
npx -y mongodb-mcp-server@latest setup
# Manual, read-only
{
"mcpServers": {
"MongoDB": {
"command": "npx",
"args": ["-y", "mongodb-mcp-server@latest", "--readOnly"],
"env": { "MDB_MCP_CONNECTION_STRING": "mongodb://localhost:27017/myDatabase" }
}
}
}Links
More Data & Databases MCP servers
- Airtable MCP Server
Read and write Airtable bases, tables and records, and inspect their schemas, from an AI client.
- Confluent MCP Server
Manage Confluent Cloud Kafka topics, connectors and Flink SQL for streaming data in natural language.
- InfluxDB 3 MCP Server
Query and write time-series data in InfluxDB 3 — a fit for market ticks, metrics and sensor data.
- Couchbase MCP Server
Query and manage data in Couchbase clusters with SQL++ from an AI client.
- Neo4j MCP Servers
Neo4j's servers for running Cypher queries, inspecting graph schemas and storing agent memory in a graph.
- Upstash MCP Server
Manage Upstash Redis databases in natural language: create databases, run commands and inspect usage.