mcp-mongodb

mcp-mongodb

3.2

If you are the rightful owner of mcp-mongodb and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Context Protocol server that provides read access to MongoDB databases. This server enables LLMs to interact with MongoDB collections and execute read queries.

The MongoDB Model Context Protocol (MCP) server is designed to facilitate seamless interaction between Language Learning Models (LLMs) and MongoDB databases. By providing read access to MongoDB collections, this server allows LLMs to execute queries and retrieve data efficiently. The server supports various operations such as querying documents, finding single documents, executing aggregation pipelines, listing collections, and retrieving collection information. This makes it an essential tool for applications that require dynamic data retrieval from MongoDB databases. The server is built to be robust and flexible, ensuring that it can handle a wide range of query types and data structures. It is particularly useful for developers looking to integrate MongoDB data access into their LLM-driven applications, providing a straightforward and efficient way to manage and query data.

Features

  • Query documents in a MongoDB collection using the 'find' tool.
  • Retrieve a single document with the 'findOne' tool.
  • Execute complex data operations with the 'aggregate' tool.
  • List all collections in the database using 'listCollections'.
  • Get detailed information about specific collections with 'getCollectionInfo'.

Tools

  1. find

    Query documents in a MongoDB collection

  2. findOne

    Find a single document in a collection

  3. aggregate

    Execute an aggregation pipeline

  4. listCollections

    List all collections in the database

  5. getCollectionInfo

    Get information about a specific collection