AcademyMCP serversData and reporting

Elasticsearch MCP Server

Data and engineering teams that want an AI assistant to query and inspect their Elasticsearch or OpenSearch clusters.

  • Recommendedour rating
  • 311gitHub stars
  • Apache-2.0licence
  • 54 days agolast update
claude mcp add elasticsearch-mcp-server -e ELASTICSEARCH_CLUSTERS={"prod": {"hosts": ["https://prod-es:9200"], "api_key": "<PROD_API_KEY>", "verify_certs": true}, "staging": {"hosts": ["https://staging-es:9200"], "username": "elastic", "password": "<STAGING_PASSWORD>"}} -e DEFAULT_CLUSTER=prod -- uvx elasticsearch-mcp-server
README.md

Loading the file...

Custom AI agents

Want this running in your company?

We build AI agents like this around your own processes, connect them to your tools and data, and keep them running. The same team builds and runs them.

  • Free 20-minute call to look at your use case
  • Connected to your systems, with the right permissions
  • Built and run by the same team, in English or Spanish

What it does

An MCP server that lets an AI assistant work with Elasticsearch and OpenSearch. It offers tools to list and inspect indices, search documents, manage data streams and manage the cluster, plus a general request tool for any other API call.

Use cases

  1. 01List indices and read their mappings and settings
  2. 02Search documents using plain language requests
  3. 03Check cluster details without writing API calls

Questions about
Elasticsearch MCP Server.

What is Elasticsearch MCP Server used for?

Data and engineering teams that want an AI assistant to query and inspect their Elasticsearch or OpenSearch clusters. An MCP server that lets an AI assistant work with Elasticsearch and OpenSearch. It offers tools to list and inspect indices, search documents, manage data streams and manage the cluster, plus a general request tool for any other API call.

How do I install Elasticsearch MCP Server?

Run this in your terminal: claude mcp add elasticsearch-mcp-server -e ELASTICSEARCH_CLUSTERS={"prod": {"hosts": ["https://prod-es:9200"], "api_key": "<PROD_API_KEY>", "verify_certs": true}, "staging": {"hosts": ["https://staging-es:9200"], "username": "elastic", "password": "<STAGING_PASSWORD>"}} -e DEFAULT_CLUSTER=prod -- uvx elasticsearch-mcp-server

Is Elasticsearch MCP Server open source?

Yes. The code is on GitHub (cr7258/elasticsearch-mcp-server) under the Apache-2.0 licence.

Is Elasticsearch MCP Server safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.