Cosmos DB MCP Server

Enables Large Language Models to directly query and interact with Azure Cosmos DB data.

Local serverstdio★ 3

What is the Cosmos DB MCP Server?

Enables Large Language Models to directly query and interact with Azure Cosmos DB data.

What it actually does

This is a server that lets your LLMs (like Claude) talk directly to your Azure Cosmos DB data! Think of it as a friendly translator that sits between your AI assistant and your database, making sure they can chat securely and efficiently.

Configuration

  • Node.js 14 or higher - Azure Cosmos DB NOSQL account or Azure Cosmos DB Emulator - Claude Desktop

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Configuration

  • Node.js 14 or higher - Azure Cosmos DB NOSQL account or Azure Cosmos DB Emulator - Claude Desktop
VariableDescriptionRequired
COSMOSDB_URIConfiguration value read at startup.Optional
COSMOSDB_KEYCredential the server authenticates with.Yes

Example prompts to try

  • “Use Cosmos DB to Prerequisites.”

Frequently asked questions

The server uses the Model Context Protocol (MCP) to understand natural language queries and translate them into Azure Cosmos DB queries, returning results in an easily understandable format.