Skip to main content

Elasticsearch

Official 🗄️ Data & Files

The official Elastic MCP server connects AI agents to Elasticsearch for full-text search, analytics, and data management. Supports Elasticsearch 8.x and 9.x with API key or username/password authentication.

Tags

full-text searchanalytics

Tools (5)

list_indicesget_mappingssearchesqlget_shards

Client configuration

Cursor (.cursor/mcp.json)

{ "mcpServers": { "elasticsearch": { "url": "https://your-kibana/api/agent_builder/mcp", "headers": { "Authorization": "ApiKey your-credential-here" } } } }

VS Code (.vscode/mcp.json)

{ "servers": { "elasticsearch": { "url": "https://your-kibana/api/agent_builder/mcp", "headers": { "Authorization": "ApiKey your-credential-here" }, "type": "http" } } }

Replace the placeholders before connecting. Authorize in your client when prompted.

For Claude, add the remote server in Settings > Connectors.

Documentation →