Skip to content
InfratoApp
InfratoApp / Resources / MCP servers / elasticsearch-mcp

elasticsearch-mcp

elasticsearch-mcp is an MCP server, listed under databases. It reaches elasticsearch. It needs ES_API_KEY to authenticate. Its repository has 24 GitHub stars and is licensed under MIT; we last read it on 2026-10-22.

Provides mappings management, search and indexing, and index management for Elasticsearch.

Install

MCP servers are packaged differently from each other -- some run via npx, some as a Docker image, some as a plain script you clone and run. elasticsearch-mcp’s own README did not state one plainly enough for this page to quote it rather than guess, so it will not guess. The repository below states it.

What it reaches, and what it needs

Reaches
elasticsearch
Credential
ES_API_KEY

What it connects to

Unverified means a mention in the server’s own description, not a citation. A wrong claim here costs nothing to correct and nothing to trust yet.

Maintenance

Stars
24
State
stale
Licence
MIT
From the repository

Elasticsearch MCP server with available features including mappings management, search and indexing, and index management etc.

What elasticsearch-mcp can do

11 tools documented in its README. An AI client calls these by name.

elasticsearch_health
Get Elasticsearch cluster health status, optionally including index-level details
list_indices
List available Elasticsearch indices, support regex
create_index
Create Elasticsearch index with optional settings and mappings
reindex
Reindex data from a source index to a target index with optional query and script
get_mappings
Get field mappings for a specific Elasticsearch index
create_mapping
Create or update mapping structure for an Elasticsearch index
search
Perform an Elasticsearch search with the provided query DSL
bulk
Bulk data into an Elasticsearch index
create_index_template
Create or update an index template
get_index_template
Get information about index templates
delete_index_template
Delete an index template

Read from the README; names are kept only if the README contains them.

elasticsearch-mcp compared with similar servers

elasticsearch-mcp compared with the closest alternatives, by services reached, credentials, stars, last update and licence
ServerReachesNeedsStarsLast updateLicence
elasticsearch-mcp (this page)elasticsearchES_API_KEY242025-08-04MIT
elasticsearch-mcp-serverelasticsearch, opensearch, prod, staging(1 shared)ELASTICSEARCH_API_KEY, ELASTICSEARCH_PASSWORD, MCP_API_KEY, OPENSEARCH_PASSWORD, PROD_API_KEY, STAGING_PASSWORD3142026-10-19Apache-2.0
CodeGraphContextneo4jNEO4J_PASSWORD4,3602026-10-22MIT
dbhubmysql, postgres, sqliteNone listed3,7022026-10-21MIT
mcp-server-mysqlmysqlNone listed2,1732026-07-27MIT
mysql_mcp_servermysqlMYSQL_PASSWORD1,4022026-08-02MIT

Ranked by services in common with elasticsearch-mcp, then by stars. Figures are from each repository when we last read it.

Common questions about elasticsearch-mcp

What does elasticsearch-mcp do?
Provides mappings management, search and indexing, and index management for Elasticsearch.
How do I install elasticsearch-mcp?
Its README did not state an install command plainly enough for us to quote one, so we do not guess. The repository has the instructions: https://github.com/awesimon/elasticsearch-mcp
What does elasticsearch-mcp connect to, and what does it need?
It reaches elasticsearch. The credentials we found in its source are ES_API_KEY.
Is elasticsearch-mcp official and is it maintained?
We found nothing naming it as a vendor’s official server. Its repository has 24 GitHub stars and its state in our directory is stale. Its last commit we recorded was on 2025-08-04.
What licence does elasticsearch-mcp use?
The repository declares the MIT licence.

More MCP servers for databases

All databases entries →

Learn this on Infrato