Elasticsearch MCP Server

Official

search

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