$ timeahead.in
mcp/iogithubcr7258elasticsearch-mcp-server/install/claude-code

install io.github.cr7258/elasticsearch-mcp-server on Claude Code

Requires the runtime declared in the upstream repo — check the README before running. Claude Code persists MCP servers via its CLI — no config file to edit, just run the command below once. Paste the config below, then follow the reload step to register io.github.cr7258/elasticsearch-mcp-server.

run this in your terminal
cli: Run the command below in your terminal — Claude Code persists it for you.
claude mcp add elasticsearch-mcp-server --env ELASTICSEARCH_CLUSTERS={"prod": {"hosts": ["https://prod-es:9200"], "api_key": "<PROD_API_KEY>", "verify_certs": true}, "staging": {"hosts": ["https://staging-es:9200"], "username": "elastic", "password": "<STAGING_PASSWORD>"}} --env DEFAULT_CLUSTER=prod -- uvx elasticsearch-mcp-server
then: No reload needed — the next session picks up the new server.
other clients
Claude DesktopCursorWindsurfVS Code (Copilot)
← back to io.github.cr7258/elasticsearch-mcp-server