Databases - official Elastic server
Elasticsearch MCP server
Standalone container MCP server that connects an agent to an Elasticsearch 8.x or 9.x cluster to list indices, read mappings, and run Query DSL and ES|QL queries. Elastic has deprecated it in favor of the Agent Builder MCP endpoint. It runs locally from docker.elastic.co/mcp/elasticsearch (docker) with API key auth.
Last verified 5 tools3 sources
Install
Generic
{
"mcpServers": {
"elasticsearch-mcp-server": {
"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>"
}
}
}
}Tools
list_indices- List all available Elasticsearch indices.
get_mappings- Get field mappings for a specific Elasticsearch index.
search- Perform an Elasticsearch search using query DSL.
esql- Execute an ES|QL query.
get_shards- Get shard information for all or specific indices.
As documented on October 17, 2026. A running server reports its current list through tools/list.
Notes and caveats
- DEPRECATED: the README says it will only receive critical security updates and has been superseded by the Elastic Agent Builder MCP endpoint (Elastic 9.2.0+ and Serverless).
- Version 0.4.0+ ships as a Docker image (also on AWS Marketplace).
- The npm package @elastic/mcp-server-elasticsearch stops at 0.3.1 (July 2025) and is itself marked deprecated.
- Auth is an API key or username and password (ES_USERNAME, ES_PASSWORD).
- In HTTP mode the endpoint is http://<host>:8080/mcp, with a health check at /ping.
- SSE is deprecated.
- The status enum has no 'deprecated' value, so status is set to unknown.
More MCP servers for databases
- ElasticStatus: GA
Elastic Agent Builder MCP server
MCP endpoint built into Kibana that exposes Elastic Agent Builder's built-in and custom tools to outside MCP hosts, for example running ES|QL queries, searching indices or querying observability and security data. It replaces the standalone Elasticsearch MCP Server.
Transport: Streamable HTTPAuth: OAuth or API key - Elastic
Elastic Security MCP App
Local MCP App server from Elastic that adds interactive security operations dashboards (alert triage, Attack Discovery, case management, detection rules, ES|QL threat hunting, sample data) to MCP hosts. It connects to Elasticsearch and Kibana with the analyst's API key and writes results back through the Elastic Security APIs.
Transport: stdio, Streamable HTTPAuth: API key - AirtableStatus: GA
Airtable MCP server
Airtable's official hosted MCP server lets AI tools list and create bases, change table and field schema, read and write records, build interfaces, submit forms and draft automations, all within the user's existing permissions.
Transport: Streamable HTTPAuth: OAuth or API key - Chroma
Chroma MCP server
Self-hosted MCP server that lets agents create and manage Chroma collections and add, query, update and delete documents. It supports vector search, full-text search and metadata filtering against ephemeral, persistent, self-hosted HTTP or Chroma Cloud clients.
Transport: stdioAuth: Other - ClickHouseStatus: Beta
ClickHouse Cloud remote MCP server
A fully managed remote MCP endpoint for ClickHouse Cloud services that lets agents list databases and tables, run read-only SELECT queries, and inspect organizations, services, backups, ClickPipes and billing. All 13 tools are read-only.
Transport: Streamable HTTPAuth: OAuth or API key - ClickHouse
ClickHouse MCP server
Open-source MCP server from ClickHouse that lets AI assistants list databases and tables and run SQL against any ClickHouse instance, self-hosted or Cloud. It also has an optional chDB embedded engine. It runs locally over stdio by default, and can also serve Streamable HTTP.
Transport: stdio, Streamable HTTP, SSEAuth: Other
Related reading
- Claude Code MCP Tasks: Long-Running Tools That Ask You ThingsClaude Code supports MCP Tasks and elicitations. What a tool call needs to become a task, what v2.1.319 changed for Bedrock and gateways, and what server authors change.
- Claude Security Continuous Scanning: Fix Tracking, API and MCPClaude Security now rescans repos as commits land, marks findings fixed when the fix ships, and adds an API, MCP connector and webhooks. Setup, limits and cost.
- MCP Client Features: Sampling, Elicitation and Roots ExplainedMCP sampling, elicitation and roots explained against the 2026-07-28 spec, with JSON-RPC examples and which of 24 clients support each one.
- REA vs leanrea: Skill or MCP for Reverse Engineering Agents?leanrea is an 8 KB skill pitched as a replacement for the REA (Reverse Engineer Anything) MCP server. What its benchmark shows, what it skips, and which to install.
- How to Publish a Plugin to the Claude Directory (Developer Portal Guide)Submit a plugin to the Claude directory: validate it, clear the security scan, publish, and read 90 days of usage analytics. Needs a paid plan.
- ChatGPT Plugin Extensions: Sidebar Apps, Panels and File EditorsChatGPT plugins can now add sidebar apps, side panels, file editors and native forms. How openai/ui entrypoints work, with type-checked code.
FAQ
What does the Elasticsearch MCP server do?
Standalone container MCP server that connects an agent to an Elasticsearch 8.x or 9.x cluster to list indices, read mappings, and run Query DSL and ES|QL queries. Elastic has deprecated it in favor of the Agent Builder MCP endpoint. The vendor documents 5 tools, including list_indices, get_mappings, search and esql.
How do I add the Elasticsearch MCP server to an MCP client?
Elastic documents a Generic config; copy it from the Generic section of this page.
Does the Elasticsearch MCP server need authentication?
Yes, API key. Transport: stdio, Streamable HTTP. Status: Unlabelled, last checked October 17, 2026.
Sources
Last verified against 3 Elastic pages, then re-checked independently.
- raw.githubusercontent.comhttps://raw.githubusercontent.com/elastic/mcp-server-elasticsearch/HEAD/README.md
- raw.githubusercontent.comhttps://raw.githubusercontent.com/elastic/mcp-server-elasticsearch/HEAD/LICENSE
- registry.npmjs.orghttps://registry.npmjs.org/@elastic/mcp-server-elasticsearch
Newsletter
New MCP servers, the week they ship
One email per week. New official MCP servers, the coding tools that support them and how developers wire them up.