Connector guide4-minute read14 MCP tools7 languages

How to Connect Algolia to Claude via MCP

Let your AI search and inspect your Algolia indices: list indices, search and browse records, read settings, synonyms and Rules, see top searches and searches without results and, with your confirmation, add or update records.

HCBy HelpCode teamUpdated 4 min read Open-source on GitHub

No credit card · 7-day trial · Self-host alternative available

Algolia

Algolia

Let your AI search and inspect your Algolia indices: list indices, search and browse records, read settings, synonyms and Rules, see top searches and searches without results and, with your confirmation, add or update records.

tools

14

Region

INTL

Category

Databases

Authentication

API Key

Required env vars

ALGOLIA_APP_IDALGOLIA_API_KEYALGOLIA_ANALYTICS_REGION
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source · AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Skip the install. Get this working in under 2 minutes.

Start a free trial on cloud.anythingmcp.com, add the Algolia in one click, then point your AI client (Claude, ChatGPT, Copilot or Cursor) at the generated MCP endpoint. No Docker, no git clone, zero engineering experience required.

Start free trial

AnythingMCP is listed in Claude's connector directory: add it to Claude in one click (opens in a new tab), then sign in and choose which MCP servers Claude may use.

Summary

Let your AI search and inspect your Algolia indices: list indices, search and browse records, read settings, synonyms and Rules, see top searches and searches without results and, with your confirmation, add or update records.

Try asking

Example prompts for Algolia

Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.

Algolia · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → Algolia, paste your credentials, mint an MCP API key and you're done. No Docker, no git clone, no local server.

Algolia + Claude

Let your AI search and inspect your Algolia indices: list indices, search and browse records, read settings, synonyms and Rules, see top searches and searches without results and, with your confirmation, add or update records.

Prerequisites

See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:

ALGOLIA_APP_ID, ALGOLIA_API_KEY, ALGOLIA_ANALYTICS_REGION

Step 1 — Get credentials

  1. Open the Algolia dashboard at Settings → API Keys (https://dashboard.algolia.com/account/api-keys) and copy the Application ID into ALGOLIA_APP_ID.
  2. Create a dedicated key under All API keys → New API key instead of reusing the Admin key. Give it a description such as AnythingMCP, optionally limit it to some indices, and give it the ACL search, browse, listIndexes, settings and analytics. Paste it into ALGOLIA_API_KEY.
  3. Set ALGOLIA_ANALYTICS_REGION to us or de, the analytics region shown in the dashboard under Settings → Infrastructure → Analytics. Most applications use us.
  4. Install the connector. The connection check lists your indices, as algolia_list_indices does.

Why not the Search-Only key: the connection check needs the listIndexes ACL. Algolia's default Search-Only API key has only search, so it fails the check with 403 "Method not allowed with this API key", even though search itself would work with it. Create the custom read key from step 2 instead. Do not use the Admin API key either: it can delete indices and manage keys, and no tool here needs that. Every key's ACL, index limits and rate limit are listed under Settings → API Keys → All API keys.

What the AI can do: search an index the way your site does, with typo tolerance, filters such as brand:Apple AND price < 500, facet counts and paging (10 hits by default, at most 100); read records in bulk with algolia_browse; and read single records, index settings, synonyms and Rules to explain why results rank the way they do. Searches made by the AI stay out of your analytics.

Search analytics: algolia_top_searches, algolia_no_result_searches (what people look for and do not find), algolia_top_hits and algolia_search_count. The default period is the last 8 days. Analytics lag behind by up to a few hours, and an index needs traffic before it has any data.

Writes ask first: algolia_save_object adds a record or replaces it entirely, and algolia_partial_update_object changes some of its attributes. Before each, the AI shows you the index, the objectID and the content and waits for your yes. Both need the addObject ACL in addition, so a read key stays read-only. Algolia applies changes in the background, and they are searchable a moment later.

Switched off at install: algolia_delete_object, which deletes a record for good. An administrator turns it on deliberately, and it needs the deleteObject ACL.

Common errors: 403 "Invalid Application-ID or API key": the Application ID or the key is wrong, or the key was deleted. 401 "Invalid credentials" means the same on the Analytics API; check the analytics region too. 403 "Method not allowed with this API key": the key lacks an ACL. "Index not allowed with this API key": the key is limited to other indices. 404: the index or record does not exist; index names are case-sensitive. 429: the key hit its rate limit.

The connector does not create, copy or delete indices, change settings, synonyms or Rules, manage API keys, or cover Insights events, Recommend, Query Suggestions or the Crawler.

Step 2 — Install the adapter

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

Step 3 — Add the connector in Claude

Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide shows YOUR_SERVER_ID.

Recommended path: works on claude.ai web without editing any config file.

  1. In Claude, open Customize → Connectors.
  2. Click +, then Add custom connector.
  3. Enter a name, e.g. Algolia, and the remote MCP server URL https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID, then click Add.
  4. Click Connect and sign in to AnythingMCP (OAuth) to allow access.

All tools below appear in your chat: start typing prompts.

Available tools

ToolWhat it does
algolia_list_indicesList the indices of the application: name, number of records (entries), data and file size, last update and build time, and replica…
algolia_searchSearch one index the way the user's site or app does: full-text query with typo tolerance, filters, facets and paging
algolia_browseRead many records of an index in bulk, beyond the 1,000-hit limit of a search: returns up to hits_per_page records and a cursor; call again…
algolia_get_objectGet one record by its objectID, optionally only some attributes
algolia_get_settingsGet an index's settings: searchable attributes, attributes for faceting, custom ranking, ranking criteria, typo tolerance, replicas…
algolia_search_synonymsSearch or list the synonyms of an index: objectID, type (synonym, onewaysynonym, altcorrection1/2, placeholder) and the words
algolia_search_rulesSearch or list the Rules of an index (merchandising and query rules): objectID, conditions (pattern, anchoring, context), consequence…
algolia_save_objectAdd a record, or replace an existing one entirely, under a given objectID
algolia_partial_update_objectChange some attributes of a record, leaving the others as they are
algolia_delete_objectDelete one record by objectID
algolia_top_searchesThe most frequent searches on an index over a period, with how often each was made and how many results it returned; with click_analytics…
algolia_no_result_searchesThe most frequent searches on an index that returned no results, with their count and how many of them had filters applied
algolia_top_hitsThe records that appear most often in search results on an index (objectID and count), overall or for one search query; with…
algolia_search_countThe number of searches on an index over a period, in total and per day

Example prompts

  • "Which Algolia indices do we have, and how many records does each hold?"
  • "What did people search for most on the products index in the last 30 days, and which searches returned nothing?"
  • "Search the products index for running shoes with the filter brand:Nike and show me the top 10 with price."
  • "Why does record 4711 rank so low for 'sneakers'? Check the index settings, synonyms and Rules."
  • "Change the price of record 4711 in the products index to 89.90. Show me the change first."

FAQ

Does it work with Claude Code as well as Claude Desktop? Yes, point both at https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID.

Next steps

Was this guide helpful?

Your Algolia agent is one click away.

Install the connector, paste the key, prompt Claude. Free for 7 days, no credit card.

Related guides

Connectors

Algolia to MCP: Search, Records and Search Analytics in any AI Agent

Let your AI search and inspect your Algolia indices: list indices, search and browse records, read settings, synonyms and Rules, see top searches and searches without results and, with your confirmation, add or update records.

Connectors

How to Connect Algolia to ChatGPT via MCP

Let your AI search and inspect your Algolia indices: list indices, search and browse records, read settings, synonyms and Rules, see top searches and searches without results and, with your confirmation, add or update records.

Connectors

How to Connect Algolia to Cursor via MCP

Let your AI search and inspect your Algolia indices: list indices, search and browse records, read settings, synonyms and Rules, see top searches and searches without results and, with your confirmation, add or update records.

Connectors

How to Connect Algolia to Gemini via MCP

Let your AI search and inspect your Algolia indices: list indices, search and browse records, read settings, synonyms and Rules, see top searches and searches without results and, with your confirmation, add or update records.

Connectors

How to Connect Algolia to Meta Muse via MCP

Let your AI search and inspect your Algolia indices: list indices, search and browse records, read settings, synonyms and Rules, see top searches and searches without results and, with your confirmation, add or update records.

Connectors

How to Connect Avito to Claude via MCP

Let your AI work with your Avito business account: list your ads and change their prices, read views, contacts and calls statistics, check autoload uploads and their errors, the feed format and your wallet, and read Avito Messenger chats. Sending messages and changing autoload settings are optional and off by default.