This is a beta feature according to Algolia’s Terms of Service (“Beta Services”).
Before you begin
To connect Algolia Public MCP, make sure you have:- An Algolia with at least one and some . Create one in the dashboard if needed.
- An MCP client such as OpenAI Playground, ChatGPT, or Claude.
Create or locate an MCP server
- Go to the MCP servers page in the Algolia dashboard and select the appropriate application.
- If an existing MCP server is available, click the link icon to copy the URL.
- To create a new MCP server:
- Select up to five indices and any Recommend models you want to expose.
- Add descriptions to help the LLM choose the right index or tool.
- Save and copy the URL of the new MCP instance.
Connect to an MCP client
- Cursor
- VS Code
- ChatGPT
- OpenAI Playground
- Claude
- Open Cursor settings, then click Tools and MCPs.
- Click Add MCP Server and fill in the following:
- MCP Server URL:
https://mcp.{REGIONS}.algolia.com/1/{UNIQ_ID}/mcp - Name: Algolia
- Description: add a description that helps the LLM understand the tool’s purpose.
- Authentication: none.
- MCP Server URL:
- Click Save.
- Enable the Algolia MCP connection from the prompt bar.
~/.cursor/mcp.json or %USERPROFILE%\.cursor\mcp.json file:Tools exposed by Algolia Public MCP
Algolia Public MCP exposes a tool per index and a small set of shared tools:| Tool | API |
|---|---|
| Search | |
algolia_search_{index_name} | Search an index |
algolia_search_for_facet_values | Search for facet values |
| Recommend | |
algolia_recommendations | Retrieve recommendations |
| Tool | API |
|---|---|
search | Search an index |
fetch | Get an object |
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.