MCP Server for Elasticsearch

Build 25.0.9440

Using With Claude

Claude Desktop connects to Elasticsearch through the CData MCP Server for Elasticsearch using the Model Context Protocol (MCP).

When you launch Claude, it automatically detects MCP connections registered during setup. These connections are created and saved using the MCP Configuration Tool, which is installed with the MCP Server.

Each saved connection is recognized by Claude and can be referenced by name when asking questions.

Installing Claude

Claude Desktop is a standalone application that enables natural language querying across supported data sources using the Model Context Protocol (MCP).

To connect to Elasticsearch via MCP, you first need to install the Claude Desktop application.

You can download the latest version from the official Claude Download Page.

After installing Claude Desktop, you can configure your MCP connection using the CData MCP Driver for Elasticsearch.

How Claude Uses the Server

When you ask Claude a question, it launches the corresponding MCP Server connection, reads the available tool descriptions provided by the connector, and generates a secure query in the background.

There is no need to write SQL or teach Claude how to query your data. Each tool is self-describing, and Claude consumes those descriptions to determine how to retrieve the right information.

Example Prompts

After setup, you can ask Claude natural-language questions like:

  • "What are the current index templates configured in my Elasticsearch cluster?"
  • "Can you show me the settings defined in the "metrics-template?"
  • "Is XPack security enabled on my Elasticsearch instance?"
  • "Can you create a new index called "user-events" with 3 shards and 2 replicas?"
  • "Which indices are currently associated with the "current-logs" alias?"
  • "What machine learning capabilities are available in my XPack configuration?"
  • "Can you remove the alias "deprecated-data" from all indices?"
  • "How do I update the refresh interval of the "transactions" index to 30 seconds?"
  • "What are the current settings for the "orders" index?"
  • "Update the number of replicas for the "archive-2024" index to 0."

Claude securely executes the query using the MCP Server and responds using the live results from Elasticsearch.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9440