Elasticsearch
Community
MCP server implementation that provides Elasticsearch interaction
About Elasticsearch MCP Server
Elasticsearch is an MCP server in the Data category. It exposes tools, resources to connected AI applications, enabling them to interact with elasticsearch capabilities through the standardized Model Context Protocol.
Features
Tools
Resources
Category
Data
Getting Started
To use the Elasticsearch MCP server in your AI application, follow these steps:
- Install the MCP client SDK for your platform
- Connect to the Elasticsearch MCP server
- Authenticate with your Elasticsearch credentials
- Start using the tools, resources, and prompts provided by the server
Example Code
// Connect to the Elasticsearch MCP server
const server = await mcp.connect("elasticsearch");
// List available tools
const tools = await server.tools.list();
// List available resources
const resources = await server.resources.list();
// List available prompts
const prompts = await server.prompts.list();
Installation
npm
npm install @mcp/server-elasticsearchpip
pip install mcp-server-elasticsearchCompatible With
Claude Desktop
Cursor
Windsurf
Zed
Any MCP-compatible client