elasticsearch-mcp-server
About
MCP server for interacting with Elasticsearch
Use this server
Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.
Transportstdio (runs a local command)
Env vars
ELASTICSEARCH_HOSTS ELASTICSEARCH_API_KEY ELASTICSEARCH_USERNAME ELASTICSEARCH_PASSWORD ELASTICSEARCH_VERIFY_CERTSClaude Code
claude mcp add --env ELASTICSEARCH_HOSTS= --env ELASTICSEARCH_API_KEY= --env ELASTICSEARCH_USERNAME= --env ELASTICSEARCH_PASSWORD= --env ELASTICSEARCH_VERIFY_CERTS= elasticsearch-mcp-server -- uvx elasticsearch-mcp-server
Cursor
If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.
VS Code
code --add-mcp '{"name":"elasticsearch-mcp-server","command":"uvx","args":["elasticsearch-mcp-server"],"env":{"ELASTICSEARCH_HOSTS":"","ELASTICSEARCH_API_KEY":"","ELASTICSEARCH_USERNAME":"","ELASTICSEARCH_PASSWORD":"","ELASTICSEARCH_VERIFY_CERTS":""}}'
JSON
{
"mcpServers": {
"elasticsearch-mcp-server": {
"command": "uvx",
"args": [
"elasticsearch-mcp-server"
],
"env": {
"ELASTICSEARCH_HOSTS": "",
"ELASTICSEARCH_API_KEY": "",
"ELASTICSEARCH_USERNAME": "",
"ELASTICSEARCH_PASSWORD": "",
"ELASTICSEARCH_VERIFY_CERTS": ""
}
}
}
}
Environment variables are listed by name only — fill in your own values. Entries never carry secrets.