Meilisearch MCP Server

Interact & query with Meilisearch (Full-text & semantic search API)

Local serverstdioPython

What is the Meilisearch MCP server?

If you want an AI assistant working directly with Meilisearch, the meilisearch mcp server is the bridge. Interact & query with Meilisearch (Full-text & semantic search API).

What Meilisearch does

Tools it exposes

Once connected, the assistant can call these 5 tools directly:

  • get-keys — List all API keys
  • create-key — Create new API key with specific permissions
  • delete-key — Delete an existing API key
  • Prerequisites — The Prerequisites tool exposed by this server
  • Search — The Search tool exposed by this server

Installing the meilisearch mcp server

The server is distributed via npm as @modelcontextprotocol/inspector, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.

Configuration

Before the server will start you need to supply one environment variable: MEILI_MASTER_KEY. Keep credentials in your client's env block or a secrets manager rather than committing them.

Requirements

  • Python ≥ 3.9 - Running Meilisearch instance - MCP-compatible client (Claude Desktop, OpenAI agents, etc.)

Where it fits

Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. Meilisearch sits in that group, and the shape of its toolset — get-keys, create-key, delete-key among others — tells you what it is really for. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • It will not start until its required credentials are present, so set those before wondering why the tools never appear.
  • Written in Python.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the meilisearch mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
get-keysList all API keys
create-keyCreate new API key with specific permissions
delete-keyDelete an existing API key
PrerequisitesThe Prerequisites tool exposed by this server.
SearchThe Search tool exposed by this server.

How to install the Meilisearch MCP server

{
  "mcpServers": {
    "meilisearch": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/inspector"],
      "env": {
        "MEILI_MASTER_KEY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  • Python ≥ 3.9 - Running Meilisearch instance - MCP-compatible client (Claude Desktop, OpenAI agents, etc.)
VariableDescriptionRequired
MEILI_MASTER_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use Meilisearch to get-keys.
  • Use Meilisearch to create-key.
  • Use Meilisearch to delete-key.

Frequently asked questions

It connects Meilisearch to MCP-compatible AI assistants such as Claude and Cursor, exposing 5 tools (get-keys, create-key, delete-key, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Meilisearch directly.