drio
Open app

Meilisearch MCP Server

Source

A Model Context Protocol (MCP) server for interacting with Meilisearch through LLM interfaces.

Catalog onlyCatalog onlySTDIO

Overview

Meilisearch MCP Server is a Model Context Protocol server designed for interaction with Meilisearch through various LLM interfaces, such as Claude.

To use the Meilisearch MCP Server, clone its repository, set up the environment by installing dependencies, and configure necessary environment variables to connect to a Meilisearch instance. You can start the server and utilize specific commands through MCP to manage indices and perform searches.

  • 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
  1. Managing large datasets in Meilisearch for enhanced search capabilities
  2. Automatically adjusting API keys and connection settings for different environments
  3. Performing complex search queries across various indices seamlessly

Add to your AI client

Use these steps to connect Meilisearch MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

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

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

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

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

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

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "meilisearch-mcp-meilisearch": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-meilisearch-mcp-meilisearch"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

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

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

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

FAQ

What are the requirements to run Meilisearch MCP Server?

You need Python >= 3.9, an instance of Meilisearch running, and Node.js for testing.

How do I update the connection settings?

Use the `update-connection-settings` command to modify the URL and/or API key at runtime.

Can I manage multiple Meilisearch instances?

Yes! The server supports dynamic connection configurations allowing you to switch between instances easily.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":502,"uuid":"d1fabd59-444c-4a3d-ab7c-f0d76ae53da0","name":"meilisearch-mcp","title":"Meilisearch MCP Server","description":"A Model Context Protocol (MCP) server for interacting with Meilisearch through LLM interfaces.","avatar_url":"https://avatars.githubusercontent.com/u/43250847?v=4","created_at":"2024-12-30T02:52:12.282Z","updated_at":"2025-01-05T02:54:48.314Z","status":"created","author_name":"meilisearch","author_avatar_url":"https://avatars.githubusercontent.com/u/43250847?v=4","tags":"[]","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/meilisearch/meilisearch-mcp","target":"_self","content":"$29","summary":"$2a","img_url":"https://camo.githubusercontent.com/59d6e8d8eeec596ac866cec2b89fecdce0956c71fb30069ffea878c1002a0eb2/68747470733a2f2f676c616d612e61692f6d63702f736572766572732f746263336e35316a6a612f6261646765","type":null,"metadata":"{\"star\":\"89\",\"license\":\"MIT license\",\"language\":\"Python\",\"is_official\":false,\"latest_commit_time\":\"2025-06-06 10:05:39\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]