mcp-server-mongo

mcp-server-mongo

3.3

If you are the rightful owner of mcp-server-mongo 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.

This is an MCP server that provides tools for querying MongoDB data.

The MCP Server with MongoDB Integration is designed to facilitate seamless interaction with MongoDB databases through a model context protocol. It allows users to query MongoDB collections and list available collections in a specified database. The server is configured to connect to a MongoDB instance running locally by default, but connection details can be customized via environment variables. This server is particularly useful for developers and data analysts who need to perform database operations programmatically. The setup process involves installing necessary dependencies and configuring the MongoDB connection. Once set up, the server can be run to provide access to its tools, which include querying collections with specific filters and listing all collections in the database.

Features

  • Seamless integration with MongoDB for data querying.
  • Configurable connection settings via environment variables.
  • Tools for querying collections and listing all collections in a database.
  • Default connection to MongoDB at mongodb: //localhost:27017.
  • Easy setup and dependency management using uv.

Tools

  1. query_mongodb

    Query a MongoDB collection with a filter.

  2. list_collections

    List all collections in the database.