mcp-elasticsearch
Provides read-only search and aggregation capabilities for Elasticsearch, including listing indices and retrieving mappings, enabling agents to query and inspect Elasticsearch data.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
mcp-elasticsearch
Elasticsearch MCP Server (Model Context Protocol) - read-only search only.
Features
Only exposes read-only operations:
list_indices- List all indicesget_mapping- Get index mappingsearch- Execute search/aggregation query
Related MCP server: Elasticsearch MCP Server
Supports two transport modes
1. stdio (for local/standalone deployment)
python -m mcp_elasticsearch --transport stdio --url http://localhost:92002. sse (for remote/containerized deployment)
python -m mcp_elasticsearch --transport sse --host 0.0.0.0 --port 8002 --url http://elasticsearch:9200 [--api-key your-secret-key]Environment variables
All command line arguments can also be set via environment variables:
TRANSPORT-stdioorsse(default:stdio)HOST- bind host for sse mode (default:0.0.0.0)PORT- bind port for sse mode (default:8002)ELASTICSEARCH_URL- Elasticsearch URLAPI_KEY- Optional API key for client authentication
Docker
FROM python:3.11-slim
WORKDIR /app
COPY pyproject.toml poetry.lock ./
RUN poetry install --no-dev --no-root
COPY mcp_elasticsearch/ ./mcp_elasticsearch/
EXPOSE 8002
CMD ["python", "-m", "mcp_elasticsearch"]Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only MCP access to sessions, funnels, campaigns, errors, live visitors, and anomalies.
Read-only MCP security data: check catalogue, public scan status and your own scan reports.
MCP Trust Firewall: tenant-approved tools, schema-pinned public reads. Authorization is required.
Read-only MCP for identity resolution and write guardrails.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceA read-only MCP server for Elasticsearch 7.10 clusters, providing tools for cluster info, health, index listing, and Query DSL search with Google OAuth and Bearer token authentication.5 npmMIT
- AlicenseNot gradedqualityDmaintenanceMCP server that provides tools and resources to interact with Elasticsearch clusters, including listing indices, searching, and retrieving mappings.3MIT
- FlicenseNot gradedqualityDmaintenanceRead-only MCP server for Elasticsearch log querying. Enables natural language search, filtering, context retrieval, and aggregation of logs.-
- AlicenseAqualityCmaintenanceEnables any MCP-compatible agent to query, diagnose, map, and operate Elasticsearch or OpenSearch clusters via REST, with read-only defaults and layered safety controls.34Apache 2.0