loading…
Search for a command to run...
loading…
Exposes Elasticsearch semantic search capabilities as MCP tools, enabling ELSER, kNN, and hybrid search with automatic index setup.
Exposes Elasticsearch semantic search capabilities as MCP tools, enabling ELSER, kNN, and hybrid search with automatic index setup.
A FastAPI-based web server that exposes Elasticsearch semantic search and data retrieval capabilities through a simple REST API. This project connects directly to your Elasticsearch cluster (including Elastic Cloud and Serverless) and allows you to build custom search applications effortlessly.
multi_index_search.py) demonstrating how to interact with the API using Python.Edit the .env file with your Elasticsearch connection details:
ELASTICSEARCH_HOSTS=https://your-cluster-url.es.aws.elastic.cloud:443
ELASTICSEARCH_API_KEY=your_api_key_here
Start the web server using the pre-configured executable in your virtual environment:
.\venv\Scripts\elasticsearch-api.exe
Once running, you can access:
http://localhost:8000/pinghttp://localhost:8000/docsA demo script (multi_index_search.py) is provided to show how to communicate with the API. While the server is running, open a new terminal and execute:
.\venv\Scripts\python.exe multi_index_search.py
This script will:
http://localhost:8000/callcompany_details index.om_poc_v2 index using natural language queries.GET /ping: Verify your cluster connection.GET /tools: List all available internal tools.POST /call: The primary dynamic endpoint. Pass a tool name (like es_raw_search) and its arguments (like index and query DSL body) to interact with the Elasticsearch cluster..env file.Run in your terminal:
claude mcp add elasticsearch-mcp-server -- npx CSA PROJECT - FZCO © 2026 IFZA Business Park, DDP, Premises Number 31174 - 001
Security
Low riskAutomated heuristic from public metadata — not a security guarantee.