The MCP MongoDB Server enables large language models to interact with MongoDB databases through a standardized protocol, providing tools for schema inspection, querying, aggregation, and write operations. It offers features including configurable ObjectId handling, read-only mode for safe operations, automatic schema inference from document samples, and full support for MongoDB queries and aggregation pipelines. This server solves the problem of giving LLMs safe, structured access to MongoDB data while maintaining control over read/write permissions and query execution.
claude mcp add --transport stdio kiliczsh-mcp-mongo-server uvx mcp-mongo-server