Elasticsearch MCP server
io.github.TocharianOU/elasticsearch·v0.9.1·8 starsElasticsearch MCP Server for ES 5.x-9.x with a query harness, field validation and full API access
not scanned yet
8 stars220 downloads/wk
Reviews
Write oneNobody has reviewed Elasticsearch yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Elasticsearch tools
No tool declarations could be read from the package source. They show once the server is installed.
How Elasticsearch compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 78/100
- higher than 57% of 48,255 servers
- GitHub stars
- 8
- more than 86% of 28,688 servers
- Downloads a week
- 220
- more than 76% of 12,191 servers with a package
Release history: 2 versions in the registry since 2026-02-02, latest 2026-10-11, typically one every 251 days.
Install Elasticsearch in Claude Code, Cursor or VS Code
Runs npx -y @tocharianou/elasticsearch-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add elasticsearch -- npx -y @tocharianou/elasticsearch-mcp
What the publisher says
From the Elasticsearch repository's README, as published. We do not edit it. Read it on GitHub
Elasticsearch MCP Server
Enhanced Elasticsearch MCP Server Solution - Security & Threat Analysis Focused
This is a professional security-focused solution maintained by TocharianOU. It enables comprehensive interaction with all Elasticsearch APIs, specifically optimized for security analysis, threat detection, and incident investigation. Features include advanced security monitoring, anomaly detection, threat hunting, root cause analysis, and comprehensive audit capabilities.
Key Security Features:
- Real-time threat detection and security monitoring
- Advanced machine learning for anomaly detection
- Root cause analysis and attack chain tracking
- Security incident investigation and forensics
- Compliance monitoring and audit reporting
Note: This solution is designed for security professionals, SOC teams, and threat analysts.
Connect to your Elasticsearch data directly from any MCP Client (such as Claude Desktop) using the Model Context Protocol (MCP). Interact with your Elasticsearch security data through natural language queries for advanced threat analysis and incident response.
Prerequisites
- An Elasticsearch instance
- Elasticsearch authentication credentials (API key or username/password)
- MCP Client (e.g. Claude Desktop) or HTTP client for remote access
Multi-Version Elasticsearch Support
Automatically supports Elasticsearch 5.x - 9.x with intelligent version detection:
Key Features:
- Automatic version detection - No manual configuration needed
- Smart client selection - Loads the right client for your ES version
- Adaptive features - Disables unsupported tools (e.g., Data Streams on ES < 7.9, ES|QL on ES < 8.11)
- Version-specific optimizations - Handles API differences transparently
What happens:
Connect → Detect ES version → Load matching client → Register compatible toolsThe Query Harness (v0.9.0)
Since v0.9.0 the server ships a query harness: a deterministic layer between the AI model and your cluster. The design philosophy is simple:
The model steers; the harness knows.
Intent ("find failed logins by user") belongs to the model.
Correctness (real field names, aggregatability, version quirks) belongs to the harness.
What this means in practice — at the level of principles, not internals:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Elasticsearch: common questions
- Is Elasticsearch MCP server safe?
- Mostly: it is graded B (78/100). Read the Elasticsearch safety report
- How do I install Elasticsearch?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Elasticsearch need an API key?
- Yes. The registry entry asks for
ES_API_KEY,ES_PASSWORD. - Is Elasticsearch maintained?
- The last commit was 67 days ago (2026-08-28). The latest release is v0.9.1.
- How does Elasticsearch compare with other MCP servers?
- safety score 78/100 (higher than 57% of 48,255 servers); github stars 8 (more than 86% of 28,688 servers); downloads a week 220 (more than 76% of 12,191 servers with a package). Full comparison.