PluginBench
MCP Server
Maintained
Apache-2.0

Elasticsearch MCP Server

io.github.TocharianOU/elasticsearch

RepositoryRegistry
How to choose

What this kind of tool is for

  • Query, inspect, or seed a database without writing a one-off script.
  • Let your agent look up schema details before it writes migration code.
  • Move a small dataset between tools without leaving the terminal.

How to compare servers like this

Engine match:
Confirm it speaks your exact database and version, not just the family.
Access scope:
Read-only connections are the safe default — start there before granting writes.
Safety rails:
Check whether destructive statements need an explicit confirmation before they run.
Maintenance signal:
Database drivers change; a recently updated tool is less likely to break mid-query.

This page carries your copy-paste config: pick your MCP client in the install section on this page and use the copy button.

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
JSON config
{
  "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 →

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

0
TypeScript
MIT
View repository →

Read-only MCP servers for Chinese e-commerce platforms: orders, products, refunds, and ads across 8 marketplaces.

8
Python
MIT
View repository →

Daily AI-ranked stock, crypto, and macro research data from the Top 5 Stocks API.

0
JavaScript
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 →