The Elasticsearch MCP server enables AI agents to query, filter, and analyze data stored in Elasticsearch clusters. It exposes Elasticsearch's search, aggregation, and document management capabilities. Agents can interact with Elasticsearch indices using natural language, making it ideal for developers building search-driven applications, analytics tools, or data exploration interfaces.
The Elasticsearch MCP server enables AI agents to query, filter, and analyze data stored in Elasticsearch clusters. It exposes Elasticsearch's search, aggregation, and document management capabilities. Agents can interact with Elasticsearch indices using natural language, making it ideal for developers building search-driven applications, analytics tools, or data exploration interfaces.
Add this configuration to your claude_desktop_config.json:
{
"mcpServers": {
"elastic-mcp-server-elasticsearch-github": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-elastic-mcp-server-elasticsearch-github"
]
}
}
}Restart Claude Desktop, then ask:
"What tools do you have available from elasticsearch?"
API Key Required
This server requires an API key from elasticsearch. Add it to your environment or config.
| Variable | Required | Description |
|---|---|---|
| ELASTICSEARCH_API_KEY | Yes | Your elasticsearch API key |
"What resources are available in elasticsearch?"
Claude will query available resources and return a list of what you can access.
"Show me details about [specific item] in elasticsearch"
Claude will fetch and display detailed information about the requested item.
"Create a new [item] in elasticsearch with [details]"
Claude will use the appropriate tool to create the resource and confirm success.
We build custom MCP integrations for B2B companies. From simple connections to complex multi-tool setups.