Execute Kusto queries and explore Azure Data Explorer databases via a Model Context Protocol server.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Adx MCP Server.
execute_queryExecute a KQL query against Azure Data Explorer
list_tablesList all tables in the configured database
get_table_schemaGet the schema for a specific table
sample_table_dataGet sample data from a table
get_table_detailsGet table statistics and metadata
A Model Context Protocol (MCP) server that enables AI assistants to execute KQL queries and explore Azure Data Explorer (ADX/Kusto) databases through standardized interfaces.
This server provides seamless access to Azure Data Explorer and Eventhouse (in Microsoft Fabric) clusters, allowing AI assistants to query and analyze your data using the powerful Kusto Query Language.
The list of tools is configurable, so you can choose which tools you want to make available to the MCP client. This is useful if you don't use certain functionality or if you don't want to take up too much of the context window.
Login to your Azure account which has the permission to the ADX cluster using Azure CLI.
Configure the environment variables for your ADX cluster, either through a .env file or system environment variables:
The server now uses WorkloadIdentityCredential by default when running in Azure Kubernetes Service (AKS) environments with workload identity configured. It prioritizes the use of WorkloadIdentityCredential whenever the necessary environment variables are present.
For AKS with Azure Workload Identity, you only need to:
AZURE_TENANT_ID and AZURE_CLIENT_ID environment variables setADX_TOKEN_FILE_PATHIf these environment variables are not present, the server will automatically fall back to DefaultAzureCredential, which tries multiple authentication methods in sequence.
Note: if you see
Error: spawn uv ENOENTin Claude Desktop, you may need to specify the full path touvor set the environment variableNO_UV=1in the configuration.
This project includes Docker support for easy deployment and isolation.
Build the Docker image using:
You can run the server using Docker in several ways:
Create a .env file with your Azure Data Explorer credentials and then run:
To use the containerized server with Claude Desktop, update the configuration to use Docker with the environment variables:
This configuration passes the environment variables from Claude Desktop to the Docker container by using the -e flag with just the variable name, and providing the actual values in the env object.
For HTTP mode deployment, you can use the following Docker configuration:
This repository can also be used as a development container for a seamless development experience. The dev container setup is located in the devcontainer-feature/adx-mcp-server folder.
For more details, check the devcontainer README.
Contributions are welcome! Please open an issue or submit a pull request if you have any suggestions or improvements.
This project uses uv to manage dependencies. Install uv following the instructions for your platform:
You can then create a virtual environment and install the dependencies with:
The project has been organized with a src directory structure:
The project includes a comprehensive test suite that ensures functionality and helps prevent regressions.
Run the tests with pytest:
Tests are organized into:
When adding new features, please also add corresponding tests.
| Tool | Category | Description | Parameters |
|---|---|---|---|
execute_query | Query | Execute a KQL query against Azure Data Explorer | query (string) - KQL query to execute |
list_tables | Discovery | List all tables in the configured database | None |
get_table_schema | Discovery | Get the schema for a specific table | table_name (string) - Name of the table |
sample_table_data | Discovery | Get sample data from a table | table_name (string), sample_size (int, default: 10) |
get_table_details | Discovery | Get table statistics and metadata | table_name (string) - Name of the table |
| Variable | Description | Example |
|---|---|---|
ADX_CLUSTER_URL | Azure Data Explorer cluster URL | https://yourcluster.region.kusto.windows.net |
ADX_DATABASE | Database name to connect to | your_database |
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/pab1it0-adx-mcp-server)<a href="https://allmcps.com/mcp/pab1it0-adx-mcp-server"><img src="https://allmcps.com/api/badge/pab1it0-adx-mcp-server?style=directory" alt="Adx MCP Server on AllMCPs" /></a>