Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

elasticsearch-mcp-server

local MCP server

elasticsearch-mcp-server is a local MCP server: MCP server for interacting with Elasticsearch. Install it from pypi as elasticsearch-mcp-server.

Installation

Terminal

claude mcp add elasticsearch-mcp-server -e ELASTICSEARCH_HOSTS=... -e ELASTICSEARCH_API_KEY=... -e ELASTICSEARCH_USERNAME=... -e ELASTICSEARCH_PASSWORD=... -e ELASTICSEARCH_VERIFY_CERTS=... -- uvx elasticsearch-mcp-server

Run in your project folder. Add --scope user to use it everywhere.

Claude Desktop, Cursor & other clients

Add to claude_desktop_config.json or .cursor/mcp.json.

{
  "mcpServers": {
    "elasticsearch-mcp-server": {
      "command": "uvx",
      "args": [
        "elasticsearch-mcp-server"
      ],
      "env": {
        "ELASTICSEARCH_HOSTS": "...",
        "ELASTICSEARCH_API_KEY": "...",
        "ELASTICSEARCH_USERNAME": "...",
        "ELASTICSEARCH_PASSWORD": "...",
        "ELASTICSEARCH_VERIFY_CERTS": "..."
      }
    }
  }
}

Fill in the environment variables with your own credentials.

What you need

  • Runtime: Python with uv (runs with uvx).
  • MCP client: Claude Code, Codex, Antigravity, Claude Desktop, Cursor or any other client that speaks MCP over stdio.
  • Environment variables: ELASTICSEARCH_HOSTS, ELASTICSEARCH_API_KEY, ELASTICSEARCH_USERNAME, ELASTICSEARCH_PASSWORD, ELASTICSEARCH_VERIFY_CERTS

Summary

MCP server for interacting with Elasticsearch

elasticsearch-mcp-server vs similar servers

ServerStarsTypeAPI keyRuntime
elasticsearch-mcp-server308LocalYespypi
DBHub3,574LocalYesnpm
Supabase2,926HostedYesNone
Scaleway MCP server998LocalNooci
mcp-ssh-manager493LocalYesnpm

Questions

It reads 5 environment variables: ELASTICSEARCH_HOSTS, ELASTICSEARCH_API_KEY, ELASTICSEARCH_USERNAME, ELASTICSEARCH_PASSWORD, ELASTICSEARCH_VERIFY_CERTS. Set them in your MCP config before starting the server.

Python with uv (runs with uvx), plus an MCP client such as Claude Code, Codex, Claude Desktop or Cursor.

elasticsearch-mcp-server is a local MCP server distributed as the pypi package elasticsearch-mcp-server.

Run: claude mcp add elasticsearch-mcp-server -e ELASTICSEARCH_HOSTS=... -e ELASTICSEARCH_API_KEY=... -e ELASTICSEARCH_USERNAME=... -e ELASTICSEARCH_PASSWORD=... -e ELASTICSEARCH_VERIFY_CERTS=... -- uvx elasticsearch-mcp-server

Run: codex mcp add elasticsearch-mcp-server --env ELASTICSEARCH_HOSTS=... --env ELASTICSEARCH_API_KEY=... --env ELASTICSEARCH_USERNAME=... --env ELASTICSEARCH_PASSWORD=... --env ELASTICSEARCH_VERIFY_CERTS=... -- uvx elasticsearch-mcp-server

Similar MCP servers

NameStars
  1. DBHubio.github.bytebase/dbhub3,574
  2. Supabasecom.supabase/mcp2,926
  3. Scaleway MCP serverio.github.scaleway/scaleway-mcp998
  4. mcp-ssh-managerio.github.bvisible/mcp-ssh-manager493
  5. google-analytics-mcpio.github.surendranb/google-analytics-mcp242
  6. Dynatrace-mcpio.github.dynatrace-oss/Dynatrace-mcp138
  7. Unraid MCPai.dinglebear/unraid-mcp131
  8. Unraid MCPtv.tootie/unraid-mcp131