elasticsearch-mcp-server
elasticsearch-mcp-server is an MCP server, listed under databases. It reaches elasticsearch, opensearch, prod and staging. It needs ELASTICSEARCH_API_KEY, ELASTICSEARCH_PASSWORD, MCP_API_KEY, OPENSEARCH_PASSWORD, PROD_API_KEY and STAGING_PASSWORD to authenticate. Its repository has 314 GitHub stars and is licensed under Apache-2.0; we last read it on 2026-10-22.
This implementation serves as an MCP server, facilitating interaction between Elasticsearch and OpenSearch.
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-server’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
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
A Model Context Protocol (MCP) server implementation that provides Elasticsearch and OpenSearch interaction.
What elasticsearch-mcp-server can do
19 tools documented in its README. An AI client calls these by name.
general_api_request- Perform a general HTTP API request. Use this tool for any Elasticsearch/OpenSearch API that does not have a dedicated tool.
list_indices- No description in the README.
get_index- No description in the README.
create_index- No description in the README.
delete_index- No description in the README.
create_data_stream- No description in the README.
get_data_stream- No description in the README.
delete_data_stream- No description in the README.
search_documents- No description in the README.
index_document- No description in the README.
get_document- No description in the README.
delete_document- No description in the README.
delete_by_query- No description in the README.
get_cluster_health- No description in the README.
get_cluster_stats- No description in the README.
list_aliases- No description in the README.
get_alias- No description in the README.
put_alias- No description in the README.
delete_alias- No description in the README.
Read from the README; names are kept only if the README contains them.
elasticsearch-mcp-server compared with similar servers
| Server | Reaches | Needs | Stars | Last update | Licence |
|---|---|---|---|---|---|
| elasticsearch-mcp-server (this page) | elasticsearch, opensearch, prod, staging | ELASTICSEARCH_API_KEY, ELASTICSEARCH_PASSWORD, MCP_API_KEY, OPENSEARCH_PASSWORD, PROD_API_KEY, STAGING_PASSWORD | 314 | 2026-10-19 | Apache-2.0 |
| elasticsearch-mcp | elasticsearch(1 shared) | ES_API_KEY | 24 | 2025-08-04 | MIT |
| CodeGraphContext | neo4j | NEO4J_PASSWORD | 4,360 | 2026-10-22 | MIT |
| dbhub | mysql, postgres, sqlite | None listed | 3,702 | 2026-10-21 | MIT |
| mcp-server-mysql | mysql | None listed | 2,173 | 2026-07-27 | MIT |
| mysql_mcp_server | mysql | MYSQL_PASSWORD | 1,402 | 2026-08-02 | MIT |
Ranked by services in common with elasticsearch-mcp-server, then by stars. Figures are from each repository when we last read it.
Common questions about elasticsearch-mcp-server
- What does elasticsearch-mcp-server do?
- This implementation serves as an MCP server, facilitating interaction between Elasticsearch and OpenSearch.
- How do I install elasticsearch-mcp-server?
- 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/cr7258/elasticsearch-mcp-server
- What does elasticsearch-mcp-server connect to, and what does it need?
- It reaches elasticsearch, opensearch, prod and staging. The credentials we found in its source are ELASTICSEARCH_API_KEY, ELASTICSEARCH_PASSWORD, MCP_API_KEY, OPENSEARCH_PASSWORD, PROD_API_KEY and STAGING_PASSWORD.
- Is elasticsearch-mcp-server official and is it maintained?
- We found nothing naming it as a vendor’s official server. Its repository has 314 GitHub stars and its state in our directory is listed. Its last commit we recorded was on 2026-10-19.
- What licence does elasticsearch-mcp-server use?
- The repository declares the Apache-2.0 licence.
More MCP servers for databases
- CodeGraphContext4,360 stars
- dbhub3,702 stars
- mcp-server-mysql2,173 stars
- mysql_mcp_server1,402 stars
- server874 stars
- supabase-mcp-server833 stars