Meilisearch

v1.0.0Search & Data Extractionstable

Enables AI assistants to interact with Meilisearch through a standardized interface, supporting index and document management, search capabilities, settings configuration, task monitoring, and experimental vector search.

agentmcpmeilisearchmodelcontextprotocolrag
Share:
186
Stars
0
Downloads
0
Weekly
0/5

What is Meilisearch?

Meilisearch is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to enables ai assistants to interact with meilisearch through a standardized interface, supporting index and document management, search capabilities, settings configuration, task monitoring, and experim...

Enables AI assistants to interact with Meilisearch through a standardized interface, supporting index and document management, search capabilities, settings configuration, task monitoring, and experimental vector search.

This server falls under the Search & Data Extraction category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Enables AI assistants to interact with Meilisearch through a

Use Cases

Search and manage indexes using Meilisearch API.
Build RAG pipelines with vector and semantic search capabilities.
Perform document and index management through AI.
meilisearch

Maintainer

LicenseMIT License
Languagepython
Versionv1.0.0
UpdatedMay 21, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx meilisearch-mcp-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Meilisearch

The Meilisearch MCP Server gives AI assistants a standardized interface to a running Meilisearch instance, supporting full index and document management, keyword and semantic search, settings configuration, API key management, and task monitoring. It lets AI agents create indexes, ingest documents, run filtered searches, and tune ranking rules without any custom integration code. Developers building RAG pipelines, search-enabled chatbots, or AI-assisted content management systems use it to drive Meilisearch operations directly from their AI client.

Prerequisites

  • Python 3.9 or later
  • A running Meilisearch instance (local via Docker or hosted on Meilisearch Cloud)
  • Meilisearch master key if the instance has API key protection enabled
  • An MCP-compatible client such as Claude Desktop or an OpenAI agents framework
  • uvx (recommended) or pip for installing the meilisearch-mcp package
1

Start a Meilisearch instance

If you don't already have Meilisearch running, start a local instance using Docker. The default port is 7700.

docker run -it --rm -p 7700:7700 getmeili/meilisearch:latest
2

Install the meilisearch-mcp package

Install via pip or uvx. The uvx method is recommended as it runs the package in an isolated environment without polluting your global Python installation.

# Recommended
pip install meilisearch-mcp

# Or with uvx (no install needed at runtime)
uvx -n meilisearch-mcp
3

Set environment variables for your Meilisearch instance

Configure the server URL and optional master key via environment variables. These can be set in your shell or directly in the MCP client config.

export MEILI_HTTP_ADDR=http://localhost:7700
export MEILI_MASTER_KEY=your-master-key-here
4

Add the server to your MCP client configuration

Add meilisearch-mcp to your claude_desktop_config.json or equivalent MCP config file, passing the environment variables inline.

{
  "mcpServers": {
    "meilisearch": {
      "command": "uvx",
      "args": ["-n", "meilisearch-mcp"],
      "env": {
        "MEILI_HTTP_ADDR": "http://localhost:7700",
        "MEILI_MASTER_KEY": "your-master-key-here"
      }
    }
  }
}
5

Verify the connection and start using search tools

Restart your MCP client and ask the AI to check the Meilisearch health status. You can then create indexes, add documents, and run searches through natural language prompts.

Meilisearch Examples

Client configuration (Claude Desktop)

Full configuration block for claude_desktop_config.json using uvx to run meilisearch-mcp with connection details passed as env vars.

{
  "mcpServers": {
    "meilisearch": {
      "command": "uvx",
      "args": ["-n", "meilisearch-mcp"],
      "env": {
        "MEILI_HTTP_ADDR": "http://localhost:7700",
        "MEILI_MASTER_KEY": "your-master-key-here"
      }
    }
  }
}

Prompts to try

Example queries once the Meilisearch MCP server is connected.

- "Create a new index called 'products' with 'id' as the primary key"
- "Add these 5 product documents to the products index"
- "Search for 'wireless headphones' in the products index with a price filter under $100"
- "Show me the current search settings for the products index"
- "Check the health status of my Meilisearch instance"
- "Create an API key with search-only permissions for the products index"

Troubleshooting Meilisearch

Connection refused or timeout when connecting to Meilisearch

Verify Meilisearch is running and accessible at the URL in MEILI_HTTP_ADDR. Test with curl http://localhost:7700/health. If using Docker, ensure the container port is mapped with -p 7700:7700.

Authentication error — invalid API key

Set MEILI_MASTER_KEY to match the master key your Meilisearch instance was started with. If you started Meilisearch without a master key, leave MEILI_MASTER_KEY unset. Check the Meilisearch logs for the exact key it expects.

uvx command not found when starting the MCP server

Install uv by running pip install uv or follow the uv installation docs at https://docs.astral.sh/uv/. Alternatively, use pip install meilisearch-mcp and change the command to meilisearch-mcp in your config.

Frequently Asked Questions about Meilisearch

What is Meilisearch?

Meilisearch is a Model Context Protocol (MCP) server that enables ai assistants to interact with meilisearch through a standardized interface, supporting index and document management, search capabilities, settings configuration, task monitoring, and experimental vector search. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Meilisearch?

Follow the installation instructions on the Meilisearch GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Meilisearch?

Meilisearch works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Meilisearch free to use?

Yes, Meilisearch is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Search & Data Extraction MCP Servers

Explore all search & data extraction servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "meilisearch-mcp-server": { "command": "npx", "args": ["-y", "meilisearch-mcp-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Meilisearch?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides