Elasticsearch MCP
Search indices and run queries against Elasticsearch from an agent.
Last verified: September 20, 2026
How to Install Elasticsearch MCP
$npx -y @elastic/mcp-server-elasticsearchRequires Claude Desktop, Cursor, Windsurf, or another MCP-compatible client.
About Elasticsearch MCP
Elastic's MCP server lets an agent list indices, inspect mappings and run search queries against an Elasticsearch or OpenSearch cluster in natural language. For log-heavy environments this collapses the usual loop of writing a query DSL blob by hand, and it pairs well with observability workflows where the agent already has error context. Read-only configuration is strongly recommended in production.
Elasticsearch MCP is a Search MCP server designed for researchers, analysts, and engineers building grounded agents. It enables giving AI assistants live, source-grounded web access by wrapping a search provider and page-fetch step as MCP tools. Key capabilities include live web search with snippets and urls, optional full-page fetch for cited sources, configurable result counts and freshness windows, and structured tool calls that work cleanly inside an LLM context. It integrates with Google, Bing, Brave, Tavily, Exa, Perplexity, and SerpAPI, and is best suited for researchers, analysts, and engineers building grounded agents who need research and competitive analysis.
Key Features
- elasticsearch
- search
- logs
- observability
- query-dsl
Pricing
- Core MCP server
- Community support
- Works with any MCP client
- Everything in Free
- Higher usage limits
- Priority support
- Everything in Pro
- SLA & SSO
- Dedicated support
Tier details are indicative — visit the Elasticsearch MCP website for current pricing.
Pros & Cons
Pros
- Lets the assistant answer about events past its training cutoff
- Cites sources you can actually click
- Replaces most simple RAG pipelines
Cons
- Quality depends on the underlying search provider
- Token costs scale with how much page content you pull
- Rate limits can bite on bursty agent runs
Best For
- Research and competitive analysis
- Source-grounded answers in chat UIs
- Fact-checking long-form drafts
- Replacing manual Googling in agent loops
Screenshots
Screenshots coming soon —
Submit yours →Our Take on Elasticsearch MCP
Removes the pain of hand-writing query DSL. Lock it to read-only credentials before pointing it at a production cluster.