Verified OfficialVendor MaintainedHosted on elastic.co
Elasticsearch logo

Elasticsearch Official MCP Server

Install Now

Search, retrieve, and analyze Elasticsearch data in developer and agentic workflows

What is Elasticsearch?

Elasticsearch search, retrieve, and analyze elasticsearch data in developer and agentic workflows. The official Elasticsearch MCP server provides AI agents with standardized access to Elasticsearch's services, enabling powerful automation and integration capabilities that enhance developer productivity and streamline workflows.

This official MCP server is maintained and verified by Elasticsearch, ensuring reliability, security, and up-to-date functionality. Unlike community-maintained servers, this official integration provides long-term support, comprehensive documentation, and direct vendor assistance. The server is hosted on elastic.co, guaranteeing secure and reliable access to Elasticsearch's services.

Whether you're building AI-powered applications, automating workflows, or enhancing your development tools, the Elasticsearch MCP server provides a standardized way to connect AI agents with Elasticsearch's extensive platform capabilities. This integration enables natural language interactions with Elasticsearch, making it easier than ever to leverage Elasticsearch's features through AI assistants like Claude, ChatGPT, and Cursor.

Installation Instructions

Installation Instructions
Add Elasticsearch to your MCP-compatible client
https://{KIBANA_URL}/api/agent_builder/mcp
Cursor logoCursor Instructions
1

Go to Settings → Cursor Settings

2

Click "Add new global MCP Server"

3

Paste the MCP configuration into mcp.json and restart

Install with Cursor

Or manually add to your mcp.json:

{ "mcpServers": { "elasticsearch": { "url": "https://{KIBANA_URL}/api/agent_builder/mcp" } } }

Elasticsearch MCP Server Capabilities

The official Elasticsearch MCP server enables AI agents to:

  • Perform real-time web searches and information retrieval
  • Extract and summarize content from search results
  • Access up-to-date information from the web
  • Filter and rank search results intelligently
  • Combine multiple search sources for comprehensive answers
  • Retrieve and process data from Elasticsearch efficiently

These capabilities make it easy for AI agents to work with Elasticsearch as part of a larger automation strategy, enabling seamless integration between AI assistants and your existing tools.

Available Tools

The Elasticsearch MCP server provides 3 tools for AI agents to interact with the platform. Use the search below to find specific tools.

Tool NameDescription
agent_builder_toolsAccess Elastic Agent Builder tools including built-in and custom tools for chat and workflows
esql_queryExecute ES|QL queries against Elasticsearch data
index_searchSearch Elasticsearch indices through Agent Builder tools exposed via MCP

Last updated: January 29, 2026 at 12:00 PM

Common Use Cases

Automated Workflow Management

AI agents can use the Elasticsearch MCP server to automate repetitive tasks and manage workflows within Elasticsearch's platform.

Data Retrieval and Analysis

The MCP server allows AI agents to query and retrieve data from Elasticsearch, enabling intelligent data analysis and insights.

Integration with Development Tools

Developers can integrate Elasticsearch capabilities directly into their AI coding assistants for seamless workflows.

Frequently Asked Questions

How do I get a Elasticsearch API key?

Visit https://elastic.co, create an account, and generate an API key from your dashboard. Most tools offer a free tier to get started, making it easy to begin using the Elasticsearch MCP server.

Is this the official Elasticsearch MCP server?

Yes, this MCP server is officially provided and maintained by Elasticsearch. The endpoint https://{KIBANA_URL}/api/agent_builder/mcp is hosted on their official domain elastic.co, ensuring reliability and security.

What permissions does Elasticsearch MCP need?

The Elasticsearch MCP server requires appropriate API credentials and permissions based on the operations you want to perform. Check the documentation for specific permission requirements.

Can I use Elasticsearch MCP with multiple clients?

Yes, you can configure the same MCP server across Cursor, Claude Desktop, Cline, and other MCP-compatible clients simultaneously. Each client maintains its own configuration.

Is Elasticsearch MCP server free?

The MCP server itself is free to use, but you may need a Elasticsearch account and API access, which may have its own pricing tiers. Check https://elastic.co for current pricing information.

What can Elasticsearch MCP server do?

The Elasticsearch MCP server enables AI agents to search the web and retrieve information. Search, retrieve, and analyze Elasticsearch data in developer and agentic workflows This allows you to interact with Elasticsearch's platform through natural language commands in your AI assistant.

Troubleshooting

Connection Failed

Ensure your API key is correctly configured and your network allows outbound connections to elastic.co. Verify that the MCP endpoint URL https://{KIBANA_URL}/api/agent_builder/mcp is accessible from your network.

Authentication Error

Verify your API key is valid and has not expired. Generate a new key from https://elastic.co if needed. Make sure you're using the correct authentication method as specified in the documentation.

Server Not Responding

Check Elasticsearch's status page for any ongoing incidents. Try restarting your MCP client and verify that the server endpoint is correct. If issues persist, consult the official documentation or support channels.

Related MCP Servers

Explore other official MCP servers that work well with Elasticsearch:

Indeed job board platform for job search and recruitment
Ahrefs is an SEO platform for website analysis and keyword research
Deterministic mapping of application architecture and code objects to support discovery, impact analysis, and technical debt remediation

About Model Context Protocol

The Model Context Protocol (MCP) is an open standard that enables AI models to securely connect to external APIs, tools, and data sources. This official MCP server from Elasticsearch provides standardized access to their services, allowing AI agents to interact with Elasticsearch's platform seamlessly.

To manage all your MCP servers in one place, use Apigene's MCP Gateway, which provides centralized management, security, and governance for all your MCP server connections.

Learn more about MCP in our complete guide or browse our FAQ for common questions.

Server Information

Domain

elastic.co

MCP Endpoint

https://{KIBANA_URL}/api/agent_builder/mcp