MCP Catalogs
Home

mongodb-mcp-server vs restheart

Side-by-side comparison to help you pick between these two MCP servers.

mongodb-mcp-server
by mongodb-js
restheart
by SoftInstigate
Stars★ 1,023★ 875
30d uses
Score5554
Official
Categories
DatabaseDeveloper ToolsCloud Storage
DatabaseAI / LLM ToolsDeveloper Tools
LanguageTypeScriptJava
Last committhis monththis month

mongodb-mcp-server · Summary

MongoDB MCP Server connects to MongoDB databases and Atlas clusters, offering tools for database operations and Atlas management.

restheart · Summary

RESTHeart is a MongoDB backend that provides a native MCP server for AI agents to access data via REST and GraphQL APIs.

mongodb-mcp-server · Use cases

  • AI agents querying and analyzing MongoDB databases without direct database access
  • Automating MongoDB Atlas cluster management through MCP-enabled clients
  • Building RAG applications that can access MongoDB data as contextual resources

restheart · Use cases

  • AI agent backends for accessing MongoDB data via MCP
  • API development without boilerplate code
  • Real-time applications with WebSocket and SSE
  • Legacy modernization by adding modern APIs to existing MongoDB databases

mongodb-mcp-server · Install

Installation

Via NPM (for Claude Desktop)

{
  "mcpServers": {
    "MongoDB": {
      "command": "npx",
      "args": ["-y", "mongodb-mcp-server@latest", "--readOnly"],
      "env": {
        "MDB_MCP_CONNECTION_STRING": "mongodb://localhost:27017/myDatabase"
      }
    }
  }
}

Via Docker

{
  "mcpServers": {
    "MongoDB": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-e",
        "MDB_MCP_READ_ONLY=true",
        "-i",
        "mongodb/mongodb-mcp-server:latest"
      ]
    }
  }
}

restheart · Install

Quick Start Options

**Option 1 — RESTHeart Cloud (no install)** Sign up for the fully managed service at [cloud.restheart.com](https://cloud.restheart.com/signup)

**Option 2 — Docker Compose (local)**

curl https://raw.githubusercontent.com/SoftInstigate/restheart/master/docker-compose.yml --output docker-compose.yml && docker compose up --attach restheart

Default credentials: admin / secret

**Option 3 — Native Executables** Download prebuilt binaries for macOS, Linux, and Windows from [docs/native-executables.md](https://github.com/SoftInstigate/restheart/blob/master/docs/native-executables.md)

**Claude Desktop Setup** In Claude Desktop settings, add a custom connector with context URL: https://sophia-api.restheart.com/mcp/restheart/

**Claude Code Setup**

claude mcp add --transport http sophia-restheart https://sophia-api.restheart.com/mcp/restheart
Comparison generated from public README + GitHub signals. Last updated automatically.