
Elasticsearch
Wire your agent to query and manage Elasticsearch 5.x–9.x with auto version detection and broad API coverage.
Overview
Elasticsearch MCP is an MCP server for the Build phase that connects agents to Elasticsearch 5.x–9.x with auto version detection and full API access.
What is this MCP server?
- Multi-version Elasticsearch support from 5.x through 9.x with auto version detection
- stdio and HTTP transport modes for local agents or shared MCP gateways
- Security-focused packaging with API key or basic auth via ES_URL and credentials env vars
- npm package @tocharianou/elasticsearch-mcp at registry version 0.7.2
- Comprehensive Elasticsearch API access for indexing, search, and cluster operations from chat
- Supports Elasticsearch versions 5.x through 9.x
- Package version 0.7.2
- Transports: stdio and http
Community signal: 6 GitHub stars.
What problem does it solve?
You need your agent to run real Elasticsearch queries and admin tasks without juggling version-specific clients and manual REST calls.
Who is it for?
Builders shipping search, logging, or analytics features who already run Elasticsearch and want agent-driven operations.
Skip if: Anyone without an existing Elasticsearch endpoint and safe credential hygiene for agent tool access.
What do I get? / Deliverables
After configuration, your agent can search, index, and manage indices on your cluster through MCP tools matched to your ES version.
- Agent-callable Elasticsearch operations across supported major versions
- stdio or HTTP MCP transport wired to your cluster credentials
Recommended MCP Servers
Journey fit
How it compares
Direct Elasticsearch cluster MCP, not a managed Elastic Cloud signup wizard.
Common Questions / FAQ
Who is Elasticsearch MCP for?
Developers and solo founders using MCP agents who manage their own Elasticsearch clusters across legacy and modern major versions.
When should I use Elasticsearch MCP?
Use it while building search or log-backed features and when iterating queries, mappings, or cluster health during Ship and Operate.
How do I add Elasticsearch MCP to my agent?
Install @tocharianou/elasticsearch-mcp, set ES_URL and ES_API_KEY or ES_USERNAME/ES_PASSWORD, add stdio or HTTP MCP config, and reload.