Back to MCP Servers
Elasticsearch Server
Search, index, and analyze data in Elasticsearch clusters with natural language queries
searchelasticsearchanalyticsloggingcommunity
Installation
npm install -g @elastic/mcp-serverConfiguration
{
"mcpServers": {
"elasticsearch": {
"command": "npx",
"args": ["-y", "@elastic/mcp-server"],
"env": {
"ELASTICSEARCH_URL": "http://localhost:9200",
"ELASTICSEARCH_API_KEY": "your-elasticsearch-api-key"
}
}
}
}How to use
- Run the installation command above (if needed)
- Open your Claude Code settings file (~/.claude/settings.json)
- Add the configuration to the mcpServers section
- Restart Claude Code to apply changes