Elasticsearch MCP Server
@MCP-Mirror
About Elasticsearch MCP Server
Mirror of
Basic information
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Elasticsearch MCP Server?
A Model Context Protocol (MCP) server implementation that provides Elasticsearch interaction. It enables searching documents, analyzing indices, and managing a cluster through a set of tools, designed for use with MCP clients like Claude Desktop.
How to use Elasticsearch MCP Server?
Configure the server in your MCP client (e.g., Claude Desktop) by setting environment variables ELASTIC_HOST, ELASTIC_USERNAME, and ELASTIC_PASSWORD to point to your Elasticsearch cluster. Use the provided tools via natural language commands, such as "List all indices in the cluster" or "Show me the cluster health status."
Key features of Elasticsearch MCP Server
list_indices: List all indices in the Elasticsearch cluster.get_mapping: Retrieve mapping configuration for a specific index.get_settings: Get settings configuration for a specific index.search_documents: Search documents using Elasticsearch Query DSL.get_cluster_health: Get health status of the cluster.get_cluster_stats: Get statistical information about the cluster.
Use cases of Elasticsearch MCP Server
- Query and explore indices in your Elasticsearch cluster via natural language.
- Monitor cluster health and statistics without manual API calls.
- Retrieve index mappings and settings for troubleshooting or documentation.
- Search documents using complex Query DSL without writing raw JSON.
FAQ from Elasticsearch MCP Server
What is the Elasticsearch MCP Server?
It is an MCP server that exposes Elasticsearch operations (index, document, and cluster management) as callable tools for AI assistants like Claude.
How do I connect to my Elasticsearch cluster?
Set the ELASTIC_HOST, ELASTIC_USERNAME, and ELASTIC_PASSWORD environment variables in your MCP client configuration to match your cluster’s credentials.
What tools does the server provide?
The server provides six tools: list_indices, get_mapping, get_settings, search_documents, get_cluster_health, and get_cluster_stats.
What are the prerequisites?
You need an Elasticsearch cluster (local or remote) and the MCP server running via uv (Python). A sample Docker Compose file is provided to start a 3-node cluster with Kibana.
Does the server support authentication?
Yes, basic authentication is supported via the ELASTIC_USERNAME and ELASTIC_PASSWORD environment variables. The default credentials in the provided Docker Compose are elastic / test123.
More Databases MCP servers
Neon MCP Server
neondatabase-labsMCP server for interacting with Neon Management API and databases
PostgreSQL Model Context Protocol (PG-MCP) Server
stuzeroMCP Server for Milvus
zilliztechModel Context Protocol Servers for Milvus
mcp_mysql_server
wenb1n-devModel Context Protocol (MCP) server that supports secure interaction with MySQL databases and has anomaly analysis capabilities.更加牛逼!更加好用!不仅止于mysql的增删改查功能; 还包含了数据库异常分析能力;且便于开发者们进行个性化的工具扩展

Redis
modelcontextprotocolModel Context Protocol Servers
Comments