Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Elasticsearch MCP server

by cr7258/elasticsearch-mcp-serverApache-2.0 licenceAudited 5 Oct 2026 · source e9c188832da3

PyPI elasticsearch-mcp-serverstreamable-http★ 308
!CAUTIONGrade B · 89/100 · 5 Oct 2026 · e9c1888
308GitHub stars

Is it safe? With care — CAUTION, grade B (89/100). It exposes 24 tools: 15 read, 4 write and 5 destructive. The audit recorded 9 findings (0 critical, 0 high, 2 medium, 7 low). Maintainer's description: A Model Context Protocol (MCP) server implementation that provides Elasticsearch and OpenSearch interaction.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Elasticsearch MCP server (cr7258/elasticsearch-mcp-server)”. Retrieved 5 Oct 2026. https://modelsatlas.com/mcp/cr7258/elasticsearch-1

Trust audit

Audit 0.4.1 · full source read 5 Oct 2026

Trust score89/100!CAUTION B
0 critical0 high2 medium7 low0 info

9 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared2 observations
  • NetworkDeclared3 observations
  • ShellNone observedNothing seen in the source
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityWARN 1 finding
L1 Static sourceSecrets, path traversal, supply chainPASS 7 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS
L3 InventoryDeclared tools match the sourceWARN 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner cr7258User accountAccount type recorded when we read the repository.
  • PackagePublished on PyPIelasticsearch-mcp-server, no version recorded
  • LicenceApache-2.0From the repository, as read at the audited commit.
  • Last push2 days agoActivity of the repository when we read it.
  • Source commit reade9c188832da3The audit covers exactly this commit, read on 5 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory24 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (9)

Sorted by severity

MEDIUMInventory / provenanceinv.binary · mcp_client/spring-ai/gradle/wrapper/gradle-wrapper.jar
F-13 Inventory / provenanceCWE-1104Layer L0
gradle-wrapper.jar
Why
a compiled or binary member cannot be reviewed from source
Fix
ship source, or explain the binary in the README
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
delete_alias, delete_by_query, delete_data_stream, delete_document, delete_index
Why
5 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWNetwork egressnet.raw_ip · README.md:369
F-04 Network egressCWE-200 · CWE-319Layer L1
# By default, the SSE MCP server will serve on http://127.0.0.1:8000/sse
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · README.md:379
F-04 Network egressCWE-200 · CWE-319Layer L1
# By default, the SSE MCP server will serve on http://127.0.0.1:8000/sse
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · README.md:400
F-04 Network egressCWE-200 · CWE-319Layer L1
# By default, the Streamable HTTP MCP server will serve on http://127.0.0.1:8000/mcp
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · README.md:410
F-04 Network egressCWE-200 · CWE-319Layer L1
# By default, the Streamable HTTP MCP server will serve on http://127.0.0.1:8000/mcp
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · tests/e2e/containers/conftest.py:193
F-04 Network egressCWE-200 · CWE-319Layer L1
base_url = f"http://127.0.0.1:{local_port}"
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.tls_off · .github/workflows/helm-chart.yaml:22
F-04 Network egressCWE-200 · CWE-319Layer L1
run: helm plugin install https://github.com/helm-unittest/helm-unittest --version v0.3.2 --verify=false
Why
certificate verification is disabled
Fix
leave verification on
LOWNetwork egressnet.tls_off · .github/workflows/test.yaml:50
F-04 Network egressCWE-200 · CWE-319Layer L1
run: helm plugin install https://github.com/helm-unittest/helm-unittest --version v0.3.2 --verify=false
Why
certificate verification is disabled
Fix
leave verification on

Tools it exposes

24 declared in source · 5 destructive

15 read4 write5 destructive

5 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolRiskWhat it does
delete_aliasdestructiveNo description in the source
delete_by_querydestructiveNo description in the source
delete_data_streamdestructiveDelete one or more data streams.
delete_documentdestructiveNo description in the source
delete_indexdestructiveNo description in the source
create_data_streamwriteCreate a new data stream.
create_indexwriteNo description in the source
put_aliaswriteNo description in the source
write_operationwritereturn
analyze_textreadNo description in the source
failing_toolreadraise ValueError(
general_api_requestreadPerform a general HTTP API request.
get_aliasreadNo description in the source
get_cluster_healthreadNo description in the source
get_cluster_statsreadNo description in the source
get_data_streamreadGet information about one or more data streams.
get_documentreadNo description in the source
get_indexreadNo description in the source
index_documentreadNo description in the source
list_aliasesreadNo description in the source
list_indicesreadNo description in the source
read_operationreadreturn
search_documentsreadNo description in the source
succeeding_toolreadreturn

Install

audited commit e9c1888

Read the findings first. The most severe is Inventory / provenance (medium) at mcp_client/spring-ai/gradle/wrapper/gradle-wrapper.jar.

One-click links open your editor with the config below filled in, exactly as the snippets show it. The audit covers commit e9c1888 only.

claude mcp add elasticsearch-mcp-server --env MCP_API_KEY=${MCP_API_KEY} -- uvx elasticsearch-mcp-server

The command does not pin a version; the audit covers commit e9c188832da3. Transport: streamable-http. Reads this environment variable: MCP_API_KEY. Give it the narrowest token it needs.

Audit history

  1. !CAUTION B 89 / 100

    First audit · e9c188832da3

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/cr7258/elasticsearch-1/badge.svg)](https://modelsatlas.com/mcp/cr7258/elasticsearch-1/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about Elasticsearch MCP server

What is the Elasticsearch MCP server?
A Model Context Protocol (MCP) server implementation that provides Elasticsearch and OpenSearch interaction.
What tools does Elasticsearch expose?
24 in total: 15 read-only, 4 that write, and 5 that can delete or overwrite (delete_alias, delete_by_query, delete_data_stream, delete_document, delete_index). Every one is listed on this page with its risk.
Is Elasticsearch safe to connect to an agent?
With care. The audit graded it B (89/100) and found 9 things worth knowing before you trust this server, listed below with the exact line each was found on. Separately from the audit: 5 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Elasticsearch need?
It reads MCP_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Elasticsearch run?
It speaks streamable-http, so it runs as a service you connect to over the network. It is published on PyPI as elasticsearch-mcp-server.
How current is this page?
The grade is for one exact copy of the source (e9c188832da3), read on 2026-10-05. The repository is watched and re-audited when it changes.

Sources

  • cr7258/elasticsearch-mcp-server on GitHub — the source we read, its licence, stars and activityObserved · 5 Oct 2026
  • ModelsAtlas trust audit — CAUTION verdict for commit e9c188832da3Observed · 5 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.