search
Algolia MCP, CLI, and Lua Integration for AI Agents
Algolia integration docs for AI agents: MCP gateway setup, Algolia CLI commands, Lua API reference, credentials, and function schemas.
10 functions 5 read 5 write API key auth
Algolia for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Machine-Readable Metadata
- integration_slug
algolia- route_slug
algolia- package
algolia- auth_strategy
api_keyAPI key- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. Algolia CLIHeadless setup and direct function calls. Algolia MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
Algolia MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Algolia.
Claude Code Algolia MCP setup for Claude Code. Cursor Algolia MCP setup for Cursor. Codex Algolia MCP setup for Codex. OpenAI Agents Algolia MCP setup for OpenAI Agents SDK. Claude Agent SDK Algolia MCP setup for Claude Agent SDK. Vercel AI SDK Algolia MCP setup for Vercel AI SDK. LangChain Algolia MCP setup for LangChain. LangGraph Algolia MCP setup for LangGraph. CrewAI Algolia MCP setup for CrewAI. MCP clients Algolia MCP setup for Generic MCP Clients.
Algolia CLI Matrix
Use these pages for direct Algolia CLI workflows in scripts, CI, cron, and agent wrappers.
CI Algolia CLI for CI. Cron Jobs Algolia CLI for cron jobs. Shell Scripts Algolia CLI for shell scripts. Headless Automation Algolia CLI for headless automation. Coding Agents Algolia CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
algolia.algolia_search | Read read | 9 | Search an Algolia index. Supports full-text search with filters, faceting, and pagination. Use this to find records matching a query string or filter criteria. |
algolia.algolia_get_object | Read read | 3 | Retrieve a single record from an Algolia index by its objectID. Returns all attributes of the object. |
algolia.algolia_save_object | Write write | 3 | Create or replace a record in an Algolia index. The object is identified by its objectID. If a record with this objectID exists, it will be fully replaced. |
algolia.algolia_delete_object | Write write | 2 | Delete a record from an Algolia index by its objectID. This action is irreversible. |
algolia.algolia_partial_update | Write write | 3 | Update specific attributes of a record without replacing the entire object. Only the specified attributes will be changed; all other attributes remain unchanged. |
algolia.algolia_list_indices | Read read | 2 | List all indices in the Algolia application. Returns index names, entry counts, and sizes information. |
algolia.algolia_get_settings | Read read | 1 | Get the configuration settings of an Algolia index, including searchable attributes, ranking, facets, and more. |
algolia.algolia_clear_index | Write write | 1 | Remove all records from an Algolia index. The index itself is preserved with its settings. This action is irreversible. |
algolia.algolia_batch | Write write | 2 | Perform multiple write operations (addObject, updateObject, partialUpdateObject, deleteObject) in a single batch request for better performance. |
algolia.algolia_get_current_user | Read read | 0 | List API keys for the Algolia application. Use this to verify that authentication is working and to see which API keys exist. |