[Home](/index.md) › [MCP servers](/mcp.md) › Meilisearch MCP server

# Meilisearch MCP server

MCP server

- 4 callable tools
- Read only
- 4 capabilities

[Installation guide](https://www.meilisearch.com/docs/getting_started/integrations/mcp)

## Overview

Meilisearch ships a built-in MCP server on the /mcp route of its instances, letting AI agents search Meilisearch indexes. It works with Meilisearch projects running v1.54 or later.

### Capabilities

- List available search indexes
- Inspect sample documents from an index
- Search one or more indexes at once
- Search facet values within an index

## Works with

The products your agent can work with through this server.

- [Meilisearch](/tools/meilisearch.md): Open-source search engine

## Tools

The callable functions your agent uses to work with this server.

### `listIndexes`

requires indexes.get

### `describeIndex`

requires documents.get

### `searchInIndexes`

and facetSearch require search

### `facetSearch`

POST /indexes/{indexUid}/facet-search Searches facet values for an index.

## Installation

Follow the installation guide for supported clients, authentication and required permissions.

### Add Meilisearch MCP server to Claude Code

Run this in your terminal:

```sh
claude mcp add --transport http meilisearch https://your-host/mcp
```

If the server asks you to sign in, run `/mcp` in Claude Code and follow the browser prompt.

### Add Meilisearch MCP server to Cursor

Add it with the Add to Cursor button below, or add it to `.cursor/mcp.json` in your project (`~/.cursor/mcp.json` for every project):

[Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=meilisearch&config=eyJ1cmwiOiJodHRwczovL3lvdXItaG9zdC9tY3AifQ%3D%3D)

```json
{
  "mcpServers": {
    "meilisearch": {
      "url": "https://your-host/mcp"
    }
  }
}
```

### Add Meilisearch MCP server to VS Code

Add it to `.vscode/mcp.json` in your workspace. VS Code uses `servers` rather than `mcpServers`. Or run MCP: Add Server from the Command Palette and choose HTTP.

```json
{
  "servers": {
    "meilisearch": {
      "type": "http",
      "url": "https://your-host/mcp"
    }
  }
}
```

### Add Meilisearch MCP server to Codex

Run this in your terminal:

```sh
codex mcp add meilisearch --url https://your-host/mcp
```

Or add it to `~/.codex/config.toml`:

```toml
[mcp_servers.meilisearch]
url = "https://your-host/mcp"
```

If the server uses OAuth, sign in with `codex mcp login meilisearch`.

### Add Meilisearch MCP server to Claude

Add it as a custom connector with this URL:

```
https://your-host/mcp
```

1. Open Customize, then Connectors.
2. Click + Add, then Add custom connector.
3. Name it, paste the URL and click Continue.
4. Choose how to sign in, then click Add.

On Team and Enterprise plans, an Owner adds it in Organization settings first, then members connect it.

### Add Meilisearch MCP server to other clients

For any other client that connects to remote MCP servers over HTTP, use this URL:

```
https://your-host/mcp
```

[Read the installation guide](https://www.meilisearch.com/docs/getting_started/integrations/mcp)

## Related MCP servers

Other servers for the same products, or from the same vendor.

- [Meilisearch docs MCP](/mcp/meilisearch-docs.md)

## Sources

Documentation and source code reviewed on 12 November 2026.

- [meilisearch.com/docs/getting_started/integrations/mcp](https://www.meilisearch.com/docs/getting_started/integrations/mcp)
