Skip to content
Elastic MCP logo

Query Elasticsearch clusters with a simple protocol interface

Free, no paid tierVisit Website
Tracked since2026

What is Elastic MCP?

Editorial review
Elastic MCP puts an Elasticsearch cluster behind a Model Context Protocol interface. Elasticsearch stores and searches documents at scale, whether those documents are application logs, security events, observability traces or the product catalog behind a site search box, and the query language that makes it powerful is also what stops most people from querying it directly. The server closes that gap. An agent can list the indices on a cluster, read the field mappings for any of them to learn which fields exist and how each is analyzed, then run a search using Elasticsearch query DSL including aggregations, or express the same intent as an ES|QL piped query. Individual documents are retrievable by index and id, and cluster or shard level status is available for health checks. Connection is by cluster URL plus an API key, pointed at either a self managed cluster or Elastic Cloud. The working loop is list, inspect the mapping, draft, run, refine, which covers log investigation during an incident, ad hoc analysis over an events index, and sanity checking relevance after a mapping change. Issue a scoped API key limited to the indices in question, since a broad key would let an agent read everything the cluster holds.

Preview

Key Features

  • Lists cluster indices and returns field mappings for any of them
  • Runs searches with Elasticsearch query DSL, including aggregations
  • Runs ES|QL piped queries for filtering and summarizing rows
  • Retrieves individual documents by index and document id
  • Reports cluster and shard level status for health checks
  • Connects to self managed clusters or Elastic Cloud with a scoped API key

Pricing

Free

Elastic MCP is completely free to use with no hidden costs.

View pricing

Reviews

Improve Your Thinking Patterns Using ChatGPT cover
$99Free with your review

Review Elastic MCP, get a free AI guide

Share your experience and we will send you Improve Your Thinking Patterns Using ChatGPT, free.

Write a review

Best Elastic MCP Alternatives

Top alternatives based on features, pricing, and user needs.

View full list →

Most buyers shortlist 2 or 3 tools before committing. Pull a side-by-side comparison or browse the full alternatives shortlist below.

Explore More

Elastic MCP FAQ

How does Elastic MCP help during incident response for log investigation?

Elastic MCP lets an agent list indices, inspect field mappings, and run searches using Elasticsearch DSL or ES|QL, then refine the query based on results. This iterative loop enables log investigation without manually writing each query, speeding up incident response.

How does Elastic MCP differ from OpenSearch when connecting an AI agent to a search cluster?

Elastic MCP is specifically built for the Model Context Protocol to connect agents to Elasticsearch clusters, while OpenSearch is a separate search engine with its own API. The server works with Elasticsearch's query DSL and ES|QL and requires a cluster URL and scoped API key.

What are the main limitations of using Elastic MCP with an Elasticsearch cluster?

The server requires the user to scope an API key to specific indices, as a broad key would let the agent read everything. Effective use also depends on understanding Elasticsearch's query DSL or ES|QL, since the agent must draft correct queries.

Which teams benefit most from using Elastic MCP?

Engineering teams troubleshooting incidents benefit from the rapid log investigation loop. Analytics teams performing ad hoc analysis over event indices and platform teams validating search relevance after mapping changes also find it useful.

How is Elastic MCP priced?

Elastic MCP is free to use with no paid plan required, so there is no cost to deploy the server and connect it to an Elasticsearch cluster.

Can Elastic MCP retrieve individual documents by index and id?

Yes, Elastic MCP supports retrieving individual documents from an Elasticsearch cluster by specifying the index and document ID. This allows agents to fetch specific records for detailed inspection.

Does Elastic MCP work with both self-managed clusters and Elastic Cloud?

Yes, Elastic MCP connects to either a self-managed Elasticsearch cluster or Elastic Cloud using the cluster URL and an API key. This flexibility lets teams use it in diverse deployment environments.

How does the working loop of Elastic MCP allow agents to refine searches?

The loop is list indices, inspect the mapping, draft a query, run it, then refine based on results. This iterative process enables agents to adjust queries without manual intervention, improving search accuracy over time.

Source: elastic.co

Guides & Articles