Caution
WORK IN PROGRESS. This is a development branch, not ready for use, things may be broken. You've been warned!
Connect to your Elasticsearch data directly from any MCP Client (like Claude Desktop) using the Model Context Protocol (MCP).
This server connects agents to your Elasticsearch data using the Model Context Protocol. It allows you to interact with your Elasticsearch indices through natural language conversations.
list_indices: List all available Elasticsearch indicesget_mappings: Get field mappings for a specific Elasticsearch indexsearch: Perform an Elasticsearch search with the provided query DSLesql: Perform an ES|QL queryget_shards: Get shard information for all or specific indices
- An Elasticsearch instance
- Elasticsearch authentication credentials (API key or username/password)
- MCP Client (e.g. Claude Desktop)
This branch is a development branch. This version is not packaged yet.
One-time operations:
- make sure Rust is installed
- copy the
.env-examplefile to.envand update its content according to your environment
And run
cargo run httpfor a streamable-http server on http://localhost:8080/path/to/scripts/cargo-run.sh stdiofor a stdio server (this script sets the current directory before startingcargo run)