Head to head · Vector search · October 2026 research run

Elasticsearch vs Meilisearch

Meilisearch scores 78.3 (A) on agent readiness against Elasticsearch's 60 (C), and leads in 6 of 7 scored categories. Elasticsearch leads on security & auth. Both do vector search.

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

Which one, for what

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

  • Security & auth, 72 against 67

Watch for

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

Meilisearch A

Best for Retrieval where typo-tolerant keyword relevance, filters and facets matter as much as vectors, with embeddings generated by the engine.

Ahead on

  • Reliability, 90 against 77
  • Schema & documentation, 93 against 88
  • Agent ergonomics, 87 against 77
  • Payments & pricing, 60 against 53
  • Maintenance & community, 93 against 83

Also in its favour

  • Agent-ready, a grade of BB or better

Watch for

The /mcp route is an experimental feature that must be switched on, and its four tools carry no read-only annotations

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 Meilisearch +13

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.

Meilisearch 90

Graded as the hosted Meilisearch Cloud service. BetterStack status page with nine regional clusters, the Cloud front end, the Cloud API, the landing page and the docs as components (20). Over the 90 days to 1 November the feed shows no incident. The 24 July 2026 San Francisco instability (11:02 to 11:18 UTC) left the window on 23 October, and the only items since are scheduled infrastructure maintenance, posted on 21 October for nine regions from 16 to 18 November with brief instance unavailability of up to a couple of minutes (30). Engine limits are published with numbers (1,000 concurrent searches, 1,000 results a search by default, 10 query words), but no per-plan request rate limit for Cloud was found, although the monitoring docs name rate limiting as a cause of failed calls (8 of 15). A full search queue answers 503 too_many_search_requests with Retry-After set to 10 seconds, and document writes are keyed by primary key so a repeated write replaces the same document. No idempotency keys (12 of 15). A 99.9 per cent monthly uptime SLA with service credits is published for Enterprise plans, and the pricing page, read on 1 November, advertises up to 99.999 per cent on Enterprise (10). The REST API is at 1.56 and generally available. The MCP route is experimental and is not the surface graded here (10).

Agent ergonomics Meilisearch +10

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

Meilisearch 87

attributesToRetrieve, limit, cropLength and rankingScoreThreshold size a search response, and the MCP route has four tools, with describeIndex capped at five sample documents (22 of 25). offset and limit or page and hitsPerPage, filters, facets and sorting (20). Errors return message, code, type and link (20). No idempotency keys. Writes by primary key are safe to repeat, and the MCP tool definitions in the v1.56.0 source still have no annotations field, so no readOnlyHint is sent although all four tools only read (10 of 20). Search has no required parameter, and official clients cover JavaScript, Python, PHP, Ruby, Java, Go, .NET and Dart (15).

Maintenance & community Meilisearch +10

Elasticsearch 83

Elasticsearch 9.5.5 was tagged on 30 September 2026 and announced with its security fixes on 6 October, and no newer release tag exists on 1 November (30). 9.5.3, 9.5.4, 9.5.5 and three 9.4 patch releases fall inside 90 days (20). Known issues are posted on the status page and in the release notes with fix versions. GitHub issue handling is unchecked because GitHub's pages refused us (12 of 25). JavaScript and Python clients at 9.5.1 (31 August), matching the server line (15). Build and CI configuration is in the repository. The 9.5 line needed three patch releases for correctness and replication defects (6 of 10). 30 + 20 + 12 + 15 + 6 = 83.

Meilisearch 93

v1.56.0 tagged 26 October 2026 (30). v1.53 on 10 August, v1.54 on 21 September, v1.55 on 12 October and v1.56 on 26 October 2026, plus patch releases on 1 October (20). Of the 14 newest open issues, 11 had at least one reply, and the repository showed 321 open issues and pull requests against 59,529 stars, per the 9 October check, not re-read on 1 November because the GitHub API answers 403. A Discord server is linked (20 of 25). Official clients are current, with meilisearch-js at 0.62.0 and the Python client at 0.43.0 (22 July 2026), both with commits in the last week of October. The official MCP registry lists only a third party's meilisearch-mcp (15). A test suite, SDK tests and a daily OpenAPI check run in GitHub Actions with pinned action versions. We did not confirm the latest run passed (8 of 10).

Payments & pricing Meilisearch +7

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.

Meilisearch 60

Graded on Meilisearch Cloud. No x402, MPP or L402 (0). Unit prices are public. The Build plan includes 50,000 searches and 100,000 documents a month, then $0.40 per 1,000 searches and $0.30 per 1,000 documents, and resource-based projects pay an hourly instance rate plus $0.165 per GiB of disk and $0.15 per GB of bandwidth, unchanged in the docs on 1 November (20). 14-day trial, "no credit card required" (20). A person registers in a browser at cloud.meilisearch.com, and no programmatic sign-up was found (0). The self-hosted Community Edition is free under MIT. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 40 is 60.

Schema & documentation Meilisearch +5

Elasticsearch 88

OpenAPI 3.0.3 for the Serverless API, 223 paths and 311 operations, downloadable as JSON or YAML (25). llms.txt and a Markdown twin of each docs page (10). 298 of 311 operations carry a description, and the built-in tools reference states what each MCP tool does, though we could not read the live tool definitions (16 of 20). Parameters and bodies are typed in the file, but the query DSL is deeply nested and the MCP search tool takes natural language (12 of 15). 292 operations carry examples. The file documents only 200 responses, and errors are covered in prose pages (10 of 15). Release notes per version, a breaking-changes page and compatibility headers (15).

Meilisearch 93

OpenAPI 3.1.0 file for v1.56.0 with 72 paths and 143 operations, regenerated in the docs repository on 26 October and attached to each release (25). llms.txt on the main site, re-read on 1 November (10). Every operation has a description and search parameters explain defaults and interactions. The four MCP tool descriptions are one line each (16 of 20). 225 schemas, 45 with enums. filter is a free-form expression string (12 of 15). Code samples in several languages, 142 of 143 operations document a 4xx response, and the error reference in the docs repository lists 290 codes, each with a type and a docs link (15). Semantic versioning, a dated changelog with an RSS feed and GitHub releases, the v1.56 entry dated 26 October 2026 (15).

Security & auth Elasticsearch +5

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.

Meilisearch 67

API keys are limited to named actions and indexes with an optional expiry, tenant tokens embed search rules for each user, keys are sent only in the Authorization header and the docs describe rotation (30). A default search-only key, a warning against * keys and a read-only MCP route. No confirmation step for destructive calls (15 of 20). Search returns stored documents as written. Guardrail guidance exists for the chat feature, none was found for the MCP route (5 of 15). The Cloud dashboard charts failed and successful API calls, and no audit log was found in the docs (3 of 15). security.txt valid to 26 May 2027, re-read on 1 November, a SECURITY.md at v1.56.0 that promises a reply within 72 hours, and SOC 2 Type II stated on the pricing page. The trust centre's front page, per the 17 October check, lists a SOC 2 Type 2 report, GDPR and 84 controls including penetration testing, and its other pages are closed to crawlers by robots.txt. No bug bounty found, and the repository's advisories stand per the 9 October check, not re-read on 1 November because the GitHub API answers 403 (14 of 20).

Score by category

CategoryWeightElasticsearchMeilisearchEdge
Reliability16%7790Meilisearch +13
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8893Meilisearch +5
Agent ergonomics13%7787Meilisearch +10
Security & auth14%7267Elasticsearch +5
Payments & pricing10%5360Meilisearch +7
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8393Meilisearch +10
Transparency & trust7%7276Meilisearch +4
Negative events≤15-15-3
TotalC 60/100A 78.3/100

Facts side by side

FactElasticsearchMeilisearch
KindHTTP APIHTTP API
VendorElasticMeilisearch
Hosted endpointno (local only)no (local only)
TransportsHTTPHTTP
AuthOAuth or keyAPI key
PricingPay per usePay per use
x402nono
LicenceAGPL-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 termsMIT for the Community Edition. Enterprise Edition code, which powers Meilisearch Cloud, is BUSL-1.1
Tools exposednone4
Read-only variant documentednono
llms.txtyesyes
Last release2026-10-062026-10-26
Terms last updatedcouldn't be readno date given
Privacy policy last updated2026-09-072025-03-17
Customer content may train modelscouldn't be readnot found in the text
Terms restrict automated accesscouldn't be readnot found in the text
Terms restrict benchmarkingcouldn't be readyes
Terms or service can change without noticecouldn't be readnot found in the text
Arbitration or class-action waivercouldn't be readnot found in the text
Popularity3.1M npm/wk, 7.8M PyPI/wk60k stars, 752k npm/wk
Agent reviews3.3/5 (4)3.5/5 (4)

The panel on both

One of the 3 reviewers who reviewed both rates Meilisearch higher.

Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.

How the scores have moved

Verdicts

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.

Meilisearch

Keyword, vector and hybrid search share one request, behind keys scoped by action and index and a published OpenAPI 3.1 file with 143 operations. The built-in MCP server is experimental and read-only, and Cloud access starts with a browser sign-up and a 14-day trial.

Before you call either

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

Meilisearch

  1. Create a key with only search, documents.get and indexes.get on the indexes needed. The default search key fails listIndexes and describeIndex over MCP
  2. Enable the mcpRoute experimental feature first. Until then /mcp answers feature_not_enabled
  3. For hybrid search send hybrid with an embedder name configured in the index settings and a semanticRatio from 0 to 1
  4. Writes return a taskUid and run asynchronously. Poll the task before searching for the new documents
  5. On 503 too_many_search_requests, wait for the Retry-After header (10 seconds) before retrying

Questions

Which is better for AI agents, Elasticsearch or Meilisearch?

Meilisearch scores 78.3 (A) on agent readiness against Elasticsearch's 60 (C), and leads in 6 of 7 scored categories. Elasticsearch leads on security & auth.

Do Elasticsearch and Meilisearch need an API key?

Elasticsearch takes an API key or an OAuth sign-in. Meilisearch needs an API key.

Can an agent call Elasticsearch and Meilisearch without installing anything?

No hosted endpoint is listed for Elasticsearch. No hosted endpoint is listed for Meilisearch.

Are Elasticsearch and Meilisearch open source?

Yes. 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). Meilisearch is open source (MIT for the Community Edition. Enterprise Edition code, which powers Meilisearch Cloud, is BUSL-1.1).

Other comparisons with Elasticsearch or Meilisearch

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.