mcp-server-elasticsearch
If you are the rightful owner of mcp-server-elasticsearch and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This server connects agents to your Elasticsearch data using the Model Context Protocol, allowing interaction with Elasticsearch indices through natural language conversations.
The Elasticsearch MCP Server is an experimental tool designed to facilitate natural language interactions with Elasticsearch data. By leveraging the Model Context Protocol (MCP), this server allows users to connect directly to their Elasticsearch instances from any MCP Client, such as Claude Desktop. The server supports various operations like listing indices, fetching field mappings, and performing searches using Elasticsearch's query DSL. It is particularly useful for users who want to query their Elasticsearch data without needing to write complex scripts or queries manually. The server is not production-ready and is intended for research and evaluation purposes. It requires an Elasticsearch instance and appropriate authentication credentials to function. The server can be easily set up using a published npm package, and it supports both API key and basic authentication methods. Additionally, it offers tools for local development and debugging, making it a flexible option for developers looking to extend its capabilities.
Features
- Direct connection to Elasticsearch data via MCP
- Natural language interaction with Elasticsearch indices
- Supports listing indices, fetching mappings, and performing searches
- Easy setup with npm package
- Local development and debugging support
Tools
list_indices
List all available Elasticsearch indices
get_mappings
Get field mappings for a specific Elasticsearch index
search
Perform an Elasticsearch search with the provided query DSL
get_shards
Get shard information for all or specific indices