# MCP Mongo Server (MCP server)

> MCP Mongo Server is an MCP server that lets AI assistants work with your MongoDB databases. It exposes your collections, infers their schemas, and runs queries, aggregations, and writes through a standard interface — so tools like Claude Desktop and… It has 283 GitHub stars, is released under the MIT license and runs locally with npx -y mcp-mongo-server.

A Model Context Protocol (MCP) server that lets AI assistants work with your MongoDB databases. It exposes your collections, infers their schemas, and runs queries, aggregations, and writes through a standard interface — so tools like Claude Desktop and Cursor can read and reason about your data.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/kiliczsh/mcp-mongo-server |
| GitHub stars | 283 |
| License | MIT |
| Language | TypeScript |
| Transport | stdio |
| Packages | npm: mcp-mongo-server |
| Remote URL | none |
| Needs API key | no |
| Official | no |
| Works with | Claude Desktop, Claude Code, Cursor, VS Code |
| Category | Databases |
| Latest release | 3.0.1 (Jul 29, 2026) |
| Last commit | Jul 29, 2026 |

## Install

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp-mongo-server": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-mongo-server"
      ]
    }
  }
}
```

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

### Claude Code

```sh
claude mcp add --transport stdio mcp-mongo-server -- npx -y mcp-mongo-server
```

### Cursor (.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp-mongo-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-mongo-server"
      ]
    }
  }
}
```

Project file; use ~/.cursor/mcp.json to enable it in every project.

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "mcp-mongo-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-mongo-server"
      ]
    }
  }
}
```

Config formats checked against the official docs on 2026-10-07.

## Similar MCP servers

- [Engrim](https://appsgit.com/mcp-servers/engrim): The Universal Cross-Model Episodic Memory Standard. (300 stars, MIT)
- [Uteke](https://appsgit.com/mcp-servers/uteke): 🧠 The Brain for Your AI — Local-first memory engine for AI agents. (276 stars, Apache-2.0, official)
- [MCP Neo4j Data Modeling](https://appsgit.com/mcp-servers/mcp-neo4j-data-modeling): A simple Neo4j MCP server for creating graph data models. (989 stars, MIT, official)
- [Postgres MCP](https://appsgit.com/mcp-servers/postgres-mcp): Enterprise PostgreSQL MCP server with NL queries, hybrid search (pgvector+BM25), and web UI. (241 stars, PostgreSQL, official)
- [Elasticsearch MCP Server](https://appsgit.com/mcp-servers/elasticsearch-mcp-server): MCP server for interacting with Elasticsearch. (314 stars, Apache-2.0, needs API key)
- [Crowdsentinel MCP Server](https://appsgit.com/mcp-servers/crowdsentinel-mcp-server): AI threat hunting & incident response for Elasticsearch/OpenSearch with endpoint & network forensics. (204 stars, GPL-3.0, needs API key)

---

Canonical page: https://appsgit.com/mcp-servers/mcp-mongo-server
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed daily.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
