VOOZH about

URL: https://hub.docker.com/r/mcp/elasticsearch

⇱ mcp/elasticsearch - Docker Image


mcp/elasticsearch

Verified Publisher

By mcp

Updated 12 months ago

Interact with your Elasticsearch indices through natural language conversations.

Image
Machine learning & AI
16

10K+

mcp/elasticsearch repository overview

Elasticsearch MCP Server

Interact with your Elasticsearch indices through natural language conversations.

What is an MCP Server?

MCP Info

Image Building Info

AttributeDetails
Dockerfilehttps://github.com/elastic/mcp-server-elasticsearch/blob/b2912b2ba544060962c7fabf38eb36cc940e9098/Dockerfile
Commitb2912b2ba544060962c7fabf38eb36cc940e9098
Docker Image built byDocker Inc.
Docker Scout Health Score👁 Docker Scout Health Score
Verify SignatureCOSIGN_REPOSITORY=mcp/signatures cosign verify mcp/elasticsearch --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub
LicenceApache License 2.0

Available Tools (5)

Tools provided by this ServerShort Description
esqlElasticsearch ES
get_mappingsGet ES index mappings
get_shardsGet ES shard information
list_indicesList ES indices
searchElasticsearch search DSL query

Tools Details

Tool: esql

Perform an Elasticsearch ES|QL query.

ParametersTypeDescription
querystringComplete Elasticsearch ES

This tool is read-only. It does not modify its environment.


Tool: get_mappings

Get field mappings for a specific Elasticsearch index

ParametersTypeDescription
indexstringName of the Elasticsearch index to get mappings for

This tool is read-only. It does not modify its environment.


Tool: get_shards

Get shard information for all or specific indices.

ParametersTypeDescription
indexstring optionalOptional index name to get shard information for

This tool is read-only. It does not modify its environment.


Tool: list_indices

List all available Elasticsearch indices

ParametersTypeDescription
index_patternstringIndex pattern of Elasticsearch indices to list

This tool is read-only. It does not modify its environment.


Perform an Elasticsearch search with the provided query DSL.

ParametersTypeDescription
indexstringName of the Elasticsearch index to search
query_bodyobjectComplete Elasticsearch query DSL object that can include query, size, from, sort, etc.
fieldsarray optionalName of the fields that need to be returned (optional)

This tool is read-only. It does not modify its environment.


Use this MCP Server

{
 "mcpServers": {
 "elasticsearch": {
 "command": "docker",
 "args": [
 "run",
 "-i",
 "--rm",
 "-e",
 "ES_URL",
 "-e",
 "ES_API_KEY",
 "mcp/elasticsearch",
 "stdio"
 ],
 "env": {
 "ES_URL": "http://localhost:9200",
 "ES_API_KEY": "your-api-key"
 }
 }
 }
}

Why is it safer to run MCP Servers with Docker?

Install from MCP:Hub

Tag summary

latest

Content type

Image

Digest

sha256:9c978b827…

Size

9.1 MB

Last updated

12 months ago

docker pull mcp/elasticsearch

This week's pulls

Pulls:

536

Last week