The Elasticsearch MCP Server (now deprecated in favor of Elastic Agent Builder) provides AI agents with natural language access to Elasticsearch indices through the Model Context Protocol, enabling agents to query, analyze, and retrieve data without requiring custom APIs. The server offers tools for connecting AI clients to Elasticsearch clusters via stdio or streamable-HTTP protocols, supporting authentication through API keys or username/password credentials. It solves the problem of integrating Elasticsearch data sources with AI agents, allowing them to interact with indexed data through natural language conversations rather than direct API calls.
claude mcp add --transport stdio elastic-mcp-server-elasticsearch uvx mcp-server-elasticsearch