Skip to main content
Use Algolia Public MCP to expose selected indices and Recommend models to external or customer-facing AI assistants. For user-scoped access to the Algolia applications and indices allowed by each user’s permissions, use Algolia Productivity MCP. To compare both, see the MCP overview. Algolia Public MCP provides read-only access. It can search and recommend, but it can’t create, update, or delete indices, records, or settings.

Before you begin

To connect Algolia Public MCP, make sure you have:

Create or locate an MCP server

  1. Go to the in the Algolia dashboard and select the appropriate application.
  2. If an existing MCP server is available, click the link icon to copy the URL.
  3. To create a :
    1. Select up to five indices and any Recommend models you want to expose.
    2. Add descriptions to help the LLM choose the right index or tool.
    3. Save and copy the URL of the new MCP instance.
You can create up to 5 MCP server instances per application. The MCP server uses your Search permissions to control data access. Your MCP client doesn’t require separate authentication.

Connect to an MCP client

  1. Open Cursor settings, then click Tools and MCPs.
  2. Click Add MCP Server and fill in the following:
    • MCP Server URL: https://{APP_ID}.algolia.net/mcp/1/{UNIQ_ID}/mcp
    • Name: Algolia
    • Description: add a description that helps the LLM understand the tool’s purpose.
    • Authentication: none.
  3. Click Save.
  4. Enable the Algolia MCP connection from the prompt bar.
Alternatively, you directly add the following to your ~/.cursor/mcp.json or %USERPROFILE%\.cursor\mcp.json file:

Restrict access with a different API key per user

To limit each user to their own records, send a secured API key in the x-algolia-api-key HTTP header. The MCP server uses this key instead of the stored API key.
Requests without the header use the stored API key. To make the header required, delete the stored API key.
Generate your users’ secured API keys from a different API key. Deleting a key also invalidates the secured API keys generated from it.

Tools exposed by Algolia Public MCP

Algolia Public MCP exposes a tool per index and a small set of shared tools: ChatGPT requires two extra tools (see OpenAI MCP docs):

Guidelines

  • Usage and billing. API requests made through Algolia Public MCP count toward your Algolia usage. Each tool call typically maps to one API request.
  • Data access and permissions. The MCP grants the connected LLM access to your Algolia records according to the permissions defined in your Search .
  • Prompt design. Use a clear system prompt that tells the assistant to return Algolia results exactly as provided.
Last modified on November 12, 2026