← Back to browse

Elasticsearch

Indexed by io.github.TocharianOU

About

Elasticsearch MCP Server with multi-version support (ES 5.x-9.x) and comprehensive API access

Use this server

Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.

Transportstdio (runs a local command)
Env varsES_URL ES_API_KEY ES_USERNAME ES_PASSWORD ES_CA_CERT NODE_TLS_REJECT_UNAUTHORIZED MAX_TOKEN_CALL
Claude Code
claude mcp add --env ES_URL= --env ES_API_KEY= --env ES_USERNAME= --env ES_PASSWORD= --env ES_CA_CERT= --env NODE_TLS_REJECT_UNAUTHORIZED= --env MAX_TOKEN_CALL= elasticsearch -- npx @tocharianou/elasticsearch-mcp
Cursor

Add to Cursor

If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.

VS Code
code --add-mcp '{"name":"elasticsearch","command":"npx","args":["@tocharianou/elasticsearch-mcp"],"env":{"ES_URL":"","ES_API_KEY":"","ES_USERNAME":"","ES_PASSWORD":"","ES_CA_CERT":"","NODE_TLS_REJECT_UNAUTHORIZED":"","MAX_TOKEN_CALL":""}}'
JSON
{
  "mcpServers": {
    "elasticsearch": {
      "command": "npx",
      "args": [
        "@tocharianou/elasticsearch-mcp"
      ],
      "env": {
        "ES_URL": "",
        "ES_API_KEY": "",
        "ES_USERNAME": "",
        "ES_PASSWORD": "",
        "ES_CA_CERT": "",
        "NODE_TLS_REJECT_UNAUTHORIZED": "",
        "MAX_TOKEN_CALL": ""
      }
    }
  }
}

Environment variables are listed by name only — fill in your own values. Entries never carry secrets.