PluginBench
MCP Server
Maintained
Apache-2.0

Elasticsearch MCP Server

io.github.TocharianOU/elasticsearch

What is the Elasticsearch MCP server?

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

How to install Elasticsearch

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • ES_URL
    required

    Your Elasticsearch instance URL (e.g., https://localhost:9200)

  • ES_API_KEY
    secret

    Elasticsearch API key for authentication

  • ES_USERNAME

    Elasticsearch username for basic authentication

  • ES_PASSWORD
    secret

    Elasticsearch password for basic authentication

  • ES_CA_CERT

    Path to custom CA certificate for Elasticsearch SSL/TLS

  • NODE_TLS_REJECT_UNAUTHORIZED

    Set to '0' to disable SSL certificate validation (development only)

  • MAX_TOKEN_CALL

    Maximum tokens per API call

  • MCP_TRANSPORT
    required

    Transport mode selection

  • MCP_HTTP_PORT

    HTTP server port (when using HTTP transport)

  • MCP_HTTP_HOST

    HTTP server host (when using HTTP transport)

~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "elasticsearch": {
      "command": "npx",
      "args": [
        "-y",
        "@tocharianou/elasticsearch-mcp"
      ],
      "env": {
        "ES_URL": "<YOUR_ES_URL>",
        "ES_API_KEY": "<YOUR_ES_API_KEY>",
        "ES_USERNAME": "<YOUR_ES_USERNAME>",
        "ES_PASSWORD": "<YOUR_ES_PASSWORD>",
        "ES_CA_CERT": "<YOUR_ES_CA_CERT>",
        "NODE_TLS_REJECT_UNAUTHORIZED": "<YOUR_NODE_TLS_REJECT_UNAUTHORIZED>",
        "MAX_TOKEN_CALL": "<YOUR_MAX_TOKEN_CALL>",
        "MCP_TRANSPORT": "<YOUR_MCP_TRANSPORT>",
        "MCP_HTTP_PORT": "<YOUR_MCP_HTTP_PORT>",
        "MCP_HTTP_HOST": "<YOUR_MCP_HTTP_HOST>"
      }
    }
  }
}

Related MCP servers

KIKibana logo

Kibana

Maintained

Access and manage your Kibana instance via natural language with dynamic API discovery and Elastic Stack integration.

71
TypeScript
Apache-2.0
View repository →

Exact IBAN, VAT, cron, regex answers; HTML/URL to hosted PDF or screenshot; agent memory; workflows.

PUPubliar logo

Publiar

Active

Ecrit des lead magnets LinkedIn qui refusent d'inventer, rend le visuel et publie.

0
Python
MIT
View repository →

Cut 95% of framework noise and token bloat from error logs for AI agents.

6
Rust
MIT
View repository →

Delegate research, writing, analysis, and data work to vetted human experts directly from your AI assistant.

103
Python
MIT
View repository →

Peruvian public data — SUNAT RUC, BCRP FX, SEACE tenders. Sourced from official open-data.

0
TypeScript
MIT
View repository →