Does Elasticsearch have an MCP server?
Elasticsearch maintains an official MCP server.
Elastic's standalone elastic/mcp-server-elasticsearch repo is deprecated (critical security fixes only) in favour of the Agent Builder MCP endpoint.
- Access
- Built into the product
- Endpoint
- Built into Elastic Agent Builder at <kibana-url>/api/agent_builder/mcp (Elastic 9.2+ and Serverless) — in-product
- Category
- Databases
Ships inside Elasticsearch's own product rather than as a standalone server. Documented at www.elastic.co.
Ships inside the vendor's own app or CLI rather than as a standalone download.
Add it from the terminal, then restart your session:
claude mcp add elasticsearch -- npx -y <package-from-readme>Swap in the exact package and flags from the package page — most servers need an API key passed as an environment variable.
Add --scope user to make it available in every project.
Open Settings → Developer → Edit Config and add the server to claude_desktop_config.json:
{
"mcpServers": {
"elasticsearch": {
"command": "npx",
"args": [
"-y",
"<package-from-readme>"
],
"env": {
"API_KEY": "…"
}
}
}
}Restart Claude Desktop after saving.
Add to .cursor/mcp.json in your project, or ~/.cursor/mcp.json for
every project:
{
"mcpServers": {
"elasticsearch": {
"command": "npx",
"args": [
"-y",
"<package-from-readme>"
],
"env": {
"API_KEY": "…"
}
}
}
}A green dot in Settings → MCP means it connected.
Add to .vscode/mcp.json:
{
"servers": {
"elasticsearch": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"<package-from-readme>"
]
}
}
}Then pick the server from the tools menu in Copilot's agent mode.
Does Elasticsearch have an official MCP server?
Yes. Elasticsearch maintains an official MCP server.
How do I connect Elasticsearch to Claude?
Run the server locally and register it in Claude's MCP config. In Claude Code that's a single "claude mcp add" command; in Claude Desktop you add it to claude_desktop_config.json.
How is this verdict verified?
elastic.co docs describe the Elastic Agent Builder MCP server at {KIBANA_URL}/api/agent_builder/mcp, GA on Elastic Cloud Serverless and in the Elastic Stack since 9.3 (preview in 9.2). GitHub metadata is refreshed every six hours.
elastic.co docs describe the Elastic Agent Builder MCP server at {KIBANA_URL}/api/agent_builder/mcp, GA on Elastic Cloud Serverless and in the Elastic Stack since 9.3 (preview in 9.2).
- github data refreshed 2026-09-29, then every 6 hours
- vendor docs verified on 2026-09-29
Spotted something out of date? Tell us — corrections ship same-day.