Meilisearch MCP Server

Databasestdio
Repository

Official MCP server for Meilisearch, the open-source, lightning-fast search engine. Enables MCP-compatible clients to manage search indexes, add and update documents, run searches, and adjust index settings through natural language. Useful for building and debugging search experiences and for letting agents query application data stored in Meilisearch.

Connect

Add this configuration to .claude/mcp.json

{
  "mcpServers": {
    "meilisearch": {
      "command": "uvx",
      "args": [
        "meilisearch-mcp"
      ],
      "env": {
        "MEILI_HTTP_ADDR": "<YOUR_MEILI_HTTP_ADDR>",
        "MEILI_MASTER_KEY": "<YOUR_MEILI_MASTER_KEY>"
      }
    }
  }
}

Tools (2)

search

Run a search query against a Meilisearch index and return matching documents.

{
  "type": "object",
  "required": [
    "index_uid",
    "query"
  ],
  "properties": {
    "limit": {
      "type": "integer",
      "description": "Maximum number of results to return"
    },
    "query": {
      "type": "string",
      "description": "Search query string"
    },
    "index_uid": {
      "type": "string",
      "description": "Unique identifier of the index to search"
    }
  }
}

add_documents

Add or update documents in a Meilisearch index.

{
  "type": "object",
  "required": [
    "index_uid",
    "documents"
  ],
  "properties": {
    "documents": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "description": "Documents to index"
    },
    "index_uid": {
      "type": "string",
      "description": "Unique identifier of the target index"
    }
  }
}

Resources

This server does not expose any resources.

Prompts

This server does not expose any prompts.

Server Information

Author
Meilisearch (@meilisearch)
Repository
https://github.com/meilisearch/meilisearch-mcp
Stars
0
Last Updated
July 12, 2026