Skip to main content

Elasticsearch

io.github.TocharianOU/elasticsearch

v0.10.0Updated Nov 22, 2026stdio · npm

Elasticsearch MCP Server for ES 5.x-9.x with a query harness, field validation and full API access

Install

Replace 1 placeholder with your own values.

Run in your terminal. Replace 1 placeholder.

claude mcp add elasticsearch -e 'ES_URL=<your-es-url>' -e MAX_TOKEN_CALL=20000 -- npx -y @tocharianou/[email protected]

The registry lists extra launch arguments or environment variables for this server that could change what runs. They are left out here; check its repository before adding any.

Configuration

11 settings.

  • ES_URL
    Env var· required
    Your Elasticsearch instance URL (e.g., https://localhost:9200)
  • MCP_TRANSPORT
    Env var· required
    Transport mode selectionDefault: http
  • ES_API_KEY
    Env var· optional· secret
    Elasticsearch API key for authentication
  • ES_PASSWORD
    Env var· optional· secret
    Elasticsearch password for basic authentication
  • MCP_BEARER_TOKEN
    Env var· optional· secret
    Bearer token required on /mcp requests (recommended for any non-localhost bind)
  • ES_USERNAME
    Env var· optional
    Elasticsearch username for basic authentication
Show 5 more
  • ES_CA_CERT
    Env var· optional
    Path to custom CA certificate for Elasticsearch SSL/TLS
  • NODE_TLS_REJECT_UNAUTHORIZED
    Env var· optional
    Set to '0' to disable SSL certificate validation (development only)Default: 1
  • MAX_TOKEN_CALL
    Env var· optional
    Maximum tokens per API callDefault: 20000
  • MCP_HTTP_PORT
    Env var· optional
    HTTP server port (when using HTTP transport)Default: 3000
  • MCP_HTTP_HOST
    Env var· optional
    HTTP server host (when using HTTP transport)Default: localhost

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