Integration

MongoDB Atlas Data API integration

MongoDB Atlas Data API provided RESTful HTTPS endpoints to perform CRUD operations and aggregations on MongoDB Atlas databases without requiring native MongoDB drivers. Access Atlas clusters directly via HTTP requests to find, insert, update, replace, delete, and aggregate documents. All endpoints used POST method with JSON request body and api-key header authentication. Supported EJSON (Extended JSON) for BSON types like ObjectId, Date, Decimal128. Note: This API reached end-of-life on September 30, 2025.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in MongoDB Atlas Data API.Built from the 10 MongoDB Atlas Data API tools below, on the connection you add once.

Common MongoDB Atlas Data API use cases

  • bulk data import
  • user registration
  • generating reports
  • bulk status updates
  • deleting user account
  • syncing external data
  • updating user profile
  • purging expired sessions
  • fetching user profile by ID
  • listing products in catalog

What you can do with MongoDB Atlas Data API

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

  • aggregateAggregatePOSTExecutes an aggregation pipeline on a MongoDB collection. Supports all MongoDB aggregation stages like $match, $group, $sort, $project, $lookup, $unwind for complex data transformations and analysis.
  • delete_manyDelete manyPOSTDeletes all documents from a MongoDB collection that match the filter criteria. Removes multiple documents in a single operation. Returns count of deleted documents.
  • delete_oneDelete onePOSTDeletes a single document from a MongoDB collection that matches the filter criteria. Removes the first matching document. Returns count of deleted documents.
  • find_manyFind manyPOSTFinds multiple documents in a MongoDB collection that match the specified filter criteria. Supports pagination with skip and limit, sorting, and field projection.
  • find_oneFind onePOSTFinds a single document in a MongoDB collection that matches the specified filter criteria. Returns the first matching document or null if no documents match.
  • insert_manyInsert manyPOSTInserts multiple documents into a MongoDB collection in a single operation. Accepts an array of documents to insert. Returns the _ids of all inserted documents.
  • insert_oneInsert onePOSTInserts a single document into a MongoDB collection. The document is provided in the request body. Returns the _id of the inserted document.
  • replace_oneReplace onePOSTReplaces a single document in a MongoDB collection that matches the filter criteria with a new replacement document. Unlike updateOne, replaces the entire document (except _id).
  • update_manyUpdate manyPOSTUpdates all documents in a MongoDB collection that match the filter criteria. Applies the same update operations to multiple documents. Returns count of matched and modified documents.
  • update_oneUpdate onePOSTUpdates a single document in a MongoDB collection that matches the filter criteria. Uses MongoDB update operators like $set, $inc, $push. Supports upsert to create document if not found.

MongoDB Atlas Data API API rate limits

  • 100 requests per second

Rate limits were enforced per project. Exceeding limits returned HTTP 429 Too Many Requests.

These are the limits MongoDB Atlas Data API documents, not ones LiveContext measured. They can change and often depend on your plan, so check the MongoDB Atlas Data API documentation for current values.

Use MongoDB Atlas Data API from Claude Code, Cursor or Codex

Connect MongoDB Atlas Data API in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its MongoDB Atlas Data API operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect MongoDB Atlas Data API

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect MongoDB Atlas Data API once

    Add your MongoDB Atlas Data API connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

MongoDB Atlas Data API integration FAQ

What can you do with the MongoDB Atlas Data API integration?

LiveContext exposes 10 operations on MongoDB Atlas Data API, covering document. Common uses include bulk data import, user registration and generating reports.

What are the MongoDB Atlas Data API API rate limits?

MongoDB Atlas Data API documents 100 requests per second. Rate limits were enforced per project. Exceeding limits returned HTTP 429 Too Many Requests. Limits are set by MongoDB Atlas Data API and can depend on your plan.

Popular integrations

Browse the whole catalog