elasticsearch-mcp-server

Provides an MCP (Model Context Protocol) server (implemented with Spring AI MCP) that exposes Elasticsearch operations as MCP tools. It supports cluster health/statistics, CAT endpoints for mappings/indices/aliases, shard allocation queries, and document search against Elasticsearch indexes (including an AI-generated queryDSL workflow).

Evaluated Apr 04, 2026 (17d ago)
Repo ↗ Search mcp elasticsearch spring-boot search data-processing agent-tools
⚙ Agent Friendliness
49
/ 100
Can an agent use this?
🔒 Security
37
/ 100
Is it safe for agents?
⚡ Reliability
31
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
65
Documentation
55
Error Messages
0
Auth Simplicity
60
Rate Limits
10

🔒 Security

TLS Enforcement
30
Auth Strength
45
Scope Granularity
20
Dep. Hygiene
50
Secret Handling
40

README indicates credentials can be provided via JVM -Dusername/-Dpassword (risk of leaking via process listings/logging if not handled carefully). It does not document MCP server-side authentication/authorization, tool-level permissioning, or request filtering. Elasticsearch connection hosts example uses http:// (may allow plaintext unless users configure https).

⚡ Reliability

Uptime/SLA
0
Version Stability
55
Breaking Changes
45
Error Recovery
25
AF Security Reliability

Best When

You want to connect an MCP-capable agent client to an Elasticsearch cluster and expose a curated set of Elasticsearch operations as callable MCP tools (self-hosted).

Avoid When

You need strict rate-limit guarantees, robust documented error codes/retry behavior, or a turnkey secure authentication model for the MCP server itself without additional hardening.

Use Cases

  • Agent-driven Elasticsearch cluster monitoring (health, stats, shard allocation)
  • Schema exploration for indices and fields (mappings)
  • Discovery of indices/aliases using wildcard/name-based queries
  • Search and retrieval workflows over Elasticsearch documents through an MCP client
  • Building agentic data processing/search pipelines on top of Elasticsearch

Not For

  • Production-grade multi-tenant deployments without additional access control
  • Environments requiring fine-grained authorization per tool/operation by the MCP server itself
  • Teams needing a hosted SaaS API with a published SLA

Interface

REST API
No
GraphQL
No
gRPC
No
MCP Server
Yes
SDK
No
Webhooks
No

Authentication

Methods: Elasticsearch basic auth via JVM system properties (as implied by -Dusername/-Dpassword)
OAuth: No Scopes: No

README describes optional passing of Elasticsearch credentials to the MCP server via command-line -Dusername/-Dpassword. It does not describe authentication for the MCP interface itself (i.e., access control to the MCP server).

Pricing

Free tier: No
Requires CC: No

Self-hosted open-source-style project (per provided metadata license), so no vendor pricing described.

Agent Metadata

Pagination
unknown
Idempotent
False
Retry Guidance
Not documented

Known Gotchas

  • Document search tool relies on AI-generated queryDSL; unexpected query generation may produce broad/expensive searches.
  • Elasticsearch version compatibility is configuration-dependent (README mentions Elasticsearch 7.16+ and configurable client settings), so mismatches may cause tool failures.

Alternatives

Full Evaluation Report

Comprehensive deep-dive: security analysis, reliability audit, agent experience review, cost modeling, competitive positioning, and improvement roadmap for elasticsearch-mcp-server.

AI-powered analysis · PDF + markdown · Delivered within 30 minutes

$99

Package Brief

Quick verdict, integration guide, cost projections, gotchas with workarounds, and alternatives comparison.

Delivered within 10 minutes

$3

Score Monitoring

Get alerted when this package's AF, security, or reliability scores change significantly. Stay ahead of regressions.

Continuous monitoring

$3/mo

Scores are editorial opinions as of 2026-04-04.

8642
Packages Evaluated
17761
Need Evaluation
586
Need Re-evaluation
Community Powered