Integration

Algolia integration

Lightning-fast search and discovery platform API. Build powerful search experiences with typo-tolerance, faceting, filtering, and personalization. Index, search, and manage records across your applications. Features include real-time indexing, analytics, A/B testing, and multi-language support. Perfect for e-commerce search, content discovery, and site search.

Ask it in chat

Say what should happen.
The workflow builds itself.

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

Common Algolia use cases

  • loading for editing
  • development cleanup
  • test reset
  • rule migration
  • complete rebuild
  • verifying configuration
  • storage management
  • data export
  • security audit
  • admin dashboards

What you can do with Algolia

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.

Record, 10 operations

  • add_or_update_recordAdd or update recordPUTAdds a new record or completely replaces an existing record in an Algolia index. The request body contains the full record as a JSON object. If a record with the same objectID exists, it's entirely replaced. Returns taskID for tracking indexing st...
  • batch_write_recordsBatch write recordsPOSTPerforms multiple indexing operations in a single API call for efficiency. Supports actions: addObject (add/replace), updateObject (full replace with objectID), partialUpdateObject (partial update), partialUpdateObjectNoCreate (partial without cre...
  • browse_indexBrowse indexPOSTRetrieves all records from an Algolia index using cursor-based pagination. Unlike search, returns all records without relevance ranking. Returns up to 1000 hits per page with a cursor for the next batch. Continue requesting with the cursor until n...
  • delete_byDelete byPOSTDeletes all records matching specified filter criteria. Supports facetFilters, numericFilters, tagFilters, and geoQuery conditions. More efficient than deleting records individually when removing by category or attribute. Requires deleteIndex ACL ...
  • delete_recordDelete recordDELETEDeletes a record from an Algolia index by its objectID. The record is permanently removed and no longer appears in search results. Returns taskID for tracking deletion completion. Use delete_by for bulk deletion by filter criteria instead of delet...
  • get_recordGet recordGETRetrieves a single record from an Algolia index by its objectID. Returns the complete record with all attributes unless attributesToRetrieve limits the response. Use for fetching record details, verifying indexing, or loading data for editing. For...
  • get_recordsGet recordsPOSTRetrieves multiple records from one or more indices in a single API call. Each request specifies indexName, objectID, and optional attributesToRetrieve. Returns results array matching request order, with null for missing records. More efficient th...
  • partial_update_recordPartial update recordPOSTUpdates specific attributes of an existing record without replacing other attributes. Supports special operations: _operation with Increment/Decrement for numbers, Add/Remove/AddUnique for arrays. Only sends changed fields, reducing bandwidth. Set...
  • search_multiple_indicesSearch multiple indicesPOSTExecutes multiple search queries in a single API call across one or more indices. Each request can have different parameters. Strategy option controls result handling: 'none' returns all results, 'stopIfEnoughMatches' stops after sufficient hits. ...
  • search_single_indexSearch single indexPOSTSearches a single Algolia index for matching records. Returns hits with relevance ranking, highlighting, and facet counts. Supports typo-tolerance, filters (numeric, facet, geo), pagination, and custom ranking. Use attributesToRetrieve to control ...

Rule, 7 operations

  • batch_rulesBatch rulesPOSTCreates or updates multiple query rules in a single API call. Set clearExistingRules to true to atomically replace all rules. More efficient than individual save operations and enables atomic updates.
  • clear_rulesClear rulesPOSTDeletes all query rules from an index. Warning: causes downtime where the index has no rules. For atomic replacement, use batch_rules with clearExistingRules=true instead. Returns taskID for tracking.
  • delete_ruleDelete ruleDELETEDeletes a query rule from an index by its objectID. The rule is permanently removed. Use forwardToReplicas to also remove from replica indices. Returns taskID for tracking deletion completion.
  • export_rulesExport rulesPOSTExports all query rules from an index. Returns complete rule configurations including conditions, consequences, and metadata. Use for backup, migration, or auditing merchandising configurations.
  • get_ruleGet ruleGETRetrieves a single query rule from an index by its objectID. Returns the complete rule configuration including conditions and consequences. Use search_rules to find rules if you don't know the objectID.
  • save_ruleSave rulePUTCreates or updates a query rule that customizes search behavior. Rules have conditions (when to apply) and consequences (what changes). Use for merchandising, promoting results, hiding items, or modifying search parameters based on queries.
  • search_rulesSearch rulesPOSTSearches for query rules in an index matching criteria. Filter by query pattern, anchoring type, context, or enabled status. Supports pagination. Use to find and manage merchandising rules.

Api key, 6 operations

  • create_api_keyCreate api keyPOSTCreates a new API key with specified permissions (ACLs) and restrictions. Configure which indices the key can access, rate limits, validity period, and HTTP referer restrictions. Returns the new key value.
  • delete_api_keyDelete api keyDELETEDeletes an API key from your Algolia application. The key is permanently revoked and can no longer be used. Can be restored within 72 hours using restore_api_key.
  • get_api_keyGet api keyGETRetrieves details of a specific API key. Returns ACLs (permissions), index restrictions, validity period, rate limits, and other configurations. Use for verifying key permissions or debugging access issues.
  • list_api_keysList api keysGETLists all API keys in your Algolia application. Returns key values, ACLs (permissions), index restrictions, and validity periods. Essential for key management, security audits, and access control.
  • restore_api_keyRestore api keyPOSTRestores a deleted API key along with its original permissions and restrictions. Only works within 72 hours of deletion. After 72 hours, the key cannot be recovered.
  • update_api_keyUpdate api keyPUTUpdates an existing API key's permissions and restrictions. Any unspecified attribute resets to default value. The key value itself cannot be changed. Requires Admin API key.

Synonym, 6 operations

  • clear_synonymsClear synonymsPOSTDeletes all synonyms from an index. Warning: causes downtime where the index has no synonyms. For atomic replacement, use save_synonyms with replaceExistingSynonyms=true instead. Returns taskID for tracking.
  • delete_synonymDelete synonymDELETEDeletes a synonym from an index by its objectID. The synonym is permanently removed. Use forwardToReplicas to also remove from replica indices. Returns taskID for tracking deletion completion.
  • get_synonymGet synonymGETRetrieves a single synonym from an index by its objectID. Returns the complete synonym object including type and all configured terms. Use search_synonyms to find synonyms if you don't know the objectID.
  • save_synonymSave synonymPUTCreates or replaces a synonym in an Algolia index. Supports multiple synonym types: synonym (two-way), oneWaySynonym (directional), altCorrection1/2 (typo alternatives), and placeholder (pattern matching). Use forwardToReplicas to propagate to rep...
  • save_synonymsSave synonymsPOSTCreates or updates multiple synonyms in a single API call. Set replaceExistingSynonyms to true to atomically replace all existing synonyms with zero downtime. More efficient than individual save operations for bulk synonym management.
  • search_synonymsSearch synonymsPOSTSearches for synonyms in an index matching a query string. Filter by synonym type (synonym, oneWaySynonym, etc.). Supports pagination with page and hitsPerPage. Use to find synonyms containing specific terms.

Index, 4 operations

  • clear_indexClear indexPOSTDeletes all records from an Algolia index while preserving configuration (settings, synonyms, rules). Returns taskID for tracking completion. Index becomes searchable but returns no results until new records are added. Use for complete data refres...
  • copy_move_indexCopy move indexPOSTCopies or moves (renames) an index within the same Algolia application. Use operation 'copy' to duplicate or 'move' to rename. Scope parameter limits what is copied (settings, synonyms, rules). Destination index is overwritten if it exists.
  • delete_indexDelete indexDELETEPermanently deletes an entire Algolia index including all records, settings, synonyms, and rules. This operation cannot be undone - all data and configuration is permanently lost. Returns taskID for tracking. Use clear_index instead if you want to...
  • list_indicesList indicesGETLists all indices in your Algolia application with metadata. Returns name, createdAt, updatedAt, entries (record count), dataSize, and more for each index. Supports pagination for accounts with many indices. Essential for monitoring, dashboards, a...

Setting, 2 operations

  • get_settingsGet settingsGETRetrieves the current settings of an Algolia index. Returns searchableAttributes, attributesForFaceting, ranking, customRanking, and all other configuration. Use for backup, debugging, or copying settings to other indices.
  • set_settingsSet settingsPUTUpdates settings for an Algolia index. Configure searchableAttributes (fields to search), attributesForFaceting (filterable fields), ranking (relevance formula), customRanking (business rules), and more. Set forwardToReplicas to propagate changes ...

Task, 1 operation

  • wait_taskWait taskGETChecks the status of an indexing task. Returns status ('published' when complete, 'notPublished' when pending). Use after write operations (add, update, delete) to confirm data is indexed and searchable. Poll until status is 'published' for guaran...

Use Algolia from Claude Code, Cursor or Codex

Connect Algolia in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Algolia 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 Algolia

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect Algolia once

    Add your Algolia 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.

Algolia integration FAQ

What can you do with the Algolia integration?

LiveContext exposes 36 operations on Algolia, covering record, rule, api key and synonym. Common uses include loading for editing, development cleanup and test reset.

Popular integrations

Browse the whole catalog