Enterprise DNA
M MCP Servers Developer low

cr7258/elasticsearch-mcp-server

by Various

A Model Context Protocol (MCP) server implementation that provides Elasticsearch and OpenSearch interaction.

C

MCP

cr7258/elasticsearch-mcp-server

Added 1 June 2026

Overview

An MCP server that lets AI agents query and manage Elasticsearch and OpenSearch clusters. It exposes cluster operations, index management, document CRUD, and search via the Model Context Protocol.

Best for

Best for
Developers who want to add Elasticsearch or OpenSearch query and management capabilities to MCP-based AI agents.

Use cases

  • Run natural language queries against Elasticsearch indices
  • Automate index creation, mapping updates, and document indexing
  • Monitor cluster health and manage snapshots from an AI assistant

How to use

Install

uvx elasticsearch-mcp-server --transport sse

Tools exposed

  • elasticsearch-mcp-server-es7
  • elasticsearch-mcp-server
  • elasticsearch-mcp-server-es9
  • opensearch-mcp-server

Tested with

Claude Desktop

Example client config

{\n  "mcpServers": {\n    "elasticsearch-mcp-server": {\n      "command": "uvx",\n      "args": [\n        "elasticsearch-mcp-server"\n      ],\n      "env": {\n        "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>\"}}",\n        "DEFAULT_CLUSTER": "prod"\n      }\n    }\n  }\n}

Notes

An MCP server that lets AI agents query and manage Elasticsearch and OpenSearch clusters. It exposes cluster operations, index management, document CRUD, and search via the Model Context Protocol.

285 stars on GitHub. Last updated 2026-05-22. Licensed Apache-2.0.

Use cases

  • Run natural language queries against Elasticsearch indices
  • Automate index creation, mapping updates, and document indexing
  • Monitor cluster health and manage snapshots from an AI assistant

Pros

  • Covers a broad range of Elasticsearch and OpenSearch operations
  • Simple MCP integration for existing AI agent workflows
  • Actively maintained with 285 GitHub stars

Cons

  • Requires running a separate MCP server process
  • Limited to Python ecosystem and MCP-compatible clients
  • No built-in authentication or authorization layer

Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.

Pros

  • Covers a broad range of Elasticsearch and OpenSearch operations
  • Simple MCP integration for existing AI agent workflows
  • Actively maintained with 285 GitHub stars

Cons

  • Requires running a separate MCP server process
  • Limited to Python ecosystem and MCP-compatible clients
  • No built-in authentication or authorization layer
Free 27-page guide

Get the free Developer’s Field Guide

A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.

Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.

No spam. Unsubscribe any time.

Running a business, not writing the code? See the MCP servers picked for operators, and get your first one wired up with us.

Operator picks