Connects Elasticsearch data to any Model Context Protocol (MCP) Client, enabling natural language interaction.
If you already use Elasticsearch, the elasticsearch mcp server is the piece that lets your assistant work with it directly. Connects Elasticsearch data to any Model Context Protocol (MCP) Client, enabling natural language interaction.
The Elasticsearch MCP Server connects your AI agents to Elasticsearch data using the Model Context Protocol (MCP). It enables natural language interactions with your Elasticsearch indices, allowing agents to query, analyze, and retrieve data without custom APIs.
The toolset is worth reading before you wire it up, because it tells you what the integration is really for:
list_indices — List all available Elasticsearch indicesget_mappings — Get field mappings for a specific Elasticsearch indexsearch — Perform an Elasticsearch search using query DSLesql — Execute an ES|QL queryget_shards — Get shard information for all or specific indicesConfiguration is passed through the environment: ES_URL, ES_API_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
Before you start, ensure you have: - An Elasticsearch cluster (version 8.x or 9.x) accessible from your AWS environment - Elasticsearch authentication credentials: - An API key, or - A username and password pair - Docker installed and running in your AWS environment (for example, on an
Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client.
Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Elasticsearch's toolset — list_indices, get_mappings, search and 2 more — is a fair guide to whether it matches your workflow. It is maintained by elastic; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| 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 |
Before you start, ensure you have: - An Elasticsearch cluster (version 8.x or 9.x) accessible from your AWS environment - Elasticsearch authentication credentials: - An API key, or - A username and password pair - Docker installed and running in your AWS environment (for example, on an
| Variable | Description | Required |
|---|---|---|
| ES_URL | Endpoint or connection string the server talks to. | Yes |
| ES_API_KEY | Credential the server authenticates with. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.