
This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

An MCP server that provides tools and resources for interacting with Elasticsearch clusters, including listing indices, retrieving mappings, and running searches.
Elasticsearch MCP Server is cataloged as an MCP server attributed to sajitsasi. An MCP server that provides tools and resources for interacting with Elasticsearch clusters, including listing indices, retrieving mappings, and running searches. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Elasticsearch MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It returns a JSON array of all indices, including index name, health status, status, document count, and size.
It includes the complete mapping definition, field count, and field type distribution.
README.md · 5b590c806d34 · Fetched 2026-11-13 10:42:25 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
This project implements an MCP (Model Context Protocol) server for Elasticsearch, providing tools and resources to interact with Elasticsearch clusters.
list_indices: Lists all indices in the Elasticsearch clusterget_mappings: Gets the mappings for a specific indexsearch: Performs an Elasticsearch search with a provided query DSLsearch_with_query_string: Performs a search with a simple query stringget_index_stats: Gets statistics for a specific indexelasticsearch://indices: Lists all Elasticsearch indiceselasticsearch://index/{index_name}: Gets detailed information about a specific indexelasticsearch://mapping/{index_name}: Gets mapping information for a specific indexClone the repository:
git clone https://github.com/yourusername/elasticsearch-mcp-server.git
cd elasticsearch-mcp-server
Install the required dependencies:
pip install -r requirements.txt
Set up environment variables:
cp .env.example .env.env file and add your Elasticsearch credentialsOr set them directly in your shell:
export ES_CLOUD_ID=your_elasticsearch_cloud_id
export ES_API_KEY=your_elasticsearch_api_key
The configure_mcp_server.py script helps you set up the Elasticsearch MCP server in Claude's MCP settings file. This allows Claude to connect to your Elasticsearch cluster through the MCP server.
python configure_mcp_server.py your_cloud_id your_api_key
This script:
After running this script, restart VS Code to apply the changes. Claude will then be able to use the Elasticsearch MCP server to interact with your Elasticsearch cluster.
We've provided a test script that starts the MCP server and provides instructions for testing:
# Make the script executable if needed
chmod +x test_es_mcp.sh
# Run the test script
ES_CLOUD_ID=your_cloud_id ES_API_KEY=your_api_key ./test_es_mcp.sh
The script will:
Start the MCP server:
ES_CLOUD_ID=your_cloud_id ES_API_KEY=your_api_key python es_mcp_server.py
In Claude, use the access_mcp_resource tool to access the resources:
a. List all indices:
<access_mcp_resource>
<server_name>elasticsearch-mcp-server</server_name>
<uri>elasticsearch://indices</uri>
</access_mcp_resource>
b. Get information about a specific index:
<access_mcp_resource>
<server_name>elasticsearch-mcp-server</server_name>
<uri>elasticsearch://index/your_index_name</uri>
</access_mcp_resource>
c. Get mapping for a specific index:
<access_mcp_resource>
<server_name>elasticsearch-mcp-server</server_name>
<uri>elasticsearch://mapping/your_index_name</uri>
</access_mcp_resource>
We've also provided a Python test script that demonstrates how to access the resources:
ES_CLOUD_ID=your_cloud_id ES_API_KEY=your_api_key python test_es_resources.py
elasticsearch://indicesReturns a JSON array of all indices in the Elasticsearch cluster, including:
elasticsearch://index/{index_name}Returns detailed information about a specific index, including:
elasticsearch://mapping/{index_name}Returns mapping information for a specific index, including:
All resources include proper error handling and validation:
Contributions are welcome! Here's how you can contribute:
git checkout -b feature/your-feature-namegit commit -am 'Add some feature'git push origin feature/your-feature-nameThis project is licensed under the MIT License - see the LICENSE file for details.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Elasticsearch MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/es_mcp_server)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

A Model Context Protocol server that lets AI assistants run SQL queries against AWS Athena databases and retrieve results.

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.