mongo-db-mcp
MCP Server for MongoDB
PrashantSedhain
README
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
-
Clone the repository:
git clone https://github.com/yourusername/mongo-db-mcp.git cd mongo-db-mcp
-
Install dependencies:
npm install
-
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
Recommended Servers

Supabase MCP Server
A Model Context Protocol (MCP) server that provides programmatic access to the Supabase Management API. This server allows AI models and other clients to manage Supabase projects and organizations through a standardized interface.
MCP DuckDB Knowledge Graph Memory Server
A memory server for Claude that stores and retrieves knowledge graph data in DuckDB, enhancing performance and query capabilities for conversations with persistent user information.
dbt Semantic Layer MCP Server
A server that enables querying the dbt Semantic Layer through natural language conversations with Claude Desktop and other AI assistants, allowing users to discover metrics, create queries, analyze data, and visualize results.
Metabase MCP Server
Enables AI assistants to interact with Metabase databases and dashboards, allowing users to list and execute queries, access data visualizations, and interact with database resources through natural language.

Airtable MCP Server
A Model Context Protocol server that provides tools for programmatically managing Airtable bases, tables, fields, and records through Claude Desktop or other MCP clients.
mcp-shodan
MCP server for querying the Shodan API and Shodan CVEDB. This server provides tools for IP lookups, device searches, DNS lookups, vulnerability queries, CPE lookups, and more.
Verodat MCP Server
An MCP server that integrates Verodat's data management capabilities with AI systems like Claude Desktop, enabling users to manage accounts, workspaces, and datasets, as well as perform AI-powered queries on their data.

Tembo MCP Server
An MCP server that enables Claude to interact with Tembo Cloud platform API, allowing users to manage Tembo Cloud resources through natural language.
MongoDB MCP Server
Provides read-only access to MongoDB databases for LLMs to inspect collection schemas and execute aggregation pipelines.
nile-mcp
MCP server for Nile Database - Manage and query databases, tenants, users, auth using LLMs