elasticsearch
MCP server for connecting to Elasticsearch data and indices. Supports search queries, mappings, ES|QL, and shard information through natural language interactions.
- Connectors
- Dev tools
- 137
What it does and how to use it
A connector (MCP) that links Claude to an external dev tools tool or service, giving it access to real data and actions.
- Install the connector (command above).
- Add the service credentials/keys when asked.
- Claude can now read and act on that service directly.
Install (Claude Code)
mkdir -p .claude/mcps && curl -fsSL https://doutorai.pt/data/lib/mcps__elasticsearch.md -o .claude/mcps/elasticsearch.jsonPaste this command into the terminal, in your project folder, and the component installs automatically.
Content
{
"mcpServers": {
"elasticsearch-mcp-server": {
"description":"MCP server for connecting to Elasticsearch data and indices. Supports search queries, mappings, ES|QL, and shard information through natural language interactions.",
"command": "docker",
"args": [
"run", "-i", "--rm",
"-e", "ES_URL", "-e", "ES_API_KEY",
"docker.elastic.co/mcp/elasticsearch",
"stdio"
],
"env": {
"ES_URL": "<elasticsearch-cluster-url>",
"ES_API_KEY": "<elasticsearch-API-key>"
}
}
}
}Need help with Claude Code?
Ask Dr AI - it explains things simply.
Need a tailor-made solution?
Not sure where to start with AI in your business? Get a free assessment and a tailored plan - no commitment.
Save hours every week with AI, no hassle
Doutor AI gives you 1,859 ready-to-copy AI prompts, by industry and in plain English - plus a complete technical library for those who want to go further.