Elasticsearch

io.github.TocharianOU/elasticsearch

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "elasticsearch": {
      "command": "npx",
      "args": [
        "-y",
        "@tocharianou/elasticsearch-mcp@0.9.1"
      ],
      "env": {
        "ES_URL": "<your ES_URL>",
        "ES_API_KEY": "<your ES_API_KEY>",
        "ES_PASSWORD": "<your ES_PASSWORD>",
        "NODE_TLS_REJECT_UNAUTHORIZED": "1",
        "MAX_TOKEN_CALL": "20000"
      }
    }
  }
}
Environment variables
  • ES_URLrequiredYour Elasticsearch instance URL (e.g., https://localhost:9200)
  • ES_API_KEYsecretElasticsearch API key for authentication
  • ES_PASSWORDsecretElasticsearch password for basic authentication
  • NODE_TLS_REJECT_UNAUTHORIZEDSet to '0' to disable SSL certificate validation (development only)
  • MAX_TOKEN_CALLMaximum tokens per API call

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.9.1
Registry
active
Published
10/11/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that Elasticsearch is listed here — it’s also the link we check for a free listing.

Elasticsearch — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-tocharianou-elasticsearch?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Elasticsearch — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Elasticsearch — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-tocharianou-elasticsearch?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.