MCP directory
EM

Elasticsearch Mcp Server

by github.com/cr7258 · v2.0.15 · updated Sep 15, 2025

MCP server for interacting with Elasticsearch

PyPI

Run it locally

Install the package and point your AI client at it.

PyPI

uvx elasticsearch-mcp-server==2.0.15

Environment variables

  • ELASTICSEARCH_HOSTS

    Comma-separated list of Elasticsearch hosts (e.g., https://localhost:9200)

  • ELASTICSEARCH_API_KEYsecret

    API key for Elasticsearch or Elastic Cloud authentication (recommended)

  • ELASTICSEARCH_USERNAME

    Username for basic authentication (alternative to API key)

  • ELASTICSEARCH_PASSWORDsecret

    Password for basic authentication (used with ELASTICSEARCH_USERNAME)

  • ELASTICSEARCH_VERIFY_CERTS

    Whether to verify SSL certificates (true/false)

More MCP servers