Meilisearch MCP Server for Claude
Connect Claude to Meilisearch — manage indexes, add and search documents, tune settings, and monitor tasks — with Meilisearch's official Model Context Protocol server.
Open the source and read safety notes before installing.
Safety notes
- Tools create and delete indexes and documents and rotate API keys — scope the key and confirm destructive actions.
- Settings and index deletes change live search behavior; review before running them through Claude.
Privacy notes
- Indexed documents and search results enter the MCP client context and the model's prompt.
- MEILI_HTTP_ADDR and MEILI_MASTER_KEY are secrets — keep them in the client config or environment.
Prerequisites
- A reachable Meilisearch instance URL (MEILI_HTTP_ADDR).
- A Meilisearch master or API key (MEILI_MASTER_KEY) when your instance requires authentication.
- uv (uvx) or pip to run meilisearch-mcp, or Docker (getmeili/meilisearch-mcp).
- An MCP client such as Claude Code or Claude Desktop.
Schema details
- Install type
- cli
- Troubleshooting
- No
- Scope
- Source repo
- Estimated setup
- 10 minutes
- Difficulty
- intermediate
- Website
- https://www.meilisearch.com
Full copyable content
{
"mcpServers": {
"meilisearch": {
"command": "uvx",
"args": ["-n", "meilisearch-mcp"],
"env": {
"MEILI_HTTP_ADDR": "<your-meili-url>",
"MEILI_MASTER_KEY": "<your-key>"
}
}
}
}About this resource
Overview
The Meilisearch MCP Server is Meilisearch's official Model Context Protocol server. It lets
Claude manage a Meilisearch instance in natural language — creating and configuring indexes, adding
and searching documents, tuning settings, managing API keys, and monitoring tasks. It runs over
stdio via uvx/pip (or the getmeili/meilisearch-mcp Docker image) and is licensed under MIT.
Key capabilities
- Index operations — create, list, update, and delete indexes.
- Document management — add, update, and delete documents.
- Search — run searches against an index.
- Settings — configure ranking, filtering, and other index settings.
- API keys & tasks — manage keys and monitor async task status, health, and system stats.
How it compares
Several search-engine MCP servers give Claude full-text and relevance search; they differ in hosting and focus:
| MCP server | Engine | Hosting | Notable |
|---|---|---|---|
| Meilisearch MCP | Meilisearch | Self-host or Meilisearch Cloud | Fast, typo-tolerant search; simple setup |
| Elasticsearch MCP | Elasticsearch | Self-host or Elastic Cloud | Query DSL + ES|QL analytics |
| Algolia MCP | Algolia | Hosted SaaS | Managed relevance + analytics |
Choose Meilisearch when you want a lightweight, typo-tolerant search engine you can self-host; the Elasticsearch and Algolia servers cover heavier analytics and fully managed search.
Installation
Claude Code
claude mcp add meilisearch -e MEILI_HTTP_ADDR=<your-meili-url> -e MEILI_MASTER_KEY=<your-key> -- \
uvx -n meilisearch-mcp
Claude Desktop
{
"mcpServers": {
"meilisearch": {
"command": "uvx",
"args": ["-n", "meilisearch-mcp"],
"env": {
"MEILI_HTTP_ADDR": "<your-meili-url>",
"MEILI_MASTER_KEY": "<your-key>"
}
}
}
}
Requirements
- A reachable Meilisearch instance and (if required) a master/API key.
uv/pipor Docker to run the server.- An MCP client (Claude Code or Claude Desktop).
Security
- Scope the Meilisearch key to least privilege; prefer a search-only key where Claude only queries.
- Index/document deletes and settings changes affect live search — review before running.
- Treat
MEILI_HTTP_ADDRandMEILI_MASTER_KEYas secrets.
Source Verification Notes
Verified on 2026-06-17:
- The official repository
github.com/meilisearch/meilisearch-mcp(MIT) documents themeilisearch-mcppackage (uvx/pip/Docker), stdio transport, theMEILI_HTTP_ADDR/MEILI_MASTER_KEYconfiguration, and the index, document, search, settings, API-key, and task tools above. - Meilisearch's documentation describes the underlying index and search features.
- Claude Code's MCP documentation describes the connector setup pattern used here.
Source citations
Add this badge to your README
How it compares
Meilisearch MCP Server for Claude side by side with 3 alternatives on trust, install, platform support, and disclosed safety notes — all from reviewed registry metadata.
| Field | Meilisearch MCP Server for Claude Connect Claude to Meilisearch — manage indexes, add and search documents, tune settings, and monitor tasks — with Meilisearch's official Model Context Protocol server. Open dossier | Elasticsearch MCP Server for Claude Connect Claude to your Elasticsearch cluster — search indices, inspect mappings, run ES|QL, and check shard health — with Elastic's official Model Context Protocol server. Open dossier | Weaviate MCP Server for Claude Connect Claude to a Weaviate vector database — run hybrid search, inspect collection config, list tenants, and upsert objects — using Weaviate's built-in Model Context Protocol server. Open dossier | Code Index MCP Server Local code indexing MCP server that lets AI assistants search repositories, build symbol indexes, inspect file summaries, monitor changes, and navigate multi-language codebases. Open dossier |
|---|---|---|---|---|
| Trust | ||||
| Install risk | Review first | Review first | Review first | Review first |
| Notes | Safety ✓ Privacy ✓ | Safety ✓ Privacy ✓ | Safety ✓ Privacy ✓ | Safety ✓ Privacy ✓ |
| Category | mcp | mcp | mcp | mcp |
| Source | source-backed | source-backed | source-backed | source-backed |
| Author | Meilisearch | Elastic | Weaviate | johnhuang316 |
| Added | 2026-06-17 | 2026-06-17 | 2026-06-17 | 2026-06-06 |
| Platforms | Claude CodeCodexCursorClaude Desktop | Claude CodeClaude Desktop | Claude CodeClaude Desktop | Claude CodeClaude Desktop |
| Source repo | — | — | — | — |
| Safety notes | ✓Tools create and delete indexes and documents and rotate API keys — scope the key and confirm destructive actions. Settings and index deletes change live search behavior; review before running them through Claude. | ✓Search, ES|QL, and shard tools run live read queries against the configured cluster; a broad or expensive query can add load. Scope the Elasticsearch API key to least privilege (read-only on the indices Claude should see) before connecting. | ✓The MCP server runs inside your Weaviate instance and respects its existing RBAC; scope the API key to least privilege. The object-upsert tool writes data — restrict write access to the collections Claude should modify. | ✓Code Index MCP reads repository files, builds shallow and deep indexes, exposes file summaries, and can return source snippets through search and file resources. Point `--project-path` at one approved repository; avoid broad parent directories, home directories, generated dependency trees, or secret-heavy paths. Deep indexing and watcher refreshes can consume CPU, memory, disk IO, and temp storage on large codebases. The server can create and clear index/cache settings and temporary directories used for stored index data. Search results, file summaries, and symbol bodies can surface credentials, private code, customer data, internal URLs, or proprietary implementation details if they exist in the repository. |
| Privacy notes | ✓Indexed documents and search results enter the MCP client context and the model's prompt. MEILI_HTTP_ADDR and MEILI_MASTER_KEY are secrets — keep them in the client config or environment. | ✓Index data, field mappings, and query results enter the MCP client context and the model's prompt. ES_URL and ES_API_KEY are secrets — store them in the client config or environment, never in shared repositories. | ✓Query text, retrieved objects, and collection metadata enter the MCP client context and the model's prompt. The Weaviate endpoint URL and API key are secrets — keep them in the client config or environment, not in shared repositories. | ✓Tool calls may expose file paths, filenames, source code snippets, imports, classes, methods, functions, symbols, search matches, complexity summaries, and project settings. Index data and temp directories can persist derived repository structure or symbol metadata outside the source tree. File watcher status, exclude patterns, and settings can reveal local project layout and development conventions. If an MCP client forwards tool results to a model provider, repository contents and search snippets may leave the local machine. Exclude secrets, generated artifacts, vendored dependencies, build output, and private data before indexing. |
| Prerequisites |
|
|
|
|
| Install | | | | |
| Config | | | | |
| Citations | ||||
| Claim | Unclaimed | Unclaimed | Unclaimed | Unclaimed |
Signals
Loading live community signals…
A short, calm digest of reviewed Claude resources. Unsubscribe any time.