LocalFree

Elasticsearch MCP server

TocharianOU/elasticsearch-mcp

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

8 GitHub stars6 forks

Install Elasticsearch in Claude Code

Claude Code
claude mcp add tocharianou-elasticsearch -e ES_URL=... -- npx -y @tocharianou/elasticsearch-mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "tocharianou-elasticsearch": {
      "command": "npx",
      "args": [
        "-y",
        "@tocharianou/elasticsearch-mcp"
      ],
      "env": {
        "ES_URL": "..."
      }
    }
  }
}

Replace each ... with your own value.

Frequently asked questions

What does the Elasticsearch MCP server do?

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

Is the Elasticsearch MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does Elasticsearch run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Elasticsearch to Claude Code?

Run: claude mcp add tocharianou-elasticsearch -e ES_URL=... -- npx -y @tocharianou/elasticsearch-mcp

More developer tools MCP servers

View all