ClaudeMap

Elasticsearch MCP Server

Elastic's official MCP server for natural-language Elasticsearch querying (deprecated — see Agent Builder).

MCP Serversofficialelasticsearchsearchdockerdeprecated

Elastic's official MCP server that connects AI agents to Elasticsearch: natural-language queries over indices, mappings, and search, exposed via a Docker image with stdio or Streamable HTTP transport. Officially deprecated — Elastic now ships its MCP endpoint through Elastic Agent Builder (9.2.0+ / Serverless) and this server receives only critical security updates. Still listed because it remains the reference for self-managed setups and most tutorials target it.

What it does

  • Official Elastic MCP server — list indices, inspect mappings, run search and ES|QL queries
  • Runs as a Docker image `docker.elastic.co/mcp/elasticsearch` over stdio
  • Can be exposed remotely (Streamable HTTP) behind `mcp-proxy` with ApiKey auth

When to use it

Ground Claude in your actual cluster: debug a failing query, explore an unfamiliar index's mapping, or run ES|QL analytics in natural language.

Getting started

Docker over stdio:

{
  "elasticsearch-mcp-server": {
    "command": "docker",
    "args": [
      "run", "-i", "--rm",
      "-e", "ES_URL",
      "-e", "ES_API_KEY",
      "docker.elastic.co/mcp/elasticsearch",
      "stdio"
    ],
    "env": {
      "ES_URL": "<elasticsearch-cluster-url>",
      "ES_API_KEY": "<elasticsearch-API-key>"
    }
  }
}

Things to know

The API key inherits its privileges — mint a read-only key if Claude shouldn't write to indices. Remote mode requires hosting the HTTP endpoint yourself plus mcp-proxy on the client side.

Repository

elastic/mcp-server-elasticsearch

Charted

Related on the map

  • Blitz Strike

    MCP Server

    A penetration-testing methodology delivered as one MCP server: BLITZ maps the attack surface, EAGLE-EYE traces source-to-sink, STRIKE live-verifies every finding before it is reported.

    • mcp-server
    • security
    • pentest
    • methodology
  • Ripwire

    MCP Server

    Red Hat's "ripgrep for AI context" — a C++23 zero-dependency CLI that also speaks MCP.

    • mcp
    • code-context
    • cli
    • red-hat
  • Deja Vu

    MCP Server

    One shared session memory for 25+ coding agents — Claude Code, Codex, and Cursor finally remember the same project.

    • mcp
    • memory
    • cross-agent
    • context