Elasticsearch MCP integration
Search, inspect, and manage Elasticsearch indices and documents over the REST API.
Sign in, add Elasticsearch in Apps, then choose the account your AI can use.
Get started with Elasticsearch
- Add Elasticsearch to your Weavz workspace and connect the account you want to use.
- Review the available tools below and enable the actions your task needs. Check the account permissions before allowing changes.
- Connect a compatible AI client to your workspace, or use the actions API from your application.
Tools
| Name | Description |
|---|---|
Validate Connection validate_connectionValidate Elasticsearch credentials with a low-impact cluster info request. | Validate Elasticsearch credentials with a low-impact cluster info request. |
List Indices list_indicesList Elasticsearch indices using the cat indices JSON endpoint. | List Elasticsearch indices using the cat indices JSON endpoint. |
Get Index get_indexGet Elasticsearch index settings, mappings, and aliases for one index. | Get Elasticsearch index settings, mappings, and aliases for one index. |
Create Index create_indexCreate an Elasticsearch index with optional settings, mappings, and aliases. | Create an Elasticsearch index with optional settings, mappings, and aliases. |
Delete Index delete_indexDelete one Elasticsearch index. Requires the exact index name to be repeated for confirmation. | Delete one Elasticsearch index. Requires the exact index name to be repeated for confirmation. |
Search Documents search_documentsRun an Elasticsearch Query DSL search against an index or all indices. | Run an Elasticsearch Query DSL search against an index or all indices. |
Index Document index_documentCreate or replace a document in an Elasticsearch index. | Create or replace a document in an Elasticsearch index. |
Update Document update_documentPartially update a document by ID using the Elasticsearch update API. | Partially update a document by ID using the Elasticsearch update API. |
Get Document get_documentRetrieve one Elasticsearch document by index and document ID. | Retrieve one Elasticsearch document by index and document ID. |
Delete Document delete_documentDelete one Elasticsearch document. Requires the exact document ID to be repeated for confirmation. | Delete one Elasticsearch document. Requires the exact document ID to be repeated for confirmation. |
Custom API Call custom_api_callMake a guarded custom call to the configured Elasticsearch cluster origin. | Make a guarded custom call to the configured Elasticsearch cluster origin. |
Triggers
| Name | Description |
|---|---|
Search Results Changed search_results_changedPolls an Elasticsearch query and triggers when the top result IDs or versions change. | Polls an Elasticsearch query and triggers when the top result IDs or versions change. |
Quick Start
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
Explore integrations in other categories
Frequently Asked Questions
Is there a Elasticsearch MCP server through Weavz?
Yes. Add the Elasticsearch integration to a Weavz workspace, enable the actions you need and connect any required account. Weavz provides the workspace MCP endpoint in Tool Mode or Code Mode. The catalog currently lists 11 Elasticsearch actions.
What can an AI agent do with Elasticsearch?
Available actions include Validate Connection, List Indices, Get Index, Create Index, Delete Index, and more. Your workspace exposes only the actions you enable. The agent also needs the intended account access and any required input values.
How do I connect Elasticsearch to Claude or ChatGPT?
Use a compatible remote MCP client, add the Weavz connector and choose a workspace. Add Elasticsearch, connect the required account and review the enabled actions. Client availability and account requirements vary; adding the connector does not authorize every app automatically.
Can I use Elasticsearch through an API or SDK?
Yes, supported actions can run through the Weavz REST API, TypeScript SDK or Python SDK. Configure a workspace and the required connections, use scoped access, and pass the intended end-user context when acting for a customer.
What authentication does Elasticsearch require?
The catalog lists custom credentials for Elasticsearch. Use Hosted Connect to authorize the intended account. Required permissions, provider app access and available connection methods depend on the integration.
How do I review sensitive Elasticsearch actions?
Limit enabled actions, scope credentials to the intended user and configure Human Gates for the operations that need review. A matching policy can pause a send, record change or other sensitive action for an approver before execution.
What limits or costs apply to Elasticsearch?
Weavz plan limits apply to the actions and resources you use. The external provider may also require an account, a paid plan, API credits or specific permissions, and may enforce its own rate limits. Check current Weavz pricing and the provider’s terms before rollout.
What Elasticsearch triggers are available?
The catalog lists 1 triggers, including Search Results Changed. Configure the trigger and your event handler before using incoming events to start work.
Connect Elasticsearch in minutes
Get 20,000 free action executions every month. No credit card required.