Home / MCP / Meilisearch Hybrid Search MCP Server

Meilisearch Hybrid Search MCP Server

Provides hybrid Meilisearch queries by combining keyword and semantic search with optional filters.

go
Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
    "mcpServers": {
        "meili_hybrid_http": {
            "url": "https://mcp.example.com/mcp"
        }
    }
}

You have a Meilisearch Hybrid Search MCP Server that blends keyword and semantic search against a Meilisearch index. This server runs locally and communicates over standard input/output, making it easy to integrate into MCP clients and orchestrations that rely on synchronous, in-process commands. By configuring your Meilisearch connection and embedding setup, you can perform fast keyword searches together with semantic ranking in a single query.

How to use

To perform a hybrid search, you call the hybrid_search tool from your MCP client. You provide the search keywords and optionally tune the balance between keyword and semantic ranking. You can also apply an attribute filter to narrow results.

Key inputs you can supply to the tool are:

  • keywords: the search terms you want to match
  • semantic_ratio: a value between 0.0 and 1.0 that balances keyword vs semantic search (0.0 = pure keyword, 1.0 = pure semantic)
  • filterable_attribute: the attribute name to filter on (for example, genre or author)
  • filter_word: the value to filter by for the specified attribute (for example, Drama or Tolkien)

Available tools

hybrid_search

Hybrid search tool that combines keyword-based search with semantic vector search on the configured Meilisearch index.