mcp-server-elasticsearch

Connect AI agents to Elasticsearch for natural-language queries and analysis.

Local

Install

See setup instructions on www.elastic.co

What it does

The Elasticsearch MCP Server links MCP-compatible AI clients to an Elasticsearch cluster so agents can inspect and query indices without custom APIs. It exposes tools for listing indices, reading field mappings, running query DSL searches, executing ES|QL, and retrieving shard information, which lets an agent answer data questions through ordinary conversation.

It is aimed at teams already running Elasticsearch 8.x or 9.x who want their assistant to explore existing data. The server ships as a Docker image and is configured with an Elasticsearch URL plus either an API key or a username and password. It supports the stdio transport for clients such as Claude Desktop, Cursor, and VS Code, and streamable-HTTP for web integrations with concurrent clients; SSE is deprecated. In HTTP mode a health check is available at the /ping path.

Key limitations:

  • The project is deprecated and receives only critical security updates.
  • Elastic Agent Builder's MCP endpoint supersedes it in Elastic 9.2.0+ and Serverless projects.
  • Network access between the container and cluster is required.

Compatibility and authentication

Connection
Local
Transports
Unspecified
Authentication
Unknown

Security and permissions

  • When you run the server locally, it runs with your user permissions.
  • Authentication type: Unknown.

Repository data

Stars
736
Last push
Nov 23, 2026
License
Apache-2.0
Archived
No

Other Elasticsearch MCP servers

Compare servers
  • Production RAG platform with graph, vector, and full-text hybrid retrieval

    • Elasticsearch
    • Qdrant
    Updated
  • Generate secure REST and MCP APIs from structured databases

    • BigQuery
    • ClickHouse
    • Elasticsearch
    Updated
  • Database client for VS Code with built-in MCP access for AI agents

    • BigQuery
    • Chroma
    • ClickHouse
    Updated

FAQ

What license does mcp-server-elasticsearch use?
Apache-2.0
Does mcp-server-elasticsearch run locally or remotely?
It runs locally.
Is mcp-server-elasticsearch an official server?
It is listed as a community server.

Comments

No comments yet.

Embed a listing badge

Featured on AI Agents Marketplace
<a href="https://aiagentsmarketplace.dev/mcp/mcp-server-elasticsearch"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
See badge options