Unofficial Elasticsearch MCP Server

A production-ready Model Context Protocol (MCP) server that connects AI assistants like Claude Desktop to Elasticsearch clusters. This server provides comprehensive Elasticsearch operations through…

Local serverstdioApache-2.0

What is the Unofficial Elasticsearch MCP Server?

Unofficial Elasticsearch MCP Server is an MCP project maintained in the zx8086/mcp-server-elasticsearch repository. The maintainer describes its purpose as “A production-ready Model Context Protocol (MCP) server that connects AI assistants like Claude Desktop to Elasticsearch clusters. This server provides comprehensive Elasticsearch operations through natural…”. Read the project documentation for the complete scope.

Installation

The documented npm package is @elastic/mcp-server-elasticsearch. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Configuration values

The example declares ES_URL, ES_API_KEY. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the Unofficial Elasticsearch MCP Server

{
  "mcpServers": {
    "elasticsearch-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@elastic/mcp-server-elasticsearch"
      ],
      "env": {
        "ES_URL": "your-elasticsearch-url",
        "ES_API_KEY": "YOUR_ES_API_KEY"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
ES_URLDeclared in the maintainer’s client configuration.Check documentation
ES_API_KEYDeclared in the maintainer’s client configuration.Check documentation