Meilisearch MCP Server logo

Meilisearch MCP Server

by meilisearch

A Model Context Protocol (MCP) server for interacting with Meilisearch through LLM interfaces like Claude. It provides tools for managing Meilisearch instances and performing searches.

View on GitHub

Last updated: N/A

What is Meilisearch MCP Server?

The Meilisearch MCP Server is a Python implementation of a Model Context Protocol server designed to facilitate interaction with Meilisearch instances through Large Language Model (LLM) interfaces such as Claude. It acts as an intermediary, enabling LLMs to leverage Meilisearch's search capabilities.

How to use Meilisearch MCP Server?

To use the server, first install it by cloning the repository, creating a virtual environment, and installing the dependencies. Configure environment variables for the Meilisearch instance URL and API key. Then, use the available MCP commands to manage connections, indexes, documents, settings, API keys, and tasks. The server can be integrated with Claude Desktop by adding the server configuration to the claude_desktop_config.json file. It can also be tested with MCP Inspector.

Key features of Meilisearch MCP Server

  • Index and document management

  • Settings configuration and management

  • Task monitoring and API key management

  • Built-in logging and monitoring tools

  • Dynamic connection configuration to switch between Meilisearch instances

  • Smart search across single or multiple indices

Use cases of Meilisearch MCP Server

  • Integrating Meilisearch search capabilities into LLM-powered applications

  • Providing a structured interface for LLMs to manage and interact with Meilisearch

  • Enabling LLMs to perform complex searches and data retrieval from Meilisearch indexes

  • Automating Meilisearch management tasks through LLM commands

FAQ from Meilisearch MCP Server

What is the purpose of the MCP Server?

It allows LLMs to interact with and manage Meilisearch instances.

How do I configure the server to connect to my Meilisearch instance?

Set the MEILI_HTTP_ADDR and MEILI_MASTER_KEY environment variables.

Can I search across multiple indexes at once?

Yes, the search command supports searching across all indexes.

How do I update the connection settings at runtime?

Use the update-connection-settings command.

How can I use this server with Claude Desktop?

Add the server configuration to your claude_desktop_config.json file.