mcp-elasticsearch
by AeaZer·★ 9·Score 38
A fully-featured Elasticsearch MCP server with comprehensive search capabilities and multiple deployment options.
Overview
This MCP server provides seamless integration with Elasticsearch clusters, offering a complete set of tools for cluster operations, index management, document operations, search capabilities, and bulk operations. It supports multiple protocols (stdio, HTTP, and deprecated SSE) and is compatible with Elasticsearch versions 7, 8, and 9. The server can be deployed via Docker, compiled from source, or integrated into desktop applications like Claude Desktop and Cursor with comprehensive configuration options.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this server when working with Elasticsearch clusters and need AI agents to perform data operations, search queries, and cluster management through MCP.
When NOT to choose this
Don't choose this if you're using a different search engine or need specialized features not supported by the Elasticsearch API.
Tools this server exposes
12 tools extracted from the READMEes_cluster_infoGet cluster information and version details
es_cluster_healthGet cluster health status and metrics
es_index_createCreate new indices with settings and mappings
es_index_deleteDelete existing indices
es_index_existsCheck if an index exists
es_index_listList all indices with metadata
es_document_indexIndex documents with optional ID
es_document_getRetrieve documents by ID
es_document_updateUpdate existing documents
es_document_deleteDelete documents by ID
es_searchExecute search queries with filters, sorting, and field selection
es_bulkExecute multiple operations in a single request
Comparable tools
Installation
Installation
Using Docker (Recommended)
docker run -d -p 8080:8080 \
-e MCP_PROTOCOL=http \
-e ES_ADDRESSES=http://your-elasticsearch:9200 \
ghcr.io/aeazer/mcp-elasticsearch:latestFrom Source
go install github.com/AeaZer/mcp-elasticsearch@latestClaude Desktop Configuration
Add to ~/.config/claude/config.json:
{
"mcpServers": {
"elasticsearch": {
"command": "mcp-elasticsearch",
"env": {
"ES_ADDRESSES": "http://localhost:9200",
"ES_VERSION": "8"
}
}
}
}FAQ
- Which Elasticsearch versions are supported?
- This server is compatible with Elasticsearch versions 7, 8, and 9.
- What authentication methods are supported?
- Supports basic authentication (username/password), API keys, and Elastic Cloud authentication.
Compare mcp-elasticsearch with
Last updated · Auto-generated from public README + GitHub signals.