maximuszeng/mongodb-mcp-legacy
MCP server for legacy MongoDB (3.2+) — connect old MongoDB to Claude Code, Codex, Cursor and other AI tools
[](https://www.npmjs.com/package/mongodb-mcp-legacy) [](LICENSE) [](https://nodejs.org/)
A Model Context Protocol (MCP) server for old MongoDB versions (3.2+) that the official MongoDB MCP Server does not support. Works with Claude Code, Codex, Cursor, and any MCP-compatible client.
The official mongodb-mcp-server uses a modern MongoDB Node.js driver that does not work with MongoDB 3.x or 4.x. If you're running a legacy MongoDB instance (3.2 -- 4.x) and want to connect it to AI tools like Claude Code or Cursor via MCP, you're stuck.
mongodb-mcp-legacy solves this by using the mongodb@3.7.4 driver, which supports MongoDB 3.2 and above.
| | mongodb-mcp-legacy | Official mongodb-mcp-server | | ---------------- | ------------------ | --------------------------- | | MongoDB version | 3.2+ | 6.0+ (modern driver) | | Node.js version | >= 16 | >= 20.19 | | Operations | Read-only | Read / Write / Atlas API | | Setup complexity | Zero config | Multiple config options |
MONGODB_URI and goLoading reviews...