Elasticsearch
@MCP-Mirror
About Elasticsearch
Mirror of
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"da1y_mcp-server-elasticsearch": {
"command": "docker",
"args": [
"run",
"-d",
"--name",
"elasticsearch",
"-p",
"9200:9200",
"-p",
"9300:9300",
"-e",
"discovery.type=single-node",
"-e",
"xpack.security.enabled=false",
"docker.elastic.co/elasticsearch/elasticsearch:8.11.3"
]
}
}
}Tools
4Execute search queries against indices
Create new Elasticsearch indices
List all available indices
Index a document
Overview
What is Elasticsearch?
This is a Model Context Protocol (MCP) server for Elasticsearch clusters. It enables LLMs to manage indices and execute search queries by exposing tools and index mapping resources.
How to use Elasticsearch?
Add the server to the mcpServers section of your claude_desktop_config.json using the command npx -y @modelcontextprotocol/server-elasticsearch <url> (e.g., http://localhost:9200). A local Elasticsearch instance can be started with the provided Docker one‑liner docker run -d --name elasticsearch -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" -e "xpack.security.enabled=false" docker.elastic.co/elasticsearch/elasticsearch:8.11.3.
Key features of Elasticsearch?
- Execute search queries against indices using Elasticsearch Query DSL.
- Create new indices with optional mappings and settings.
- List all available indices.
- Index documents with an optional custom ID.
- Automatically discover index mappings as resources.
Use cases of Elasticsearch?
- Let an AI assistant search an Elasticsearch index for relevant documents.
- Automatically create new indices with proper mappings for application data.
- List all indices in a cluster to understand existing data organization.
- Index incoming documents
More Databases MCP servers
Postgres Mcp
crystaldbaPostgres MCP Pro provides configurable read/write access and performance analysis for you and your AI agents.
mcp-server-duckdb
ktanaka101A Model Context Protocol (MCP) server implementation for DuckDB, providing database interaction capabilities
MotherDuck's DuckDB MCP Server
motherduckdbLocal MCP server for DuckDB and MotherDuck
MCP MongoDB Server
kiliczshA Model Context Protocol Server for MongoDB
ClickHouse MCP Server
ClickHouseConnect ClickHouse to your AI assistants.
Comments