{"schemaVersion":1,"id":"github-com-mongodb-js-mongodb-mcp-server","name":"MongoDB MCP Server","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/github-com-mongodb-js-mongodb-mcp-server/","officialUrl":"https://github.com/mongodb-js/mongodb-mcp-server","isCatalog":false,"description":"The official MongoDB MCP server for queries, schemas, indexes, and managing Atlas or a self-managed deployment through a coding agent.","tasks":["Choose an Atlas or self-managed connection and enable appropriate restrictions.","Inspect the collections, then check a query and explain without changing production."],"categoryIds":["integrations","backend"],"subcategoryIds":["integrations.data","backend.databases"],"tags":["MongoDB MCP Server","mongodb-js","MCP"],"aliases":["mongodb-js/mongodb-mcp-server"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"You can use the code under the stated license; servers, APIs, and compute must be provided separately.","paidUsage":"Atlas and AI have separate pricing; Apache applies to the connector code.","license":"Apache-2.0 for this repository; connected services, models, and data have separate terms.","selectionGuide":{"purpose":"Choose an Atlas or self-managed connection and enable appropriate restrictions.","chooseWhen":["Choose an Atlas or self-managed connection and enable appropriate restrictions.","Inspect the collections, then check a query and explain without changing production."],"considerInstead":[],"requirements":["For local Node execution: Node.js 22.13+ and MongoDB access; the Docker option has separate instructions."],"limitations":["Costs and limits of free use: Atlas and AI have separate pricing; Apache applies to the connector code.","Terms of use: Apache-2.0 for this repository; connected services, models, and data have separate terms.","The CLI is intended for one user in a localhost/private environment; it has no built-in authentication or isolation for multiple users."],"faq":[{"question":"What can you use for free in MongoDB MCP Server?","answer":"You can use the code under the stated license; servers, APIs, and compute must be provided separately."},{"question":"What additional costs might arise with MongoDB MCP Server?","answer":"Atlas and AI have separate pricing; Apache applies to the connector code."},{"question":"What terms of use matter for MongoDB MCP Server?","answer":"Apache-2.0 for this repository; connected services, models, and data have separate terms."},{"question":"How do you get started with MongoDB MCP Server?","answer":"Choose an Atlas or self-managed connection and enable appropriate restrictions. Inspect the collections, then check a query and explain without changing production. Compare the result with the workflow's goal; after changing the project, run its standard checks."},{"question":"How do I connect MongoDB MCP for analysis without changing the database?","answer":"The readOnly flag registers reading, connection, and metadata tools, disabling create/update/delete. It is enabled in the examples, but the default setting is false. The server exposes schemas and indexes and runs queries and explain; Node execution requires 22.13+ and a connection string or Atlas Service Account."}],"related":[],"sources":["https://github.com/mongodb-js/mongodb-mcp-server","https://raw.githubusercontent.com/mongodb-js/mongodb-mcp-server/main/README.md","https://raw.githubusercontent.com/mongodb-js/mongodb-mcp-server/main/LICENSE"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"The official MongoDB MCP server for queries, schemas, indexes, and managing Atlas or a self-managed deployment through a coding agent.","inputs":["A MongoDB deployment, a test database, and scoped credentials."],"steps":["Choose an Atlas or self-managed connection and enable appropriate restrictions.","Inspect the collections, then check a query and explain without changing production.","Compare the result with the workflow's goal; after changing the project, run its standard checks."],"checks":["The database and scope are correct; check the query plan and access permissions.","Check connection permissions and dependency terms; confirm external service costs if the workflow requires them."]},"sources":["https://github.com/mongodb-js/mongodb-mcp-server","https://raw.githubusercontent.com/mongodb-js/mongodb-mcp-server/main/README.md","https://raw.githubusercontent.com/mongodb-js/mongodb-mcp-server/main/LICENSE"],"checkedAt":"2026-10-06","reviewScope":"The README and license were reviewed against public primary sources on 2026-10-06. The code was not installed or run; applicability depends on the project and client versions.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"MCP tools for developers","kind":"mcp","pricingNote":"You can use the code under the stated license; servers, APIs, and compute must be provided separately. Atlas and AI have separate pricing; Apache applies to the connector code.","notes":null,"labeledSources":[{"url":"https://github.com/mongodb-js/mongodb-mcp-server","label":"Official repository"},{"url":"https://raw.githubusercontent.com/mongodb-js/mongodb-mcp-server/main/README.md","label":"Documentation"},{"url":"https://raw.githubusercontent.com/mongodb-js/mongodb-mcp-server/main/LICENSE","label":"License"}],"licenseGuides":[{"id":"apache-2","title":"Apache 2.0 — permissive license with patent terms","scope":null,"summary":"You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.","url":"https://www.apache.org/licenses/LICENSE-2.0"}],"entryIds":[],"composition":null}