mcp-server-elasticsearch MCP Server

IMPORTANT NOTE : this was built mainly by feeding examples to claude from the postgres mcp server.

Local serverstdio

What is the mcp-server-elasticsearch MCP Server?

mcp-server-elasticsearch is an MCP project maintained in the da1y/mcp-server-elasticsearch repository. The maintainer describes its purpose as “IMPORTANT NOTE : this was built mainly by feeding examples to claude from the postgres mcp server”. Read the project documentation for the complete scope.

Installation

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

Source

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

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
searchExecute search queries against indices
Input:index (string): Target index name
create_indexCreate new Elasticsearch indices
mappingsobject, optional): Index mappings configuration
settingsobject, optional): Index settings configuration
list_indicesList all available indices
index_documentIndex a document
idstring, optional): Document ID

How to install the mcp-server-elasticsearch MCP Server

{
  "mcpServers": {
    "elasticsearch": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-elasticsearch",
        "http://localhost:9200"
      ]
    }
  }
}

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