mcpbeat Sign in

Elasticsearch MCP Server

local only

Elasticsearch runs on your own machine — the client starts it, so there is no endpoint to ping. 91 installs a week from npm. Last commit 11 Oct 2026.

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

Installs per day peak 207 · avg 21 · -36% w/w
a month agotoday
91
Installs / week
npm · @tocharianou/elasticsearch-mcp
8
Stars
1 open issue
11 Oct 2026
Last commit
2 releases in 90 days
Apache-2.0
License
TypeScript

Nothing serious here today

Today is the operative word: we check Elasticsearch every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add elasticsearch -e 'MCP_TRANSPORT=<MCP_TRANSPORT>' -e 'ES_URL=<ES_URL>' -- npx -y @tocharianou/elasticsearch-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "elasticsearch": {
      "command": "npx",
      "args": [
        "-y",
        "@tocharianou/elasticsearch-mcp"
      ],
      "env": {
        "ES_URL": "<ES_URL>",
        "MCP_TRANSPORT": "<MCP_TRANSPORT>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.elasticsearch]
command = "npx"
args = ["-y", "@tocharianou/elasticsearch-mcp"]
env = { MCP_TRANSPORT = "<MCP_TRANSPORT>", ES_URL = "<ES_URL>" }
.cursor/mcp.json
{
  "mcpServers": {
    "elasticsearch": {
      "command": "npx",
      "args": [
        "-y",
        "@tocharianou/elasticsearch-mcp"
      ],
      "env": {
        "ES_URL": "<ES_URL>",
        "MCP_TRANSPORT": "<MCP_TRANSPORT>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "elasticsearch": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@tocharianou/elasticsearch-mcp"
      ],
      "env": {
        "ES_URL": "<ES_URL>",
        "MCP_TRANSPORT": "<MCP_TRANSPORT>"
      }
    }
  }
}

Put your own values in place of <MCP_TRANSPORT> (Transport mode selection), <ES_URL> (Your Elasticsearch instance URL (e.g., https://localhost:9200)). The author’s registry entry marks them as required.

Optional settings from the registry entry, left out of the block above: MCP_HTTP_PORT (HTTP server port (when using HTTP transport)), MCP_HTTP_HOST (HTTP server host (when using HTTP transport)), ES_API_KEY (Elasticsearch API key for authentication), ES_USERNAME (Elasticsearch username for basic authentication), ES_PASSWORD (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).

Alternatives to Elasticsearch

same job, measured the same way
Elasticsearch MCP Server
by cr7258

MCP server for interacting with Elasticsearch

3 369 installs/wk local only
Harness
by asklokesh

MCP server for Harness API integration

129 installs/wk local only
Qt4 Doc MCP Server
by jztan

Offline MCP server for local Qt 4.8, Qt 5, and Qt 6 documentation with full-text search.

170 installs/wk local only
Alembica MCP
by open-and-sustainable

MCP server for Alembica validation, extraction, cost estimation, and schema queries.

local only
ASAM ODS odsbox jaquel MCP Server
by totonga

MCP server for ASAM ODS with Jaquel query tools, connection management, and data access

146 installs/wk local only
Yandex Wiki Search MCP
by dlbolshov

MCP server for Yandex Wiki with full-text search.

245 installs/wk local only
AI Workbench MCP
by hrishikesh-thakre

Goose-first MCP server for Workbench-owned acceptance evidence, validation gates, and analytics.

197 installs/wk local only
Yandex Webmaster MCP
by stufently

MCP server for Yandex Webmaster API — site analytics, indexing, search queries

68 installs/wk local only

Elasticsearch — questions

Answers built from our own checks of this server.

Why is there no uptime for Elasticsearch?
Elasticsearch runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @tocharianou/elasticsearch-mcp was installed 91 times last week.
How do I connect Elasticsearch?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls @tocharianou/elasticsearch-mcp straight from npm; nothing to host, nothing to sign up for.
How many people use Elasticsearch?
The npm package @tocharianou/elasticsearch-mcp was installed 91 times in the last week. Week over week that is -36%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Elasticsearch open source?
Yes — it is published under the Apache-2.0 licence, written in TypeScript, 8 stars on GitHub and 1 open issue. The source link is on this page, so you can read exactly what it does with your data before you connect it.