DEV Community

curatedmcp for CuratedMCP

Posted on • Originally published at curatedmcp.com

Elastic Cloud MCP: Let Claude Query Your Elasticsearch Data in Real-Time

Install guide and config at curatedmcp.com

Elastic Cloud MCP: Let Claude Query Your Elasticsearch Data in Real-Time

Elastic Cloud MCP bridges the gap between your AI agent and your observability stack. It's the official Elastic integration that gives Claude, Cursor, and Windsurf direct access to search, logs, metrics, and analytics across Elasticsearch and Kibana—without leaving your IDE or chat interface.

What It Does

This MCP server unlocks a set of capabilities that turn your AI assistant into an intelligent observer of your infrastructure and data. You can now ask Claude to search your Elasticsearch indexes, run analytics queries, and pull insights from logs and metrics on demand. The server handles inspection of Kibana dashboards, exploration of index schemas, and management of ingest pipelines—all programmatically.

Real value shows up when you need quick answers: "What's the error rate in the last hour?" or "Show me the top 10 slow queries." Instead of context-switching to Kibana, your AI agent fetches the data, analyzes it, and surfaces results inline. You also get access to alert management and anomaly detection job setup, so you can configure observability workflows directly from your agent.

The server is built with safety in mind for teams already using Elastic. It respects your deployment's authentication and doesn't expose unnecessary surface area—just the tools you need to unlock AI-powered insights from your Elastic stack.

How to Install

Install via npm:

npx -y @elastic/mcp
Enter fullscreen mode Exit fullscreen mode

Then configure for Claude Desktop in claude_desktop_config.json:

{
  "mcpServers": {
    "elastic-cloud-mcp": {
      "command": "npx -y @elastic/mcp",
      "env": {
        "ELASTIC_API_KEY": "your_api_key_here",
        "ELASTIC_DEPLOYMENT_ID": "your_deployment_id"
      }
    }
  }
}
Enter fullscreen mode Exit fullscreen mode

Full setup guides for Windsurf and Cursor are available in the official Elastic docs.

Real-World Use Cases

  • Incident triage in chat: Ask Claude to fetch error logs, correlate metrics, and summarize what broke—all without opening Kibana. Great for async incident reviews.
  • Schema exploration for analytics: Have your AI agent inspect index mappings, suggest field optimizations, and surface unused fields before you run a migration.
  • Observability automation: Set up alerts and anomaly detection jobs directly from Cursor while building monitoring into your application code.

Full install guides for Claude Desktop, Cursor, Windsurf, and more at CuratedMCP.

Top comments (0)