Enables LLMs to manage Elasticsearch indices, execute complex search queries, and access index mappings via the Model Context Protocol for seamless cluster interaction and data management.
Unlock the full potential of Elasticsearch MCP Server through LangDB's AI Gateway. Get enterprise-grade security, analytics, and seamless integration with zero configuration.
Free tier available • No credit card required
A Model Context Protocol server for Elasticsearch clusters. Enables LLMs to manage indices and execute queries.
IMPORTANT NOTE : this was built mainly by feeding examples to claude from the postgres mcp server.
search
index
(string): Target index namequery
(object): Elasticsearch query DSLcreate_index
index
(string): Index namemappings
(object, optional): Index mappings configurationsettings
(object, optional): Index settings configurationlist_indices
index_document
index
(string): Target index nameid
(string, optional): Document IDdocument
(object): Document contentThe server provides mapping information for each index:
elasticsearch:////schema
)
Add to the "mcpServers" section of your claude_desktop_config.json
:
{ "mcpServers": { "elasticsearch": { "command": "npx", "args": [ "-y", "@modelcontextprotocol/server-elasticsearch", "http://localhost:9200" ] } } }
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
Replace the URL with your Elasticsearch endpoint.
Licensed under MIT License. Free to use, modify, and distribute. See LICENSE file for details.
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!