Requires Node 18+ on your system so npx can fetch the package on first run. 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 @awesome-ai/elasticsearch-mcp.
Run the command below in your terminal — Claude Code persists it for you.claude mcp add elasticsearch-mcp --env ES_HOST=your-elasticsearch-host --env ES_API_KEY=your-api-key -- npx -y @awesome-ai/elasticsearch-mcp