This repository provides an Elasticsearch Model Context Protocol (MCP) server implementation, enabling document searching, index analysis, and cluster management through a set of tools. It offers functionalities like listing indices
This repository hosts an Elasticsearch Model Context Protocol (MCP) server, facilitating interaction with Elasticsearch clusters. It allows users to search documents, analyze indices, and manage the cluster using natural language commands through tools like Claude Desktop.
<a href="https://glama.ai/mcp/servers/b3po3delex"><img width="380" height="200" src="https://glama.ai/mcp/servers/b3po3delex/badge" alt="Elasticsearch MCP Server" /></a>
The server provides several key features:
list_indices
: Retrieves a list of all indices.get_mapping
: Fetches the mapping configuration for a specified index.get_settings
: Obtains the settings configuration for an index.search_documents
: Enables document searching using Elasticsearch Query DSL.get_cluster_health
: Provides the cluster's health status.get_cluster_stats
: Returns statistical information about the cluster.The server can be integrated with Claude Desktop using Smithery, uvx
, or uv
. Configuration examples are provided for each method, including necessary environment variables like ELASTIC_HOST
, ELASTIC_USERNAME
, and ELASTIC_PASSWORD
. After configuration, users can interact with Elasticsearch using natural language queries.
Licensed under Apache License Version 2.0.
cr7258/elasticsearch-mcp-server
January 9, 2025
March 28, 2025
Python