cr7258/elasticsearch-mcp-server
by Various
A Model Context Protocol (MCP) server implementation that provides Elasticsearch and OpenSearch interaction.
MCP
cr7258/elasticsearch-mcp-server
Added 1 June 2026
Overview
An MCP server that lets AI agents query and manage Elasticsearch and OpenSearch clusters. It exposes cluster operations, index management, document CRUD, and search via the Model Context Protocol.
Best for
Best for
Developers who want to add Elasticsearch or OpenSearch query and management capabilities to MCP-based AI agents.
Use cases
- Run natural language queries against Elasticsearch indices
- Automate index creation, mapping updates, and document indexing
- Monitor cluster health and manage snapshots from an AI assistant
How to use
Install
uvx elasticsearch-mcp-server --transport sse Tools exposed
elasticsearch-mcp-server-es7elasticsearch-mcp-serverelasticsearch-mcp-server-es9opensearch-mcp-server
Tested with
Claude Desktop
Example client config
{\n "mcpServers": {\n "elasticsearch-mcp-server": {\n "command": "uvx",\n "args": [\n "elasticsearch-mcp-server"\n ],\n "env": {\n "ELASTICSEARCH_CLUSTERS": "{\"prod\": {\"hosts\": [\"https://prod-es:9200\"], \"api_key\": \"<PROD_API_KEY>\", \"verify_certs\": true}, \"staging\": {\"hosts\": [\"https://staging-es:9200\"], \"username\": \"elastic\", \"password\": \"<STAGING_PASSWORD>\"}}",\n "DEFAULT_CLUSTER": "prod"\n }\n }\n }\n} Notes
An MCP server that lets AI agents query and manage Elasticsearch and OpenSearch clusters. It exposes cluster operations, index management, document CRUD, and search via the Model Context Protocol.
285 stars on GitHub. Last updated 2026-05-22. Licensed Apache-2.0.
Use cases
- Run natural language queries against Elasticsearch indices
- Automate index creation, mapping updates, and document indexing
- Monitor cluster health and manage snapshots from an AI assistant
Pros
- Covers a broad range of Elasticsearch and OpenSearch operations
- Simple MCP integration for existing AI agent workflows
- Actively maintained with 285 GitHub stars
Cons
- Requires running a separate MCP server process
- Limited to Python ecosystem and MCP-compatible clients
- No built-in authentication or authorization layer
Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.
Pros
- Covers a broad range of Elasticsearch and OpenSearch operations
- Simple MCP integration for existing AI agent workflows
- Actively maintained with 285 GitHub stars
Cons
- Requires running a separate MCP server process
- Limited to Python ecosystem and MCP-compatible clients
- No built-in authentication or authorization layer
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.
Cline
Cline
Open-source autonomous coding agent that lives inside VS Code. BYO model key, watch it work.
Claude Code
Anthropic
Anthropic's terminal-native coding agent. Reads your repo, edits files, runs tests, ships PRs.
Continue
Continue.dev
Open-source AI code assistant for VS Code and JetBrains. Customisable, BYO model, built for enterprise.
Get the free Developer’s Field Guide
A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.
Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.