MongoDB API
Document database - CRUD, aggregation pipeline, change streams, and Atlas.
npm install mongodb
There is an MCP server that covers similar functionality: MongoDB MCP Server
Use the API when:
You need fine-grained control, custom error handling, or want to chain multiple API calls in a script.
Use the MCP when:
You want plug-and-play integration with Claude Code and don't need custom logic around the calls.
About
MongoDB's official Node.js driver provides full access to MongoDB. Run CRUD operations, build aggregation pipelines, watch change streams, manage indexes, and handle transactions. 3M weekly downloads. The mongosh CLI provides interactive database access. Works with both self-hosted MongoDB and MongoDB Atlas cloud.
Tags
Score Breakdown
Performance
Scores
Related
MongoDB MCP Server
Query MongoDB databases, manage collections, and inspect documents.
claude mcp add mongodb -- npx -y mongodb-mcp-serverSupabase API
Postgres, auth, storage, edge functions, and realtime subscriptions.
npm install @supabase/supabase-jsPlanetScale API
Serverless MySQL with branching, deploy requests, and schema management.
npm install @planetscale/database