# MongoDB MCP Server

> Installs the official MongoDB Node.js driver and verifies package integrity for building MongoDB-backed applications.

- Skill: `agentskillexchange/mongodb-mcp-server` (Agent Skill)
- Install (CLI): `npx skillmds add agentskillexchange/mongodb-mcp-server`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/mongodb-mcp-server/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Data & Analytics, SQL & Databases
- Tags: Database Driver, Mongodb, Nodejs, Npm
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-08-22
- Page: https://skillmd.com/skills/agentskillexchange/mongodb-mcp-server

---


# MongoDB MCP Server



## Installation

Use the upstream install or setup path that matches your environment:
- npm view mongodb@vX.Y.Z dist.tarball
- npm install mongodb
- npm install -D @types/node
- npm init -y

Requirements and caveats from upstream:
- # MongoDB Node.js Driver
- The official [MongoDB](https://www.mongodb.com/) driver for Node.js.
- **Upgrading to version 7? Take a look at our [upgrade guide here](https://github.com/mongodb/node-mongodb-native/blob/HEAD/etc/notes/CHANGES_7.0.0.md)!**

Basic usage or getting-started notes:
- To verify the integrity of the downloaded package, run the following command:
- After you've created your own project using npm init, you can run:
- bash

- Source: https://github.com/mongodb/node-mongodb-native
- Extracted from upstream docs: https://raw.githubusercontent.com/mongodb/node-mongodb-native/HEAD/README.md

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/mongodb-mcp-server/)

