MCP Directory

Meilisearch MCP Server

Official

Manage and search Meilisearch from any MCP client: indices, documents, settings, keys, and multi-index search.

Unverified
stdio (local)
API key
Python

Add to your client

Copy the config for your MCP client and paste it into its config file.

Install / run
pip install meilisearch-mcp

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "meilisearch-mcp-server": {
      "command": "uvx",
      "args": [
        "-n",
        "meilisearch-mcp"
      ],
      "env": {
        "MEILI_HTTP_ADDR": "http://localhost:7700",
        "MEILI_MASTER_KEY": "<your-master-key>"
      }
    }
  }
}

Requires `uv` (the Python package runner). Install it from https://docs.astral.sh/uv/ if `uvx` is not found.

Step-by-step guides: Add to Claude Desktop · Add to Cursor · Add to Windsurf

Before you start

  • A running Meilisearch instance, e.g. docker run -d -p 7700:7700 getmeili/meilisearch:v1.28
  • Python >= 3.9 with pip, or uv/uvx (recommended)
  • Optional MEILI_MASTER_KEY if your instance requires authentication

About Meilisearch MCP Server

This server turns Meilisearch administration into conversation. The tool list mirrors the Meilisearch API surface: index management (create-index, list-indexes, delete-index, get-index-metrics), document operations (add-documents, get-documents with pagination), a flexible search tool that spans single or multiple indices with filters and sorting, settings management, API key management, task management (get/cancel/delete tasks), and a set of health/stats/version monitoring tools.

Search capabilities include what makes Meilisearch distinctive: typo-tolerant keyword search, faceting, semantic vector search, and hybrid keyword+semantic queries. An agent can build an index, load documents, tune searchable attributes and ranking rules, then iterate on relevance — the full loop that normally means bouncing between docs and curl.

Connection management is dynamic: get-connection-settings and update-connection-settings let the agent inspect and switch between Meilisearch instances mid-session. That is deliberately convenient for development (the README flags it as such) and is the main thing to lock down in shared environments, since URL and key changes are one tool call away.

It is Python ≥3.9, tested against a real Meilisearch in CI, and released to PyPI automatically on version bumps. If you prefer TypeScript, the README points to a community meilisearch-ts-mcp; and since Meilisearch plans native MCP support in the engine, this server is the officially maintained bridge until then.

Tools & capabilities (23)

get-connection-settings

View current Meilisearch URL and API key status.

update-connection-settings

Switch to a different Meilisearch instance or key at runtime.

create-index

Create a new index with optional primary key.

list-indexes

List all available indexes.

delete-index

Delete an index and all its documents.

get-index-metrics

Detailed metrics for a specific index.

get-documents

Retrieve documents with pagination.

add-documents

Add or update documents in an index.

search

Search one or multiple indices with filtering and sorting.

get-settings

View current index settings.

update-settings

Update ranking, faceting, and other index settings.

get-keys

List all API keys.

create-key

Create an API key with specific permissions.

delete-key

Delete an API key.

get-task

Get information about a specific task.

get-tasks

List tasks with optional filters.

cancel-tasks

Cancel pending or enqueued tasks.

delete-tasks

Delete completed tasks.

health-check

Basic health check.

get-health-status

Comprehensive health status.

get-version

Meilisearch version information.

get-stats

Database statistics.

get-system-info

System-level information.

What this server can do

Meilisearch MCP Server provides tools for these capabilities — tap one to see every MCP server that does the same:

When to use it

  • Prototype a search feature: create an index, load sample docs, and test queries in one chat
  • Tune relevance by iterating on ranking rules and searchable attributes conversationally
  • Run hybrid keyword + semantic searches across multiple indices
  • Monitor indexing tasks and instance health during data imports

Quick setup

  1. 1Start Meilisearch: docker run -d -p 7700:7700 getmeili/meilisearch:v1.28
  2. 2Install the server: pip install meilisearch-mcp (or use uvx -n meilisearch-mcp directly)
  3. 3Add {"command": "uvx", "args": ["-n", "meilisearch-mcp"]} under mcpServers in claude_desktop_config.json
  4. 4Set MEILI_HTTP_ADDR and MEILI_MASTER_KEY env vars if not using the defaults
  5. 5Test with 'create an index called products with id as primary key'

Security notes

With the master key configured, the agent can delete indices, rewrite settings, and mint API keys — use a scoped key instead of the master key where possible. The README itself warns that switching hosts/keys via chat tools is a development convenience and not production-grade practice.

Meilisearch MCP Server FAQ

Is meilisearch-mcp free and official?

Yes on both: it is MIT-licensed and maintained in the meilisearch GitHub organization. You still need a Meilisearch instance — self-hosted is free, Meilisearch Cloud is paid.

Does it work with clients other than Claude?

Yes. It is a standard stdio MCP server and the README explicitly targets any MCP-compatible client, including OpenAI agents. There is also a Docker image (getmeili/meilisearch-mcp) for n8n-style containerized setups.

Can it do vector/semantic search?

Yes — the search tooling covers Meilisearch's semantic vector search and hybrid keyword+semantic mode, alongside classic filtered and faceted search. You configure embedders on the Meilisearch side and query through the same search tool.

Alternatives to Meilisearch MCP Server

Compare all alternatives →

Official MCP reference server that fetches a URL and returns its content as clean Markdown, with chunking.

Verified
stdio (local)
No auth
Python
2 tools
Updated 25 days agoRepo

Official Firecrawl MCP server — scrape, crawl, map, search, and structured extraction for any LLM client.

Verified
stdio (local)
API key
TypeScript
8 tools
Updated 23 days agoRepo

Exa's neural web search and crawling MCP server — runs locally via npx or as a hosted remote endpoint.

Verified
stdio (local)
API key
TypeScript
6 tools
Updated 24 days agoRepo