MCP Es
The Elasticsearch MCP Server is an experimental project that allows clients to directly connect to Elasticsearch data via the Model Context Protocol (MCP), supporting natural language interaction to query indexes, mappings, and search data.
2 points
6.4K

What is the Elasticsearch MCP Server?

The Elasticsearch MCP Server is an experimental tool that allows natural language interaction with Elasticsearch data via the Model Context Protocol (MCP). It enables you to query and manage Elasticsearch indexes in a simple conversational manner.

How to use the Elasticsearch MCP Server?

You can start using it by configuring an MCP client (such as Claude Desktop) to connect to the server and providing access information for Elasticsearch. You can ask questions in natural language, such as listing indexes, getting field mappings, or performing searches.

Applicable scenarios

It is suitable for scenarios that require quick access to and querying of Elasticsearch data, such as data analysis, report generation, and log retrieval. It is particularly suitable for non - technical personnel to directly interact with Elasticsearch.

Main features

Index listing
It can list all indexes in Elasticsearch, making it convenient for users to understand available data sources.
Field mapping
Get the field structure of a specific index to help users understand the data content and format.
Search function
Supports performing complex searches using the Elasticsearch query DSL to meet various data retrieval needs.
Shard information
View the shard distribution of an index, which helps optimize data storage and performance.
Advantages
Interact with Elasticsearch via natural language, reducing the usage threshold
Support multiple MCP clients, such as Claude Desktop, to enhance the user experience
Provide rich operation functions, such as index management and search
Limitations
Currently an experimental feature and has not been verified in a production environment
Requires some basic configuration knowledge of Elasticsearch
Does not support complex advanced query functions

How to use

Configure the MCP client
Add a new MCP server configuration in the MCP client (such as Claude Desktop) and enter the URL and authentication information of Elasticsearch.
Start the service
After ensuring the configuration is correct, start the MCP server and wait for the connection to succeed.
Start querying
Interact with the server in natural language in the MCP client, such as asking for an index list or performing a search.

Usage cases

Find all orders
The user wants to know what order data is available in Elasticsearch.
Get the product index mapping
The user needs to understand the field structure of the product index.

Frequently Asked Questions

What configurations do I need to use this service?
How to test if the service is working properly?
What should I do if I encounter connection problems?

Related resources

Official documentation
The GitHub repository for the Elasticsearch MCP Server, containing complete documentation and code.
List of MCP clients
A list of clients that support the MCP protocol, including Claude Desktop.
Video tutorial
A video tutorial demonstrating how to use the Elasticsearch MCP Server.

Installation

Copy the following command to your Client for configuration
{
     "mcpServers": {
       "elasticsearch-mcp-server": {
         "command": "npx",
         "args": [
           "-y",
           "@elastic/mcp-server-elasticsearch"
         ],
         "env": {
           "ES_URL": "your-elasticsearch-url",
           "ES_API_KEY": "your-api-key"
         }
       }
     }
   }

{
     "mcpServers": {
       "elasticsearch-mcp-server-local": {
         "command": "node",
         "args": [
           "/path/to/your/project/dist/index.js"
         ],
         "env": {
           "ES_URL": "your-elasticsearch-url",
           "ES_API_KEY": "your-api-key"
         }
       }
     }
   }
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

M
MCP
The Microsoft official MCP server provides search and access functions for the latest Microsoft technical documentation for AI assistants
8.7K
5 points
A
Annas MCP
The MCP server and CLI tool of Anna's Archive are used to search for and download documents on the platform and support access through an API key.
Go
6.7K
4.5 points
S
Search1api
The Search1API MCP Server is a server based on the Model Context Protocol (MCP), providing search and crawling functions, and supporting multiple search services and tools.
TypeScript
14.6K
4 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
44.7K
4.3 points
B
Bing Search MCP
An MCP server for integrating Microsoft Bing Search API, supporting web page, news, and image search functions, providing network search capabilities for AI assistants.
Python
15.1K
4 points
M
MCP Alchemy
Certified
MCP Alchemy is a tool that connects Claude Desktop to multiple databases, supporting SQL queries, database structure analysis, and data report generation.
Python
12.7K
4.2 points
P
Postgresql MCP
A PostgreSQL database MCP service based on the FastMCP library, providing CRUD operations, schema inspection, and custom SQL query functions for specified tables.
Python
13.0K
4 points
M
Modelcontextprotocol
Certified
This project is an implementation of an MCP server integrated with the Sonar API, providing real-time web search capabilities for Claude. It includes guides on system architecture, tool configuration, Docker deployment, and multi-platform integration.
TypeScript
13.6K
5 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
16.6K
4.3 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
14.8K
4.5 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
24.5K
5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
44.7K
4.3 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
20.2K
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
44.3K
4.5 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
30.2K
4.8 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
14.8K
4.5 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIBase