Weavz
Elasticsearch

Elasticsearch

Search, inspect, and manage Elasticsearch indices and documents over the REST API.

11 tools
1 trigger
Use withChatGPTClaudeClaude CodeCursorCodexMCP clientsSetup guide

Tools

Name
validate_connection

Validate Elasticsearch credentials with a low-impact cluster info request.

list_indices

List Elasticsearch indices using the cat indices JSON endpoint.

get_index

Get Elasticsearch index settings, mappings, and aliases for one index.

create_index

Create an Elasticsearch index with optional settings, mappings, and aliases.

delete_index

Delete one Elasticsearch index. Requires the exact index name to be repeated for confirmation.

search_documents

Run an Elasticsearch Query DSL search against an index or all indices.

index_document

Create or replace a document in an Elasticsearch index.

update_document

Partially update a document by ID using the Elasticsearch update API.

get_document

Retrieve one Elasticsearch document by index and document ID.

delete_document

Delete one Elasticsearch document. Requires the exact document ID to be repeated for confirmation.

custom_api_call

Make a guarded custom call to the configured Elasticsearch cluster origin.

Triggers

Name
search_results_changed

Polls an Elasticsearch query and triggers when the top result IDs or versions change.

Quick Start

TypeScript
import { WeavzClient } from '@weavz-io/sdk'

const weavz = new WeavzClient({ apiKey: 'wvz_...' })

const result = await weavz.actions.execute('elasticsearch', 'validate_connection', {
  workspaceId: '550e8400-e29b-41d4-a716-446655440000',
  integrationAlias: 'elasticsearch',
  input: { /* ... */ },
})

Related Integrations

Works well with

Frequently Asked Questions

How do I connect Elasticsearch to my app?

Use Weavz Hosted Connect for Custom authentication. Install the SDK, create a connection through the connect portal or API, then execute tools programmatically.

What tools does Elasticsearch support?

Elasticsearch supports 11 tools including Validate Connection, List Indices, Get Index, Create Index, Delete Index, and more.

Can I use Elasticsearch with AI agents?

Yes. Add Elasticsearch to an MCP server in Tool Mode or Code Mode. Code Mode provides 3 meta-tools with on-demand API discovery so agents can compose stateful workflows without loading every action schema up front.

How do I connect Elasticsearch to ChatGPT or Claude?

Open the Weavz connector setup, sign in, choose a workspace, and add Elasticsearch as an approved app. ChatGPT, Claude, and other remote MCP clients can then call the scoped Elasticsearch tools exposed by that workspace.

Does Elasticsearch work with Claude Code, Cursor, Codex, and local agents?

Yes. Remote and local MCP clients can connect to a Weavz MCP endpoint for the workspace. Local coding agents can also use the Weavz CLI to inspect apps, discover actions, run approved Elasticsearch work, and execute Code Mode workflows from a terminal.

What can I ask an AI agent to do with Elasticsearch?

Elasticsearch exposes 11 tools, including Validate Connection, List Indices, Get Index, Create Index, Delete Index, and more. Use Weavz to keep credentials scoped, require approval for sensitive work, and audit what the agent did.

Can Elasticsearch be used in stateful agent workflows?

Yes. Agents can combine Elasticsearch tools with Filesystem, State KV, Human Gates, input partials, and other workspace integrations while keeping execution scoped to the selected workspace or end user.

What authentication does Elasticsearch use?

Elasticsearch uses Custom. Weavz stores credentials securely and uses them for authorized action execution.

How much does the Elasticsearch integration cost?

The Elasticsearch integration is included on all Weavz plans including the free tier with 20,000 actions per month. No credit card required.

What triggers does Elasticsearch support?

Elasticsearch supports 1 triggers including Search Results Changed.

Connect Elasticsearch in minutes

Get 20,000 free action executions every month. No credit card required.