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

An MCP server that connects MCP clients to an Elasticsearch cluster, letting agents inspect indices and mappings, run searches, and manage index and template settings.
Elasticsearch MCP Server is cataloged as an MCP server attributed to awesimon. An MCP server that connects MCP clients to an Elasticsearch cluster, letting agents inspect indices and mappings, run searches, and manage index and template settings. 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: Not specified. 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.
You must provide either an Elasticsearch API key or both a username and password.
Yes, ES_HOST accepts a single URL or comma-separated multiple URLs, and the client handles failover and load balancing between the configured nodes.
README.md · 67ab343de243 · Fetched 2026-11-13 08:47:53 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.
MCP Server for connecting to your Elasticsearch cluster directly from any MCP Client (like Claude Desktop, Cursor).
This server connects agents to your Elasticsearch data using the Model Context Protocol. It allows you to interact with your Elasticsearch indices through natural language conversations.
elasticsearch_health: Get Elasticsearch cluster health status, optionally including index-level detailslist_indices: List available Elasticsearch indices, support regexcreate_index: Create Elasticsearch index with optional settings and mappingsreindex: Reindex data from a source index to a target index with optional query and scriptget_mappings: Get field mappings for a specific Elasticsearch indexcreate_mapping: Create or update mapping structure for an Elasticsearch indexsearch: Perform an Elasticsearch search with the provided query DSLbulk: Bulk data into an Elasticsearch indexcreate_index_template: Create or update an index templateget_index_template: Get information about index templatesdelete_index_template: Delete an index template[!NOTE] This project depends on the Node.js client
@elastic/elasticsearch@^8.17.1. That client dependency is not a minimum Elasticsearch server version. Elastic's official compatibility matrix aligns client and server major versions and describes forward compatibility with higher minor versions within the same major version. This repository does not claim that every Elasticsearch 8.x minor or patch release has been validated;npm testcurrently runs TypeScript compilation only and does not establish Elasticsearch server compatibility. Elasticsearch 7.x, 9.x, and other major versions have not been validated.
[!TIP] The easiest way to use Elasticsearch MCP Server is through the published npm package.
Configure MCP Client
Edit Config and add a new MCP Server with the following configuration:{
"mcpServers": {
"elasticsearch-mcp": {
"command": "npx",
"args": [
"-y",
"@awesome-ai/elasticsearch-mcp"
],
"env": {
"ES_HOST": "your-elasticsearch-host",
"ES_API_KEY": "your-api-key"
}
}
}
}
Start a Conversation
The Elasticsearch MCP Server supports configuration options to connect to your Elasticsearch:
[!NOTE] You must provide either an API key or both username and password for authentication.
| Environment Variable | Description | Required |
|---|---|---|
ES_HOST | Your Elasticsearch instance URL(s) - supports single URL or comma-separated multiple URLs (also supports legacy HOST) | Yes |
ES_API_KEY | Elasticsearch API key for authentication (also supports legacy API_KEY) | No |
ES_USERNAME | Elasticsearch username for basic authentication (also supports legacy USERNAME) | No |
ES_PASSWORD | Elasticsearch password for basic authentication (also supports legacy PASSWORD) | No |
ES_CA_CERT | Path to custom CA certificate for Elasticsearch SSL/TLS (also supports legacy CA_CERT) | No |
You can configure multiple Elasticsearch nodes for high availability and load balancing:
{
"mcpServers": {
"elasticsearch-mcp": {
"command": "npx",
"args": [
"-y",
"@awesome-ai/elasticsearch-mcp"
],
"env": {
"ES_HOST": "https://es-node1:9200,https://es-node2:9200,https://es-node3:9200",
"ES_API_KEY": "your-api-key"
}
}
}
}
The client will automatically handle failover and load balancing between the configured nodes.
[!NOTE] If you want to modify or extend the MCP Server, follow these local development steps.
Use the correct Node.js version
nvm use
Install Dependencies
npm install
Build the Project
npm run build
Run locally in Claude Desktop App
Edit Config and add a new MCP Server with the following configuration:{
"mcpServers": {
"elasticsearch-mcp": {
"command": "node",
"args": [
"/path/to/your/project/dist/index.js"
],
"env": {
"ES_HOST": "your-elasticsearch-host",
"ES_API_KEY": "your-api-key"
}
}
}
}
Run locally in Cursor Editor
Add new global MCP Server and add a new MCP Server with the following configuration:{
"mcpServers": {
"elasticsearch-mcp": {
"command": "node",
"args": [
"/path/to/your/project/dist/index.js"
],
"env": {
"ES_HOST": "your-elasticsearch-host",
"ES_API_KEY": "your-api-key"
}
}
}
}
Debugging with MCP Inspector
ES_HOST=your-elasticsearch-url ES_API_KEY=your-api-key npm run inspector
This will start the MCP Inspector, allowing you to debug and analyze requests. You should see:
Starting MCP inspector...
⚙️ Proxy server listening on port 6277
🔍 MCP Inspector is up and running at http://127.0.0.1:6274 🚀
[!TIP] Here are some natural language queries you can try with your MCP Client.
If you encounter issues, feel free to open an issue on the GitHub repository.
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/elasticsearch)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.