Skip to main content

Elasticsearch MCP Server

io.github.cr7258/elasticsearch-mcp-server

v2.0.15Updated Sep 15, 2025stdio · PyPI

MCP server for interacting with Elasticsearch

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add elasticsearch-mcp-server -e ELASTICSEARCH_HOSTS=https://localhost:9200 -e ELASTICSEARCH_VERIFY_CERTS=false -- uvx elasticsearch-mcp-server==2.0.15

Configuration

5 settings.

  • ELASTICSEARCH_API_KEY
    Env var· optional· secret
    API key for Elasticsearch or Elastic Cloud authentication (recommended)
  • ELASTICSEARCH_PASSWORD
    Env var· optional· secret
    Password for basic authentication (used with ELASTICSEARCH_USERNAME)
  • ELASTICSEARCH_HOSTS
    Env var· optional
    Comma-separated list of Elasticsearch hosts (e.g., https://localhost:9200)Default: https://localhost:9200
  • ELASTICSEARCH_USERNAME
    Env var· optional
    Username for basic authentication (alternative to API key)
  • ELASTICSEARCH_VERIFY_CERTS
    Env var· optional
    Whether to verify SSL certificates (true/false)Default: false

Listed in the official MCP Registry since Sep 15, 2025. Mirrored daily; last checked Nov 26, 2026.