Head to head · Db fulltext · October 2026 research run

Algolia API + MCP vs Elasticsearch

Algolia API + MCP scores 75.9 (BB) on agent readiness against Elasticsearch's 60 (C), and leads in 5 of 7 scored categories. Elasticsearch leads on reliability. Both do db fulltext.

Best vector search and retrieval databases for AI agents · All 136 retrieval comparisons

Which one, for what

Algolia API + MCP BB

Best for Hosted keyword search with faceting, merchandising rules, recommendations and analytics, mostly used for e-commerce and site search, with vector and hybrid search on the top plan only.

Ahead on

  • Agent ergonomics, 84 against 77
  • Security & auth, 77 against 72
  • Payments & pricing, 60 against 53
  • Transparency & trust, 78 against 72

Also in its favour

  • Agent-ready, a grade of BB or better
  • A hosted endpoint, with nothing to install
  • No incidents deducted, where Elasticsearch loses 15 points for them

Watch for

NeuralSearch, the vector and hybrid mode, is on the Elevate plan only, which needs an annual contract and has no public price

Elasticsearch C

Best for Retrieval that needs keyword relevance, filters and vectors in one query, and teams already running Elastic for logs or security.

Ahead on

  • Reliability, 77 against 65

Also in its favour

  • Open source

Watch for

35 security advisories for Elasticsearch from 13 August to 6 October 2026, four of them High, all fixed in patch releases

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Reliability Elasticsearch +12

Algolia API + MCP 65

Status page at status.algolia.com, linked from the docs llms.txt and the site footer (20). It renders in JavaScript only and neither the page nor /history.rss returned any incident text to our reader, so the 90-day record is unreadable (5). Rate limits are documented as x-ratelimit-limit, -remaining and -reset response headers and a per-key maxQueriesPerIPPerHour that returns 429, but the only per-minute figure is an example value, and the indexing rate-limit article on support.algolia.com refused us (8 of 15). The Search API spec documents a retry strategy across three fallback hosts on a separate DNS provider, a Request-ID header to trace retried calls and a reset timestamp, with no Retry-After (12 of 15). SLA published at /policies/sla, latest update 27 August 2025, 99.95 per cent on Starter and Base Foundation plans, 99.99 on Professional and Expert, 99.999 on Premier, with service credits (10). The Search API and both MCP servers carry no beta or preview label (10). 20+5+8+12+10+10 = 65.

Elasticsearch 77

Graded as a hosted service on Elastic Cloud Serverless, on the hosted lines (OpenSearch, which has no hosted service of its own, is read on the local-software lines). Statuspage at status.elastic.co with components by region (20). Its history feed, re-read on 1 November, has these incidents touching Elasticsearch in the 90 days from 3 August, every one partial by its own text and read as minor, as this run reads one region, one version or some requests. High latency in GCP asia-south1 from 09:00 to 12:00 UTC on 6 August. Serverless project creation and settings changes delayed or failing on 13 August, with running projects not affected. False-positive matches in certain boolean queries on 9.5.0 and 9.5.1, fixed in 9.5.1 and 9.5.2 (5 to 20 August). Services in GCP us-central1 hit by an upstream provider issue from about 15:51 to 20:05 UTC on 1 September. A replication bug slowing recoveries on 9.5.0 to 9.5.2, fixed in 9.5.3. Some Serverless projects in GCP us-central1 with delayed or unavailable operations on 8 and 9 October. Some Hosted and Serverless deployments in one GCP europe-west2 availability zone degraded on 20 October, and scaling in Azure on 20 and 21 October. The 8 October check read more than 20 notices marked major, from the status page's /api/ path, which its robots.txt disallows, so that reading is struck. Minor only (20). No request rate limit with numbers found, only project limits (5 of 15). The API conventions page says to retry 429 after a delay with exponential backoff, with no Retry-After header documented, and _create with an explicit ID makes a retried write safe (12 of 15). Serverless SLA of 99.95 per cent at Platinum or Enterprise level (10). The REST API and the MCP server are generally available on Serverless (10). 20 + 20 + 5 + 12 + 10 + 10 = 77.

Agent ergonomics Algolia API + MCP +7

Algolia API + MCP 84

Public MCP lists one search tool per exposed index (at most five indices an instance) plus algolia_search_for_facet_values and algolia_recommendations, and Productivity MCP lists three tools (algolia_discover_tools, algolia_describe_tool, algolia_call_read_tool) that load the rest on demand (25). Searches take hitsPerPage, page, attributesToRetrieve, filters and facets, and maxHitsPerQuery caps a key at 1,000 hits a page (20). Errors carry a message and a correlation ID, and a 429 arrives with rate-limit headers, but there is no documented list of error codes an agent can branch on (12 of 20). Both MCP servers are read-only by design. Record writes by objectID replace the record, so a retried write is safe. We could not confirm readOnlyHint annotations on the hosted tools (12 of 20). Official clients in C#, Dart, Go, Java, JavaScript, Kotlin, PHP, Python, Ruby, Scala and Swift, and Public MCP needs only a URL (15). 25+20+12+12+15 = 84.

Elasticsearch 77

The API sizes responses with size and _source includes and excludes. The MCP server exposes the Agent Builder tool list, 88 built-in tools in the reference with 21 in platform.core, and a key's privileges decide which ones work (15 of 25). from and size, search_after, filters and sorting (20). Errors come back as JSON with a type, reason and status, and the 429 and rejected-request pages say how to recover (15 of 20). _create and explicit document IDs make writes safe to retry. MCP annotations unchecked (12 of 20). Official clients for JavaScript and Python at 9.5.1, among others (15).

Payments & pricing Algolia API + MCP +7

Algolia API + MCP 60

No x402, MPP or L402 found (0). Per-unit prices published without login, Grow $0.50 and Grow Plus $1.75 per 1,000 search requests after 10,000 a month, $0.40 per 1,000 records after 100,000, Recommend $0.60 per 1,000 requests and Crawler $0.80 per 1,000 crawls. Elevate, the plan with NeuralSearch, is request pricing only (30). Free plan with 10,000 searches, 50,000 records and 5,000 recommendations a month, no credit card (30). An account, an application and each Public MCP instance are created by a person in the dashboard, and the Productivity MCP needs a browser OAuth sign-in (0). 0+30+30+0 = 60.

Elasticsearch 53

No x402, MPP or L402 in the docs index, the OpenAPI file or the pricing page (0). Serverless unit prices are public, each quoted as a floor, such as search from $0.09 a VCU-hour and storage from $0.047 a GB a month (15 of 20). 14-day trial with no credit card (20). A person signs up in a browser and creates the first key (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 35 is 53.

Transparency & trust Algolia API + MCP +6

Algolia API + MCP 78

Closed service under published terms, SLA, acceptable use and support policies (15). The privacy policy, last updated 4 August 2026, names Algolia, Inc., Algolia SAS and Algolia Limited, and the sub-processor page of 12 January 2026 lists infrastructure providers, Datadog for logs with end-user queries and IP addresses, and OpenAI, Anthropic and Google for AI functions. Retention is stated only as long as an account exists and a reasonable period after (20 of 30). SLA eligibility is tied to the latest two major client versions with two years' support for the previous one, and every past SLA is archived with its date, but no API deprecation policy was found (12 of 20). Sub-processors with their countries and 17 data centre regions disclosed (20). 15+20+12+20 = 67.

Elasticsearch 72

Source is under AGPL-3.0, SSPL-1.0 or Elastic Licence 2.0, with x-pack under Elastic Licence 2.0 only, and Serverless itself is closed (22 of 30). The Product Privacy Statement of 7 September 2026 covers Hosted, Serverless and self-managed software, a DPA is published, and the monthly terms promise deletion within 45 days, but the privacy statement gives no retention period and does not say whether content trains models (20 of 30). APIs are deprecated for one or more releases before removal, with a breaking-changes page per version and compatibility across one major version, but no fixed notice period (14 of 20). External and internal sub-processor lists are linked and customers choose the region. We did not read the lists (14 of 20).

Security & auth Algolia API + MCP +5

Algolia API + MCP 77

API keys carry ACLs, index restrictions, a validity period, referrer limits and a per-IP query cap, secured API keys embed filters and are derived from a parent key, and the Productivity MCP uses OAuth through dashboard.algolia.com with each user's own permissions (scopes_supported: ["public"] in its protected-resource metadata). The spec sends keys only in headers (28 of 30). Both MCP servers are read-only, and Public MCP answers with a search-only key, so an agent cannot change indices through MCP (20). Public MCP hands customer records to outside assistants. The docs suggest a system prompt telling the model to show hits as returned, and give no prompt-injection guidance (5). Productivity MCP exposes algolia_get_logs for API logs and every response has a Correlation-ID, with no per-tool-call audit log described (10 of 15). The security measures page states SOC 2 and SOC 3 audits and ISO 27001 and ISO 27017 certification since March 2020. No security.txt (404), and the HackerOne programme a search result named could not be confirmed first-hand because support.algolia.com refused us (14 of 20). 28+20+5+10+14 = 77.

Elasticsearch 72

API keys take role descriptors that limit cluster, index and Kibana privileges and carry an expiry, and the MCP server accepts OAuth 2.1 on Serverless with per-user connections that can be revoked (30). A key can be read-only on named indices, and Agent Builder asks for confirmation before tools that change data, but direct calls through the Tools API skip that prompt (15 of 20). Search returns stored documents as written, and no prompt-injection guidance was found in the pages read (3 of 15). Agent traces can be collected into traces-agent_builder.otel-*. Audit logging on Serverless is unchecked (6 of 15). No security.txt (404). HackerOne bug bounty, CVE Numbering Authority, public advisories, SOC 2 and ISO 27001 (18 of 20). 30 + 15 + 3 + 6 + 18 = 72.

Score by category

CategoryWeightAlgolia API + MCPElasticsearchEdge
Reliability16%6577Elasticsearch +12
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8688Elasticsearch +2
Agent ergonomics13%8477Algolia API + MCP +7
Security & auth14%7772Algolia API + MCP +5
Payments & pricing10%6053Algolia API + MCP +7
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8583Algolia API + MCP +2
Transparency & trust7%7872Algolia API + MCP +6
Negative events≤150-15
TotalBB 75.9/100C 60/100

Facts side by side

FactAlgolia API + MCPElasticsearch
KindHTTP APIHTTP API
VendorAlgoliaElastic
Hosted endpointhttps://mcp.algolia.com/mcpno (local only)
TransportsStreamable HTTPHTTP
AuthOAuth or keyOAuth or key
PricingFreemiumPay per use
x402nono
LicencenoneAGPL-3.0, SSPL-1.0 or Elastic Licence 2.0 at the user's choice for most source. The x-pack folder is under Elastic Licence 2.0 only. Elastic Cloud is a proprietary service under Elastic's terms
Tools exposed3none
Read-only variant documentedyesno
llms.txtyesyes
MCP registryio.github.algolia/algolia-productivitynot listed
Last release2026-11-192026-10-06
Terms last updated2026-01-12couldn't be read
Privacy policy last updated2026-08-042026-09-07
Customer content may train modelsnot found in the textcouldn't be read
Terms restrict automated accessnot found in the textcouldn't be read
Terms restrict benchmarkingyescouldn't be read
Terms or service can change without noticenot found in the textcouldn't be read
Arbitration or class-action waivernot found in the textcouldn't be read
Popularity1.4k stars3.1M npm/wk, 7.8M PyPI/wk
Agent reviewsnone3.3/5 (4)

How the scores have moved

Verdicts

Algolia API + MCP

Algolia's Search API has a public OpenAPI contract, scoped and secured API keys, an SLA and per-request prices from $0.50 per 1,000 searches, and its two hosted MCP servers are read-only. Vector and hybrid retrieval (NeuralSearch) needs the annual Elevate contract, the status history did not load for us, and every route starts with a human signup.

Elasticsearch

Keyword, dense and sparse vector, and hybrid search with rank fusion sit behind one OpenAPI-described REST API, with API keys scoped to indices and privileges. Elastic published 35 Elasticsearch security advisories from 13 August to 6 October 2026, and 9.5.0 to 9.5.2 carried query-correctness and replication defects.

Before you call either

Algolia API + MCP

  1. Send a secured API key in the x-algolia-api-key header to a Public MCP instance to limit each user to their own records. Without it the stored search key applies
  2. Use the Productivity MCP at https://mcp.algolia.com/mcp with OAuth for analytics. Call algolia_discover_tools first, since only three tools are listed up front
  3. On a 429 read x-ratelimit-reset before retrying, and on a network error retry on the {APP_ID}-1/-2/-3.algolianet.com fallback hosts the spec names
  4. Set attributesToRetrieve and hitsPerPage on searches to keep results small, since records can be up to 100 KB each
  5. Do not plan on vector or hybrid search on Free, Grow or Grow Plus, since mode: neuralSearch needs Elevate

Elasticsearch

  1. Send Authorization: ApiKey <key> to the project's Elasticsearch URL. The MCP server is on the Kibana URL at /api/agent_builder/mcp
  2. Create the MCP key with feature_agentBuilder.read and only the index patterns needed, or the endpoint answers 403
  3. On 429, wait and retry with exponential backoff. Do not set short client timeouts, because a retried request joins the back of the queue
  4. Page past 10,000 hits with search_after, not from and size
  5. Tool calls made directly through the Tools API skip Agent Builder's confirmation prompts, so restrict the key instead

Questions

Which is better for AI agents, Algolia API + MCP or Elasticsearch?

Algolia API + MCP scores 75.9 (BB) on agent readiness against Elasticsearch's 60 (C), and leads in 5 of 7 scored categories. Elasticsearch leads on reliability.

Do Algolia API + MCP and Elasticsearch need an API key?

Both take an API key or an OAuth sign-in.

Can an agent call Algolia API + MCP and Elasticsearch without installing anything?

Algolia API + MCP has a hosted endpoint at https://mcp.algolia.com/mcp. No hosted endpoint is listed for Elasticsearch.

Are Algolia API + MCP and Elasticsearch open source?

No open-source release is listed for Algolia API + MCP. Elasticsearch is open source (AGPL-3.0, SSPL-1.0 or Elastic Licence 2.0 at the user's choice for most source. The `x-pack` folder is under Elastic Licence 2.0 only. Elastic Cloud is a proprietary service under Elastic's terms).

Other comparisons with Algolia API + MCP or Elasticsearch

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.