MCP server / elastic

Elasticsearch MCP Server for Codex

The Elasticsearch MCP Server connects your AI agents to Elasticsearch data using the Model Context Protocol (MCP).

Docs reviewedChecked 2026-09-20Runtime not tested

What it adds

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.

elasticsearchvector-database

Get set up

  1. Run the install command below to register the server with Codex.
  2. Restart Codex or start a new thread so the tools load.
npx -y @elastic/mcp-server-elasticsearch
Review before running
Read the installation source

Before you install

  • ES_API_KEY

Compatibility & limitations

Documented for ChatGPT desktop app, Codex CLI, Codex IDE extension

Cursor: Not confirmed for Cursor.

    This listing is based on source documentation. We have not installed or runtime-tested this asset.

    How it fits together

    Xlsx · SkillUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an...ChatGPT Apps · SkillBuild, scaffold, refactor, and troubleshoot ChatGPT Apps SDK applications that combine an MCP server and widget UI.MCP Toolbox for Databases · MCP serverMCP Toolbox for Databases is an open source MCP server for databases.DBHub · MCP serverToken conscious database MCP server for Postgres, MySQL, SQL Server, Oracle, MariaDB, SQLite.Postgres MCP Pro · MCP serverPostgres MCP Pro provides configurable read/write access and performance analysis for you and your AI agents.MySQL · MCP serverA Model Context Protocol server that provides read-only access to MySQL databases.

    Sources & provenance

    Reviewed 2026-09-20. Source revision: main (mutable; commit not pinned).