Connect your account, then chat with AI to run tools.
List Cosmos databases and containers, profile document counts, run SQL queries, export large result sets with automatic spillover, and create or update documents.
Try this workflow
Container profiling
List databases, pick the production database, list containers, then return document count and partition key path for the orders container.
Opens MCPBundles Studio with this server selected. After sign-in, chat and run tools from the same thread.
Browse all toolsBuilt for
Developers and data engineers building on Azure Cosmos DB SQL API
Container profiling
Uses list databases, list containers, and get container stats.
List databases, pick the production database, list containers, then return document count and partition key path for the orders container.
Export matching documents
Query to download paginates and spills large JSON automatically.
Run SELECT * FROM c WHERE c.status = 'active' on my items container and return all matches up to one thousand documents.
How do large Cosmos query results return?
Query to download fetches up to your max_documents cap across pages. When the serialized JSON exceeds the inline threshold, the platform uploads the payload to S3 and returns a presigned download URL in the tool response.
Domain knowledge for Azure Cosmos DB — workflow patterns, data models, and gotchas for your AI agent.
Cosmos DB is a document database. Applications store JSON documents in containers grouped by database, usually partitioned for scale and query cost control.
Account → Database → Container → Document. Each container declares a partition key path; every document carries that key value. Queries that filter on the partition key cost less than cross-partition scans.
Use count and schema inference for discovery on unfamiliar containers. Cross-partition queries are valid but consume more request units — enable only when the question truly spans partitions. Read-only SELECT queries are the default exploration pattern; avoid mutating statements in query slots meant for reads.
Create inserts a new document with id and partition key. Upsert inserts or replaces by id. Replace updates an existing document and can carry an etag from a prior read for optimistic concurrency. Delete removes one document by id and partition key. Container creation is available when the connected account has control-plane permission on the target database.
Return document count for a container via SELECT VALUE COUNT(1) FROM c.
Create a Cosmos DB SQL API container in a database using the account master key. Requires control-plane permission on the saved credential.
Create a new document in a Cosmos DB container. Describe the container first to learn the partition key path.
Delete one Cosmos DB document by id and partition key. Set confirm_write=true after a point read confirms the target document.
Return partition key, indexing policy, and throughput metadata for one container.
Return document count plus partition key and indexing metadata for one container. Combines a container read with a COUNT query.
Point-read one document by id and partition key.
Sample documents and infer top-level field types for schema discovery.
List containers in an Azure Cosmos DB SQL API database.
List databases in the Azure Cosmos DB account.
Run a Cosmos DB SQL API query against one container. Use describe_container first when partition key filters are required.
Run a Cosmos DB SELECT query and return all matching documents up to max_documents. Large result sets spill to a presigned download_url via platform p...
Replace an existing Cosmos DB document by id. Pass if_match_etag from a prior read when you need optimistic concurrency.
Create or replace a Cosmos DB document by id using the upsert path.
Query to download fetches up to your max_documents cap across pages. When the serialized JSON exceeds the inline threshold, the platform uploads the payload to S3 and returns a presigned download URL in the tool response.
Add the MCPBundles server URL to your MCP client configuration (Claude Desktop, Cursor, VS Code, etc.). The URL format is: https://mcp.mcpbundles.com/bundle/azure-cosmos-db. Authentication is handled automatically.
Azure Cosmos DB provides 14 tools that can be called by AI agents, along with a SKILL.md that gives your AI agent domain knowledge about when and how to use them.
Azure Cosmos DB uses API Key. Azure Cosmos DB requires credentials. Connect via MCPBundles and authentication is handled automatically.
Connect Azure Cosmos DB to any MCP client in minutes
https://mcp.mcpbundles.com/bundle/azure-cosmos-dbThe link prefills the Add custom connector dialog — you still review the values and click Add, then Connect to complete OAuth.
Azure Cosmos DB and paste the MCP URL into Remote MCP server URL.Custom connectors at claude.ai require a paid Claude plan (Pro, Max, Team, or Enterprise).
More developer tools integrations you might like
Merge is an API that enables the integration of applicant tracking systems (ATS) into applications, ...
GitHub REST API tools for repository research, organization intelligence, and contributor analysis. ...
Svix Management API for administering environments, API tokens, and organization settings. Use this ...
Google Webfonts is a web font library and API, allowing developers to easily integrate a wide variet...
News API provides a RESTful API to access hundreds of worldwide news sources and blogs in real-time ...
Mailosaur is an email and SMS testing platform that lets developers capture, inspect, search, and an...