elasticsearch-mcp

elasticsearch-mcp is a skill for Claude Code, Codex from Friz-zy/ai-capability-registry. It costs 15 tokens per session (364 once invoked), scanned A, original, MIT.

A Docker-based connection for talking to Elasticsearch, a search and analytics database, in natural language.

In plain words
What is it for?
Querying and working with Elasticsearch indices through an AI agent. It requires an Elasticsearch API key.
Why use it?
It removes the need to manually write every Elasticsearch request when working with indexed data.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Querying and working with Elasticsearch indices through an AI agent. It requires an Elasticsearch API key.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/friz-zy/ai-capability-registry/elasticsearch
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Friz-zy/ai-capability-registry --skill elasticsearch
Clone the repo
git clone --depth 1 https://github.com/Friz-zy/ai-capability-registry

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for elasticsearch-mcp

README.md
[![agentmods](https://agentmods.dev/badge/skills/friz-zy/ai-capability-registry/elasticsearch/github.svg)](https://agentmods.dev/skills/friz-zy/ai-capability-registry/elasticsearch)
Your own site
<a href="https://agentmods.dev/skills/friz-zy/ai-capability-registry/elasticsearch"><img src="https://agentmods.dev/badge/skills/friz-zy/ai-capability-registry/elasticsearch/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for elasticsearch-mcp

Your own site · 80×15
<a href="https://agentmods.dev/skills/friz-zy/ai-capability-registry/elasticsearch"><img src="https://agentmods.dev/badge/skills/friz-zy/ai-capability-registry/elasticsearch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 364 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00015 $0.00364
Opus 5 $0.00008 $0.00182
Sonnet 5 $0.00003 $0.00073
Haiku 4.5 $0.00002 $0.00036

Measured 9d ago against content hash db1cb6d6b9b8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

elasticsearch-mcp scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

mcp/servers/elasticsearch/SKILL.md · 61 lines

What it actually says

Elasticsearch

Interact with your Elasticsearch indices through natural language conversations.

When to use

  • Use Elasticsearch only when the task directly involves the relevant service, SaaS product, platform, or technology.

Connection

Docker stdio

{
  "command": "docker",
  "args": [
    "run",
    "--rm",
    "-i",
    "-e",
    "ES_API_KEY",
    "mcp/elasticsearch",
    "stdio"
  ]
}

MCP instructions

  • Use the MCP tools only for the user-requested service workflow and prefer read-only operations by default.
  • Confirm the target account, workspace, project, repository, or dataset before actions that can read private data or mutate remote state.
  • This server requires authorization or environment-provided credentials; ask the user before connecting or requesting access.

Docker launch notes

  • Launch through Docker stdio with docker run --rm -i -e ES_API_KEY mcp/elasticsearch stdio.
  • Confirm required environment variables before launch: ES_API_KEY.

References

Security policy

  • Trust: reviewed
  • Default mode: manual_review
  • Permission default: manual_review
  • Authentication: Unspecified in source metadata
  • Warning: Default mode is manual_review.
  • Warning: Permission default is manual_review.
  • Required posture: Complete manual review before connecting or invoking tools; this generated record does not grant approval.
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 61 lines · 15 tokens per session scan A db1cb6d6b9b8

Subscribe to this mod's changes

elasticsearch-mcp is a skill published in the GitHub repository Friz-zy/ai-capability-registry (9 stars, last pushed 4d ago), licensed MIT. It adds 15 tokens to every session and 364 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories