Elasticsearch MCP Server

by awesimon
Verified

search

Query Elasticsearch indices using DSL to retrieve and highlight results. Specify the index and query body to perform structured searches.

Instructions

Perform an Elasticsearch search with the provided query DSL. Highlights are always enabled.

Input Schema

NameRequiredDescriptionDefault
indexYesName of the Elasticsearch index to search
queryBodyYesComplete Elasticsearch query DSL object that can include query, size, from, sort, etc.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "index": { "description": "Name of the Elasticsearch index to search", "minLength": 1, "type": "string" }, "queryBody": { "additionalProperties": {}, "description": "Complete Elasticsearch query DSL object that can include query, size, from, sort, etc.", "type": "object" } }, "required": [ "index", "queryBody" ], "type": "object" }

You must be authenticated.

Other Tools from Elasticsearch MCP Server

Related Tools

ID: p1bzvj7dt9