Skip to main content
Glama

Elasticsearch MCP Server

Official
by elastic
Apache 2.0
3,064
269

search

Query Elasticsearch indices using query DSL with enabled highlights. Connect and interact with Elasticsearch data via the Elasticsearch MCP Server for precise search results.

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" }
Install Server

Other Tools from Elasticsearch MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/elastic/mcp-server-elasticsearch'

If you have feedback or need assistance with the MCP directory API, please join our Discord server