Meilisearch MCP Server

Databasestdio
代码仓库

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.

连接

将此配置添加到 .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>"
      }
    }
  }
}

工具 (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"
    }
  }
}

资源

此服务器未提供任何资源。

提示词

此服务器未提供任何提示词。

服务器信息

作者
Meilisearch (@meilisearch)
代码仓库
https://github.com/meilisearch/meilisearch-mcp
星标
0
最后更新
2026年7月12日