MCP server that provide tools to LLMs such as claude in cursor to interact with MongoDB
ποΈ MongoDB For LLMS MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. MCP server that provide tools to LLMs such as claude in cursor to interact with MongoDB.
A Model Context Protocol (MCP) server that enables LLMs to interact directly with MongoDB databases. Query collections, inspect schemas, and manage data seamlessly through natural language.
Installation goes through your MCP client rather than a global install: point it at @smithery/cli on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.
Once ποΈ MongoDB For LLMS is connected, these are the calls the assistant has available:
listCollections β Lists available collections in the databasefind β Queries documents with filtering and projectioninsertOne β Inserts a single document into a collectionupdateOne β Updates a single document in a collectiondeleteOne β Deletes a single document from a collectioncreateIndex β Creates a new index on a collectiondropIndex β Removes an index from a collectionindexes β Lists indexes for a collectionUsers β The Users tool exposed by this serverProducts β The Products tool exposed by this serverOrders β The Orders tool exposed by this serverThis 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 For LLMS's toolset β listCollections, find, insertOne and 8 more β is a fair guide to whether it matches your workflow. It is maintained by 1RB; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against ποΈ MongoDB For LLMS's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| listCollections | Lists available collections in the database |
| find | Queries documents with filtering and projection |
| insertOne | Inserts a single document into a collection |
| updateOne | Updates a single document in a collection |
| deleteOne | Deletes a single document from a collection |
| createIndex | Creates a new index on a collection |
| dropIndex | Removes an index from a collection |
| indexes | Lists indexes for a collection |
| Users | The Users tool exposed by this server. |
| Products | The Products tool exposed by this server. |
| Orders | The Orders tool exposed by this server. |
{
"mcpServers": {
"mongodb": {
"command": "node",
"args": [
"dist/index.js",
"mongodb://root:example@localhost:27017/test?authSource=admin"
]
}
}
}Configuration as documented by the project. Restart the client after saving.
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.