Skip to content
appsgit

MCP Mongo 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.

github.com/kiliczsh/mcp-mongo-server (opens in a new tab)

Data as of from the GitHub API; description from the project's repository. Report an error

Install MCP Mongo Server

Generated from the server's published package. Replace your-value with your own values.

Claude Desktop

claude_desktop_config.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

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

Cursor

.cursor/mcp.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
{
  "servers": {
    "mcp-mongo-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-mongo-server"
      ]
    }
  }
}

Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).

About 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.

  • claude
  • claude-desktop
  • mcp
  • model-context-protocol
  • mongo
  • mongodb
  • antrophic
  • cline
  • cursor
  • windsurf

FAQ

MCP Mongo Server FAQ

Still curious? Email info@appsgit.com.

How do I install the MCP Mongo Server MCP server?

Add the command npx -y mcp-mongo-server to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.

Is MCP Mongo Server free?

The server is open source under the MIT license, so running it is free. It does not declare any required API key.

Is MCP Mongo Server actively maintained?

The most recent commit was on Jul 29, 2026. The latest release is 3.0.1, published Jul 29, 2026. appsgit only lists MCP servers with a commit in the last six months.