Elasticsearch MCP ServerServer

elastic
GitHub
searchdatabasesElasticsearch

Loading subscription status...

💡 Description

The Elasticsearch MCP Server allows users to connect their data from Elasticsearch directly through any MCP client, enabling interaction with Elasticsearch indices through natural language conversations.

📝 JSON Entries

{
  "mcpServers": [
    {
      "elasticsearch-mcp-server": {
        "env": {
          "ES_URL": "your-elasticsearch-url",
          "ES_API_KEY": "your-api-key"
        },
        "args": [
          "-y",
          "@elastic/mcp-server-elasticsearch"
        ],
        "command": "npx"
      }
    }
  ]
}

🛠️ Tools

get_mappingssearchlist_indices

Features

  • Access to Elasticsearch indices
  • Natural language query support
  • Query DSL capabilities

💬 Example Queries

  • What indices do I have in my Elasticsearch cluster?
  • Show me the field mappings for the 'products' index.
  • Find all orders over $500 from last month.
  • Which products received the most 5-star reviews?