<h2 align="center"> 📢 <strong>COMMUNITY SERVER NOTICE</strong><br/> This is a community-maintained MCP Server.<br/> 👉 For the
MongoDB MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. 📢 COMMUNITY SERVER NOTICE This is a community-maintained MCP Server. 👉 For the official MongoDB MCP Server, visit <a.
Once MongoDB is connected, these are the calls the assistant has available:
aggregate — Execute MongoDB aggregation pipelines against the connected databaseInput — - collection (string): The collection to queryexplain — Get execution plans for aggregation pipelinesOptions — "queryPlanner", "executionStats", "allPlansExecution"Default — "queryPlanner"Tools — The Tools tool exposed by this serverResources — The server provides schema information for each collection in the database:You will need one environment variable: MONGODB_URI. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client.
This sits in the database access group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. MongoDB's toolset — aggregate, Input, explain and 4 more — is a fair guide to whether it matches your workflow. It is maintained by mongodb-developer; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against MongoDB's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| aggregate | Execute MongoDB aggregation pipelines against the connected database |
| Input | - collection (string): The collection to query |
| explain | Get execution plans for aggregation pipelines |
| Options | "queryPlanner", "executionStats", "allPlansExecution" |
| Default | "queryPlanner" |
| Tools | The Tools tool exposed by this server. |
| Resources | The server provides schema information for each collection in the database: |
| Variable | Description | Required |
|---|---|---|
| MONGODB_URI | Configuration value read at startup. | Optional |
Read-only SQL access to Postgres — let your assistant inspect schemas and answer questions from real data.
Manage your whole Supabase project in conversation — database, auth, storage, Edge Functions and branches.
Query, modify and analyse local SQLite databases in conversation — the fastest way to chat with a data file.
Metabase ships its own MCP endpoint — search your BI content, build and run queries, and save questions and dashboards without leaving the chat.
Official MongoDB server covering data, schemas and Atlas management — from find queries to spinning up clusters.
Serverless Postgres with database branching — point your assistant at Neon and let it work on disposable copies.