MongoDB MCP Server

MongoDB MCP Server

mongo-db-mcp•byprashantsedhain

A Model Context Protocol server for MongoDB that exposes a query tool for retrieving data from collections.

License: Not specified•Runtime: Awaiting documentation review•Category: databases storage

WHAT IT DOES

  • •Connects to a MongoDB database using a connection string and exposes database querying capabilities over MCP.
  • •Provides a query tool to retrieve data from collections, supporting read-only transactions only.
  • •Includes a client application for interacting with the server and utilities for connection and transaction management.

BEST FOR

  • •Querying MongoDB collections through MCP-enabled local integrations and command line tools.
  • •Read-only data retrieval from local or cloud-based MongoDB databases.

ABOUT MONGO-DB-MCP

MongoDB MCP Server is cataloged as an MCP server attributed to prashantsedhain. A Model Context Protocol server for MongoDB that exposes a query tool for retrieving data from collections. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MongoDB MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does this server support write operations?

No, it currently only supports read-only transactions.

What tool does the server provide?

It provides a query tool to retrieve data from collections.

What MongoDB deployments are supported?

Local or cloud-based MongoDB databases can be used.

Upstream README

View this exact version on GitHub

README.md · 9a59aa7cb91f · Fetched 2026-11-13 10:42:08 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

MongoDB MCP Server

A Model Context Protocol (MCP) server for MongoDB that allows querying MongoDB collections through a simple interface for local integrations and command line tools.

Overview

This project implements an MCP server that connects to MongoDB and provides a query tool to retrieve data from collections. It currently only supports read-only transactions. Project includes:

  • A MongoDB MCP server that exposes database querying capabilities
  • A client application for interacting with the server
  • Utilities for MongoDB connection and transaction management

Prerequisites

  • Node.js (v16 or higher)
  • npm
  • MongoDB database (local or cloud-based)

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/mongo-db-mcp.git
    cd mongo-db-mcp
    
  2. Install dependencies:

    npm install
    
  3. Create a .env file in the root directory with your MongoDB connection string:

    MONGO_CONNECTION_STRING=your_mongodb_connection_string
    

Building the Project

Build the TypeScript code:

npm run build

Running the client

node dist/client/client.js dist/index.js

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MongoDB MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mongo-db-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related databases storage MCP Servers

Alternative and complementary servers in the same category

View all in databases storage →
AIStor MCP server
mcp-server-aistor•minio

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

Repository stats unavailable
Databases & Storage
InfluxDB v2 MCP Server
influxdb-mcp-server•idoru

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.

Repository stats unavailable
Databases & Storage