Browse / Database Management / Elasticsearch & OpenSearch

Elasticsearch & OpenSearch

Integrates Elasticsearch and OpenSearch for complex search queries, data aggregations, and comprehensive index management.

SkillDatabase ManagementSqlCode Search

The source repository doesn't declare a license. Check its terms before reusing the code.

Key features

  • Query DSL support for match, range, and boolean queries
  • Integrated error handling with actionable suggestions for query and connection issues
  • Comprehensive index management including health checks and mapping inspection
  • Automatic detection of connection parameters via environment variable matching
  • Bucket and metric aggregations for deep data analysis

Use cases

  • Analyzing application logs and tracing request patterns during debugging
  • Exploring data distributions and identifying performance bottlenecks through aggregations
  • Monitoring cluster health and inspecting index schemas for maintenance

FAQ

What is the Elasticsearch & OpenSearch Claude Code skill?

This skill integrates Claude Code with your Elasticsearch or OpenSearch clusters. It allows the AI to execute complex full-text searches, perform data aggregations, and manage index health and mappings directly from your development environment.

How do I connect Claude to my Elasticsearch instance?

Connection is seamless through automatic detection. The skill scans your .env files for standard variables like ES_URL, ELASTICSEARCH_URL, or host/port patterns, requiring zero manual configuration if standard naming conventions are used.

Is it safe to use this skill with my data?

The skill is built with a security-first approach for local development. It defaults to localhost connections, prioritizes read-focused operations, and explicitly blocks destructive actions like deleting indices or changing cluster-wide settings.

What specific search capabilities does it provide?

The skill supports the full range of Elasticsearch Query DSL, including match, term, range, and boolean queries. It also handles sophisticated bucket and metric aggregations, pagination via search_after, and multi-field sorting.

How does this skill improve my development workflow?

By enabling Claude to interact with your data clusters, you can debug search queries, analyze logs, and inspect data structures without leaving your terminal. This eliminates the context-switching between your IDE, Kibana, or command-line curl requests.