Meilisearch Mcp

io.github.mrfentmen由 GitHub 账号 mrfentmen 发布v1.0.2更新于 Oct 30, 2026

Search indexes, manage documents, check health and stats.

已验证STDIO仅桌面数据库网页搜索与抓取

概览

AI 生成的概览

面向 MeiliSearch 的 MCP 服务器,让助手搜索索引、管理文档与索引,并查看实例健康状态和统计信息。

可以做什么
  • 搜索与读取:在索引中执行搜索、列出文档、按 ID 获取单个文档。
  • 索引管理:列出索引、查看索引详情、创建和删除索引。
  • 文档操作:向索引添加文档、按 ID 删除文档。
  • 设置与密钥:更新索引设置(如排序规则、可搜索属性),列出 API 密钥。
  • 运行监控:检查服务器健康状态、获取实例与单个索引的统计信息、查询异步任务状态。
适用场景
适合已运行 MeiliSearch 实例、希望助手在对话中查询索引内容或维护索引数据与设置的场景,例如搜索商品或博客文章索引、向其中添加文档。
运行要求
通过 stdio 在本地运行,通常用 npx 启动,需要 Node.js。需要一个可访问的运行中 MeiliSearch 实例(v1.0+),地址由 MEILISEARCH_URL 指定(默认 MEILISEARCH_API_KEY 中提供 API 密钥。
安装前请注意
MEILISEARCH_API_KEY 中的 API 密钥属于机密,可能具备写入或管理权限。多个工具会改动数据:create_index、delete_index、add_documents、delete_document 和 update_settings 可新增、修改或永久删除索引、文档与设置。试验时建议连接非生产实例或使用受限密钥。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Meilisearch Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

MeiliSearch MCP

An MCP server for MeiliSearch, the fast and typo-tolerant search engine.

What it does

Search through MeiliSearch indexes, manage documents, create/delete indexes, check health and stats, and manage API keys. Perfect for AI agents that need to search through your data.

Tools

  • check_health - Check if the MeiliSearch server is running
  • list_indexes - List all indexes
  • get_index - Get index details
  • create_index - Create a new index
  • delete_index - Delete an index
  • search_index - Search documents in an index
  • get_documents - List documents in an index
  • get_document - Get a single document by ID
  • add_documents - Add documents to an index
  • delete_document - Delete a document by ID
  • get_stats - Get instance statistics
  • get_index_stats - Get index-specific statistics
  • get_task - Check async task status
  • list_keys - List API keys
  • update_settings - Update index settings (ranking rules, searchable attributes, filters, etc.)

Install

bash
npx meilisearch-mcp

Environment Variables

  • MEILISEARCH_URL - MeiliSearch server URL (default: http://localhost:7575)
  • MEILISEARCH_API_KEY - API key for authentication (if your instance requires it)

Claude Desktop setup

Add this to your claude_desktop_config.json:

json
{  "mcpServers": {    "meilisearch": {      "command": "npx",      "args": ["-y", "meilisearch-mcp"],      "env": {        "MEILISEARCH_URL": "http://localhost:7575",        "MEILISEARCH_API_KEY": "your-api-key"      }    }  }}

Example usage

Ask Claude:

  • "Search my products index for 'wireless headphones'"
  • "Show me all indexes in my MeiliSearch instance"
  • "Add these documents to my blog-posts index"
  • "How many documents are in my main index?"
  • "Update my index settings to use title as searchable attribute"

Requirements

  • A running MeiliSearch instance (v1.0+)
  • Optional: API key if your instance has authentication enabled

License

MIT

来源:README.md,提交 065cc4b

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

2
  1. v1.0.2最新Sep 22, 2026
  2. v1.0.1Sep 16, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。