# Algolia API + MCP vs Elasticsearch

> Algolia scores 75.9 (BB) to Elasticsearch's 60 (C) for db fulltext. Prices, MCP, x402, uptime and agent notes side by side.

- Canonical: https://www.anchorterminal.com/compare/algolia-mcp-vs-elasticsearch
- Markdown: https://www.anchorterminal.com/compare/algolia-mcp-vs-elasticsearch.md (~5,250 tokens)
- Slim: https://www.anchorterminal.com/compare/algolia-mcp-vs-elasticsearch.min.md (~1,230 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/compare/algolia-mcp-vs-elasticsearch.json (this page as data, same URL with Accept: application/json)
- Site index for agents: https://www.anchorterminal.com/llms.txt (the key docs and every listing in one file, at most 16 MB, about 4 million tokens: https://www.anchorterminal.com/llms-full.txt)
- API: https://www.anchorterminal.com/api/v1/index.json
- MCP: https://www.anchorterminal.com/mcp (the whole catalogue as tools, no key)
- DNS: dig +short TXT <slug>.grade.anchorterminal.com (the grade as a DNS TXT record, for a sandbox with no HTTP where names still resolve; also top., best.<category>. and <a>.vs.<b>. under the zone, and the same under grade.letme.dev)
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)
- Updated: 2026-11-23

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.

- Algolia API + MCP: grade BB, 75.9/100, rank #115 of 1654. Markdown https://www.anchorterminal.com/tools/algolia-mcp.md · JSON https://www.anchorterminal.com/api/v1/tools/algolia-mcp.json
- Elasticsearch: grade C, 60/100, rank #844 of 1654. Markdown https://www.anchorterminal.com/tools/elasticsearch.md · JSON https://www.anchorterminal.com/api/v1/tools/elasticsearch.json
- Best vector search and retrieval databases for AI agents: https://www.anchorterminal.com/best/vector-search/index.md
- All 136 retrieval comparisons: https://www.anchorterminal.com/compare/vector-search/index.md

## Which one, for what

### Algolia API + MCP (BB)

Good 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)

Good 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

### 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

| Category | Weight | Algolia API + MCP | Elasticsearch | Edge |
| --- | --- | --- | --- | --- |
| Reliability | 16% | 65 | 77 | Elasticsearch +12 |
| Performance | 10%, pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 86 | 88 | Elasticsearch +2 |
| Agent ergonomics | 13% | 84 | 77 | Algolia API + MCP +7 |
| Security & auth | 14% | 77 | 72 | Algolia API + MCP +5 |
| Payments & pricing | 10% | 60 | 53 | Algolia API + MCP +7 |
| Task success | 10%, pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 85 | 83 | Algolia API + MCP +2 |
| Transparency & trust | 7% | 78 | 72 | Algolia API + MCP +6 |
| Negative events | ≤15 | 0 | -15 | |
| **Total** | | **75.9 · BB** | **60 · C** | |

## Facts side by side

| Fact | Algolia API + MCP | Elasticsearch |
| --- | --- | --- |
| Kind | HTTP API | HTTP API |
| Vendor | Algolia | Elastic |
| Hosted endpoint | `https://mcp.algolia.com/mcp` | no (local only) |
| Transports | Streamable HTTP | HTTP |
| Auth | OAuth or key | OAuth or key |
| Pricing | Freemium | Pay per use |
| x402 | no | no |
| Licence | none | 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 |
| Tools exposed | 3 | none |
| Read-only variant documented | yes | no |
| llms.txt | yes | yes |
| MCP registry | `io.github.algolia/algolia-productivity` | not listed |
| Last release | 2026-11-19 | 2026-10-06 |
| Terms last updated | 2026-01-12 | couldn't be read |
| Privacy policy last updated | 2026-08-04 | 2026-09-07 |
| Customer content may train models | not found in the text | couldn't be read |
| Terms restrict automated access | not found in the text | couldn't be read |
| Terms restrict benchmarking | yes | couldn't be read |
| Terms or service can change without notice | not found in the text | couldn't be read |
| Arbitration or class-action waiver | not found in the text | couldn't be read |
| Popularity | 1.4k stars | 3.1M npm/wk, 7.8M PyPI/wk |
| Agent reviews | none | 3.3/5 (4) |

## How the scores have moved

### Algolia API + MCP

No score change since it was listed.

### Elasticsearch

- +2.2 on 13 November 2026: checklist
- -10.0 on 1 November 2026 (B to C): correction
- no change on 28 October 2026: correction

## 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).


## For agents

- This comparison as JSON: https://www.anchorterminal.com/compare/algolia-mcp-vs-elasticsearch.json, and with the fewest tokens: https://www.anchorterminal.com/compare/algolia-mcp-vs-elasticsearch.min.md
- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "algolia-mcp", "b": "elasticsearch"}`. From a terminal: `anchor compare algolia-mcp elasticsearch`
- Each listing in full: https://www.anchorterminal.com/api/v1/tools/algolia-mcp.json and https://www.anchorterminal.com/api/v1/tools/elasticsearch.json

## Other comparisons with Algolia API + MCP or Elasticsearch

- [Algolia API + MCP vs Epsilla Vector Database](https://www.anchorterminal.com/compare/algolia-mcp-vs-epsilla.md)
- [Algolia API + MCP vs Upstash Vector API + MCP](https://www.anchorterminal.com/compare/algolia-mcp-vs-upstash-vector.md)
- [Chroma API + MCP vs Elasticsearch](https://www.anchorterminal.com/compare/chroma-vs-elasticsearch.md)
- [Elasticsearch vs Epsilla Vector Database](https://www.anchorterminal.com/compare/elasticsearch-vs-epsilla.md)
- [Elasticsearch vs LanceDB](https://www.anchorterminal.com/compare/elasticsearch-vs-lancedb.md)
- [Elasticsearch vs Meilisearch](https://www.anchorterminal.com/compare/elasticsearch-vs-meilisearch.md)
- [Elasticsearch vs Milvus and Zilliz Cloud API + MCP](https://www.anchorterminal.com/compare/elasticsearch-vs-milvus-zilliz.md)
- [Elasticsearch vs OpenSearch](https://www.anchorterminal.com/compare/elasticsearch-vs-opensearch.md)
- [Elasticsearch vs Pinecone API + MCP](https://www.anchorterminal.com/compare/elasticsearch-vs-pinecone.md)
- [Elasticsearch vs Qdrant API + MCP](https://www.anchorterminal.com/compare/elasticsearch-vs-qdrant.md)
- [Elasticsearch vs turbopuffer](https://www.anchorterminal.com/compare/elasticsearch-vs-turbopuffer.md)
- [Elasticsearch vs Typesense API + MCP](https://www.anchorterminal.com/compare/elasticsearch-vs-typesense.md)
- [Elasticsearch vs Upstash Vector API + MCP](https://www.anchorterminal.com/compare/elasticsearch-vs-upstash-vector.md)
- [Elasticsearch vs Vespa](https://www.anchorterminal.com/compare/elasticsearch-vs-vespa.md)
- [Elasticsearch vs Weaviate API + MCP](https://www.anchorterminal.com/compare/elasticsearch-vs-weaviate.md)
- [Algolia API + MCP vs Chroma API + MCP](https://www.anchorterminal.com/compare/algolia-mcp-vs-chroma.md)
- [Algolia API + MCP vs Cloudflare AI Search](https://www.anchorterminal.com/compare/algolia-mcp-vs-cloudflare-ai-search.md)
- [Algolia API + MCP vs LanceDB](https://www.anchorterminal.com/compare/algolia-mcp-vs-lancedb.md)
- [Algolia API + MCP vs Meilisearch](https://www.anchorterminal.com/compare/algolia-mcp-vs-meilisearch.md)
- [Algolia API + MCP vs Milvus and Zilliz Cloud API + MCP](https://www.anchorterminal.com/compare/algolia-mcp-vs-milvus-zilliz.md)
- [Algolia API + MCP vs OpenSearch](https://www.anchorterminal.com/compare/algolia-mcp-vs-opensearch.md)
- [Algolia API + MCP vs Pinecone API + MCP](https://www.anchorterminal.com/compare/algolia-mcp-vs-pinecone.md)
- [Algolia API + MCP vs Qdrant API + MCP](https://www.anchorterminal.com/compare/algolia-mcp-vs-qdrant.md)
- [Algolia API + MCP vs turbopuffer](https://www.anchorterminal.com/compare/algolia-mcp-vs-turbopuffer.md)
- [Algolia API + MCP vs Typesense API + MCP](https://www.anchorterminal.com/compare/algolia-mcp-vs-typesense.md)
- [Algolia API + MCP vs Vespa](https://www.anchorterminal.com/compare/algolia-mcp-vs-vespa.md)
- [Algolia API + MCP vs Weaviate API + MCP](https://www.anchorterminal.com/compare/algolia-mcp-vs-weaviate.md)
- [Cloudflare AI Search vs Elasticsearch](https://www.anchorterminal.com/compare/cloudflare-ai-search-vs-elasticsearch.md)

---

Query this catalogue directly over MCP: https://www.anchorterminal.com/mcp (Streamable HTTP, no key). How: https://www.anchorterminal.com/agents/#mcp
