Skip to content
Kitbay
MCP server

Elasticsearch/OpenSearch MCP Server

Local or remoteApache-2.0Updated on Nov 5, 2026316GitHub starsCan change dataNeeds an API key

A community MCP server in Python that works with both Elasticsearch and OpenSearch clusters.

What it does

A community MCP server in Python that works with both Elasticsearch and OpenSearch clusters. Tools list, inspect, create and delete indices and data streams, search, add, fetch and delete documents (including delete by query), manage aliases, report cluster health and statistics, test analyzers, and send any other API request directly. It connects with a username and password or, for Elasticsearch, an API key, and can serve several named clusters. It runs through uvx over stdio, or over SSE or streamable HTTP with an optional bearer token. A setting hides every write tool.

Capabilities

  • Search, index, fetch and delete documents
  • Create and delete indices, data streams and aliases
  • Report cluster health and statistics
  • Test text analyzers
  • Send arbitrary Elasticsearch or OpenSearch API requests
  • Target several named clusters