Elasticsearch
io.github.TocharianOU/elasticsearch
v0.10.0Updated Nov 22, 2026stdio · npm
Elasticsearch MCP Server for ES 5.x-9.x with a query harness, field validation and full API access
Install
Replace 1 placeholder with your own values.
Run in your terminal. Replace 1 placeholder.
claude mcp add elasticsearch -e 'ES_URL=<your-es-url>' -e MAX_TOKEN_CALL=20000 -- npx -y @tocharianou/[email protected]The registry lists extra launch arguments or environment variables for this server that could change what runs. They are left out here; check its repository before adding any.
Configuration
11 settings.
ES_URLEnv var· requiredYour Elasticsearch instance URL (e.g., https://localhost:9200)MCP_TRANSPORTEnv var· requiredTransport mode selectionDefault:httpES_API_KEYEnv var· optional· secretElasticsearch API key for authenticationES_PASSWORDEnv var· optional· secretElasticsearch password for basic authenticationMCP_BEARER_TOKENEnv var· optional· secretBearer token required on /mcp requests (recommended for any non-localhost bind)ES_USERNAMEEnv var· optionalElasticsearch username for basic authentication
Show 5 moreShow fewer
ES_CA_CERTEnv var· optionalPath to custom CA certificate for Elasticsearch SSL/TLSNODE_TLS_REJECT_UNAUTHORIZEDEnv var· optionalSet to '0' to disable SSL certificate validation (development only)Default:1MAX_TOKEN_CALLEnv var· optionalMaximum tokens per API callDefault:20000MCP_HTTP_PORTEnv var· optionalHTTP server port (when using HTTP transport)Default:3000MCP_HTTP_HOSTEnv var· optionalHTTP server host (when using HTTP transport)Default:localhost
Links
Listed in the official MCP Registry since Nov 22, 2026. Mirrored daily; last checked Nov 26, 2026.