Integration

Meilisearch integration

Lightning-fast, open-source search engine API. Build powerful search experiences with typo-tolerance, faceting, filtering, and instant results. Index, search, and manage documents with real-time updates, multi-index search, and advanced ranking customization. Features include full-text search, geolocation queries, faceted navigation, and federated search across multiple indexes. Perfect for e-commerce search, content discovery, and any application requiring fast, relevant search results.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in Meilisearch.Built from the 43 Meilisearch tools below, on the connection you add once.

Common Meilisearch use cases

  • admin dashboards
  • audit settings
  • debug search
  • monitoring
  • data export
  • improve search relevance
  • start fresh
  • debugging failures
  • disaster recovery
  • export config

What you can do with Meilisearch

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

Document, 10 operations

  • add_or_replace_documentsAdd or replace documentsPOSTAdds new documents or replaces existing documents in a Meilisearch index. Send an array of document objects. Documents with matching primary keys are completely replaced. Returns a task for tracking indexing progress.
  • add_or_update_documentsAdd or update documentsPUTAdds new documents or partially updates existing documents in a Meilisearch index. Only specified fields are modified; unspecified fields are preserved. Ideal for updating specific attributes without fetching the complete document first.
  • delete_all_documentsDelete all documentsDELETEDeletes all documents from a Meilisearch index while preserving configuration (settings, synonyms, etc.). Returns a task for tracking completion. Index becomes searchable but returns no results until new documents are added.
  • delete_documentDelete documentDELETEDeletes a single document from a Meilisearch index by its primary key. The document is permanently removed and no longer appears in search results. Returns a task for tracking deletion completion.
  • delete_documents_batchDelete documents batchPOSTDeletes multiple documents by their primary keys in a single API call. More efficient than individual delete requests.
  • delete_documents_by_filterDelete documents by filterPOSTDeletes all documents matching a filter expression. More efficient than individual deletes for bulk removal based on criteria.
  • get_documentGet documentGETRetrieves a single document from a Meilisearch index by its primary key. Returns the complete document unless fields parameter limits the response. Use for fetching document details or verifying indexed content.
  • get_documentsGet documentsPOSTRetrieves multiple documents from a Meilisearch index with filtering and pagination. Returns documents without search ranking. Use for data export, browsing content, or fetching documents by filter criteria.
  • multi_searchMulti searchPOSTExecutes multiple search queries in a single API call across one or more indexes. Each query can have different parameters. Optional federation merges results into a single ranked list. Perfect for federated search, multi-category queries, or redu...
  • searchSearchPOSTSearches a Meilisearch index for matching documents. Returns hits with relevance ranking, highlighting, and optional facet counts. Supports typo-tolerance, filters, sorting, and pagination. Use attributesToRetrieve to control response size and fac...

Index, 5 operations

  • create_indexCreate indexPOSTCreates a new Meilisearch index with a unique identifier. The primaryKey optionally specifies the document field used as unique ID. Returns a task object to track asynchronous creation. Index is ready to receive documents once task completes.
  • delete_indexDelete indexDELETEPermanently deletes a Meilisearch index and all its documents. This operation cannot be undone. Returns a task object to track asynchronous deletion. Use with caution in production environments.
  • get_indexGet indexGETRetrieves information about a specific Meilisearch index. Returns the index uid, primaryKey, createdAt, and updatedAt timestamps. Use to verify index existence or check configuration before performing operations.
  • list_indexesList indexesGETLists all indexes in your Meilisearch instance with metadata. Returns uid, primaryKey, createdAt, and updatedAt for each index. Supports pagination with offset and limit parameters. Essential for monitoring and index management.
  • swap_indexesSwap indexesPOSTAtomically swaps two or more index pairs. Enables zero-downtime reindexing by building a new index and swapping it with the production index.

Task, 4 operations

  • cancel_tasksCancel tasksPOSTCancels enqueued or processing tasks matching specified filters. Returns a task tracking the cancellation.
  • delete_tasksDelete tasksDELETEDeletes finished tasks matching specified filters. Cleans up task history and frees storage.
  • get_taskGet taskGETRetrieves detailed information about a specific task. Returns status, type, details, error (if failed), and timestamps. Use to check completion of asynchronous operations or debug failures.
  • list_tasksList tasksGETLists all tasks in your Meilisearch instance with optional filtering. Tasks track asynchronous operations like indexing, settings updates, and deletions. Filter by status, type, index, or time range. Essential for monitoring and debugging.

Key, 3 operations

  • create_keyCreate keyPOSTCreates a new API key with specified permissions and access scope. Define actions (allowed operations), indexes (accessible indexes), and optional expiration. Requires master key authentication. Essential for secure access control.
  • delete_keyDelete keyDELETEPermanently deletes an API key by its key value or uid. The key can no longer be used for authentication. Requires master key authentication. Use for revoking access or cleaning up unused keys.
  • list_keysList keysGETLists all API keys in your Meilisearch instance. Returns key details including name, actions (permissions), indexes access, and expiration. Requires master key authentication. Essential for key management and security auditing.

Setting, 3 operations

  • get_settingsGet settingsGETRetrieves all settings of a Meilisearch index. Returns searchableAttributes, filterableAttributes, sortableAttributes, rankingRules, and all other configuration. Use for backup, debugging, or auditing index setup.
  • reset_settingsReset settingsDELETEResets all index settings to their default values. Documents are reindexed with default configuration.
  • update_settingsUpdate settingsPATCHUpdates settings for a Meilisearch index. Configure searchableAttributes, filterableAttributes, sortableAttributes, rankingRules, and more. Only specified settings are modified. Pass null to reset a setting to default. Returns a task for tracking.

Synonym, 3 operations

  • get_synonymsGet synonymsGETRetrieves the synonyms configuration for an index. Returns an object mapping words to their synonyms.
  • reset_synonymsReset synonymsDELETEResets synonyms configuration to default (empty). All synonym mappings are removed.
  • update_synonymsUpdate synonymsPUTUpdates the synonyms configuration for an index. Maps words to arrays of synonyms for improved search matching.

Filterable attribute, 2 operations

  • get_filterable_attributesGet filterable attributesGETRetrieves the list of filterable attributes for an index. These fields can be used in filter expressions.
  • update_filterable_attributesUpdate filterable attributesPUTUpdates the list of filterable attributes for an index. Enables filtering on specified fields in search queries.

Sortable attribute, 2 operations

  • get_sortable_attributesGet sortable attributesGETRetrieves the list of sortable attributes for an index. These fields can be used to sort search results.
  • update_sortable_attributesUpdate sortable attributesPUTUpdates the list of sortable attributes for an index. Enables sorting search results by specified fields.

Statistic, 2 operations

  • get_index_statsGet index statsGETRetrieves statistics for a specific Meilisearch index. Returns document count, field distribution, storage size, and indexing status. Use for monitoring individual index health and content.
  • get_statsGet statsGETRetrieves statistics for all indexes in your Meilisearch instance. Returns database size, document counts, last update time, and indexing status. Essential for monitoring storage and overall health.

Stop word, 2 operations

  • get_stop_wordsGet stop wordsGETRetrieves the stop words configuration for an index. Returns an array of words that are ignored during search.
  • update_stop_wordsUpdate stop wordsPUTUpdates the stop words configuration for an index. Stop words are ignored during indexing and search for better relevance.

Typo tolerance, 2 operations

  • get_typo_toleranceGet typo toleranceGETRetrieves the typo tolerance configuration for an index. Returns settings controlling how typos are handled in search queries.
  • update_typo_toleranceUpdate typo tolerancePATCHUpdates the typo tolerance configuration for an index. Controls how search handles misspellings and typos.

Dump, 1 operation

  • create_dumpCreate dumpPOSTCreates a database dump containing all indexes, documents, and settings. Use for backups and migration between instances.

Facet, 1 operation

  • facet_searchFacet searchPOSTSearches for facet values matching a query within an index. Returns matching facet values with counts for building autocomplete and filter UIs.

Health, 1 operation

  • get_healthGet healthGETChecks if the Meilisearch instance is healthy and operational. Returns status 'available' when healthy.

Snapshot, 1 operation

  • create_snapshotCreate snapshotPOSTCreates a database snapshot for point-in-time recovery. Faster than dumps for large databases.

Version, 1 operation

  • get_versionGet versionGETRetrieves the Meilisearch version number and build information. Useful for compatibility checks and debugging.

Use Meilisearch from Claude Code, Cursor or Codex

Connect Meilisearch in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Meilisearch operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect Meilisearch

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect Meilisearch once

    Add your Meilisearch connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

Meilisearch integration FAQ

What can you do with the Meilisearch integration?

LiveContext exposes 43 operations on Meilisearch, covering document, index, task and key. Common uses include admin dashboards, audit settings and debug search.

Popular integrations

Browse the whole catalog