Awesome MCPDatabases

kiliczsh/mcp-mongo-server

⭐ 283 TypeScript added to this list on 2025-03-20 repository created 2024-12-04

MCP MongoDB Server is a Model Context Protocol (MCP) server designed to facilitate interaction between large language models (LLMs) and MongoDB databases. It provides a standardized interface that allows LLMs to inspect MongoDB collection schemas and execute various MongoDB operations, including queries, aggregations, document counts, updates, inserts, and index creation. The server supports smart ObjectId handling with configurable modes to automatically convert string IDs to MongoDB ObjectId types based on field names or force conversion, enhancing seamless data manipulation. The server offers flexible configuration options through environment variables and command-line parameters, including a read-only mode that protects against write operations and optimizes performance by using MongoDB's secondary read preference. This makes it suitable for safely connecting to production databases. MCP MongoDB Server integrates well with LLMs by providing collection completions, schema inference, and collection analysis to improve context understanding and data insights. Installation is straightforward via npm, with options for global installation or development setup. Usage involves starting the server with a MongoDB URI and optional read-only mode, with environment variables available for secure configuration in CI/CD pipelines or containerized environments. The server is compatible with popular LLM clients like Claude Desktop, Windsurf, and Cursor, with detailed instructions for manual configuration using command-line arguments or environment variables. The project also supports automated installation through tools like Smithery and mcp-get. It provides a comprehensive set of MongoDB operations accessible through the MCP interface, enabling LLMs to perform complex database interactions efficiently. Overall, MCP MongoDB Server bridges the gap between LLMs and MongoDB databases, enabling advanced AI-driven data querying and manipulation through a unified protocol.

https://github.com/kiliczsh/mcp-mongo-server

aggregationantrophicclaudeclaude-desktopclinecollection-analysiscollection-completionscommand-line-optionscreateindexcursordockerenvironment-variablesinsertlarge-language-modelsllmllm-integrationmcpmcp-getmodel-context-protocolmongomongodbmongodb-operationsobjectid-handlingqueryread-only-modeschema-inferenceschema-inspectionsmitheryupdatewindsurf

Also in Databases

dolthub/dolt

Dolt is a SQL database with Git-like version control capabilities, enabling users to manage, version, and collaborate on data and schemas as easily as code in Git repositories.

t8y2/dbx

DBX is a lightweight, cross-platform database client supporting over 70 databases, featuring a built-in AI assistant, MCP Server, and available as desktop, Docker, or CLI.

Canner/WrenAI

Open-source generative BI engine that exposes governed text-to-SQL, a semantic layer and dashboard generation to AI agents through an MCP server and CLI across more than twenty data sources.

googleapis/mcp-toolbox

MCP Toolbox for Databases is an open-source Model Context Protocol (MCP) server that connects AI agents, IDEs, and applications directly to enterprise databases, offering both pre-built and custom ...

makenotion/notion-mcp-server

The Notion MCP Server is an official MCP server implementation that enables secure, programmatic interaction with Notion content through MCP commands, optimized for AI agents and supporting multiple deployment options.

bytebase/dbhub

DBHub is a universal database gateway implementing the Model Context Protocol (MCP) server interface, enabling MCP clients to connect to and explore multiple database systems including MySQL, PostgreSQL, Oracle, SQL Server, MariaDB, and SQLite.

crystaldba/postgres-mcp

Postgres MCP Pro is an open-source Model Context Protocol server for PostgreSQL that provides advanced database health monitoring, index tuning, query plan analysis, and safe SQL execution to support AI agents and developers throughout the application lifecycle.

supabase-community/supabase-mcp

Supabase MCP Server connects Supabase projects to AI assistants using the Model Context Protocol, enabling LLMs to manage and query Supabase resources.