Feedback

Unofficial Elasticsearch MCP Server

@zx8086 Claim

Basic information

Runtime
node
Category
License
Apache-2.0 license
Transports
stdio
Author
zx8086
Submitted by
Community
Quality
25

About 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 natural language interactions.

Unofficial Elasticsearch MCP Server is a MCP server in the Databases category listed in the AddMCP.net directory, published by zx8086. Supported transport: stdio. Runtime: node. License: Apache-2.0 license. Source code is hosted on github.com.

Setup

{
    "mcpServers": {
        "mcp-server-elasticsearch-zx8086": {
            "command": "npx",
            "args": [
                "@elastic/mcp-server-elasticsearch"
            ]
        }
    }
}

Unofficial Elasticsearch MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "mcp-server-elasticsearch-zx8086": {
            "command": "npx",
            "args": [
                "@elastic/mcp-server-elasticsearch"
            ]
        }
    }
}

Unofficial Elasticsearch MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Unofficial Elasticsearch MCP Server?

A production-ready Model Context Protocol (MCP) server that connects AI assistants like Claude Desktop to Elasticsearch clusters. It provides 60+ Elasticsearch operations through natural language interactions, built on the Bun runtime for optimal performance and featuring advanced configuration management and security controls.

How to use Unofficial Elasticsearch MCP Server?

Install via npx @elastic/mcp-server-elasticsearch or clone and build locally. Configure required environment variables ES_URL and an authentication method (ES_API_KEY or ES_USERNAME/ES_PASSWORD). Add to your MCP client configuration (e.g., Claude Desktop) with the appropriate command and env settings, then start asking natural language questions about your Elasticsearch data.

Key features of Unofficial Elasticsearch MCP Server

  • 60+ Elasticsearch operations including search, indexing, and cluster management
  • Type-safe configuration system with environment variable validation
  • Read-only mode with strict/warning options for safe monitoring
  • Advanced search with automatic highlighting, aggregations, and SQL support
  • Efficient bulk indexing, updating, and deletion with helper APIs
  • Cluster health checks, node statistics, and performance metrics

Use cases of Unofficial Elasticsearch MCP Server

  • Natural language querying of Elasticsearch indices and mappings
  • Monitoring cluster health, node stats, and shard distributions
  • Performing production-safe read-only analytics and data exploration
  • Managing index templates, aliases, ILM policies, and enrich policies
  • Executing bulk document operations and complex SQL queries

Frequently asked questions

1 What runtime is required?

Bun is the recommended runtime; Node.js 18+ is also supported for npm compatibility.

2 Which Elasticsearch versions are supported?

Elasticsearch version 7.x or higher, with 8.x+ strongly recommended.

3 How do I authenticate to Elasticsearch?

Use either an API key (ES_API_KEY) or username/password (ES_USERNAME and ES_PASSWORD).

4 What transport modes are available?

Standard input/output (stdio) is the default; Server-Sent Events (sse) on port 8080 is also configurable.

5 Does the server support safe production monitoring?

Yes – enable read-only mode with READ_ONLY_MODE=true and strict mode to block all destructive operations, or warning mode to allow them with logged warnings.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬