Agent Switchboard

Elasticsearch MCP Server

by Elastic

Official listing: built and published by Elastic. More from Elastic

Official Elastic MCP server letting agents query Elasticsearch indices, run search and aggregations, and inspect mappings in natural language.

Use it now

Keep it with up to 9 other tools you're setting up, then share them all as one link.

Connect it over MCP

Cursor, Claude Desktop and other MCP clients
{
  "mcpServers": {
    "elasticsearch-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "ES_URL",
        "-e",
        "ES_API_KEY",
        "docker.elastic.co/mcp/elasticsearch",
        "stdio"
      ]
    }
  }
}
Claude Code
claude mcp add elasticsearch-mcp -- docker run -i --rm -e ES_URL -e ES_API_KEY docker.elastic.co/mcp/elasticsearch stdio

It runs on your computer, so web assistants such as Grok and ChatGPT can’t start it.

It may ask you to sign in to Elastic or for a key when you add it; the setup guide says which.

Setup guide: github.com/elastic/mcp-server-elasticsearch

Compare

Press Compare to add it to the tray at the bottom of the window, then pick up to 2 others anywhere on the site.

Access
MCP
Auth
API Key
Vector DatabasesData & Analyticselasticsearchsearchvector-searchofficial-mcpelastic
Visit Agent
elasticsearch-mcp
Official Elastic MCP server letting agents query Elasticsearch indices, run search and aggregations, and inspect mappings in natural language.
use it now
docker run -i --rm -e ES_URL -e ES_API_KEY docker.elastic.co/mcp/elasticsearch stdiomcp.command
{"mcpServers":{"elasticsearch-mcp":{"command":"docker","args":["run","-i","--rm","-e","ES_URL","-e","ES_API_KEY","docker.elastic.co/mcp/elasticsearch","stdio"]}}}mcp.config
claude mcp add elasticsearch-mcp -- docker run -i --rm -e ES_URL -e ES_API_KEY docker.elastic.co/mcp/elasticsearch stdiomcp.claude-code
fields
nameElasticsearch MCP Server
providerElastic
urlhttps://github.com/elastic/mcp-server-elasticsearch
categoriesvector-databases · data-analytics
accessmcp
authapiKey
streamingfalse
pushfalse
verifiedtrue
officialtrue · Elastic
sponsoredfalse
tagselasticsearch, search, vector-search, official-mcp, elastic
alternatives
/agents/elasticsearch-mcp/alternatives4 listedxerj, milvus, omnigraph
compare
/compare?a=elasticsearch-mcp&b=xerj&c=milvuswith xerj, milvus