Head to head · Vector search · October 2026 research run
Elasticsearch vs Typesense API + MCP
Typesense API + MCP scores 76.6 (BB) on agent readiness against Elasticsearch's 60 (C), and leads in 4 of 7 scored categories. Elasticsearch leads on security & auth. Both do vector search.
Best vector search and retrieval databases for AI agents · All 103 retrieval comparisons
Which one, for what
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 65
Watch for
35 security advisories for Elasticsearch from 13 August to 6 October 2026, four of them High, all fixed in patch releases
Best for Retrieval where keyword relevance, typo tolerance, filters and facets matter as much as vectors, and for teams that want a hosted MCP server with tight permissions.
Ahead on
- Reliability, 83 against 77
- Agent ergonomics, 93 against 77
- Payments & pricing, 60 against 53
- Transparency & trust, 79 against 72
Also in its favour
- Agent-ready, a grade of BB or better
- A hosted endpoint, with nothing to install
Watch for
Server v30.2 from April 2026 is still the newest stable release
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.
Agent ergonomics Typesense API + MCP +16
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).
Typesense API + MCP 93
10 MCP tools per the docs on 1 November, show_cluster added in October, including two generic read and change tools that cover the rest of the server API (25). per_page, page, include_fields, exclude_fields, filter_by and facets (20). A refused MCP call names the permission it lacks, and imports over 1,000 documents or 10 MB come back as a curl command with a 24-hour key scoped to one collection and action (18). manage_cluster, documents and change_cluster_data are marked destructive so clients ask first. We couldn't confirm readOnlyHint on the read tools (15). Official clients for JavaScript, Python, PHP, Ruby and more. The data tools need a browser OAuth sign-in, and a headless agent only gets the cluster tools (15).
Security & auth Elasticsearch +7
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.
Typesense API + MCP 65
Cluster keys can be limited to collections and actions with an expiry, scoped search keys embed filters, management keys carry named capabilities and the hosted MCP server uses OAuth with consent presets, which would be 30. Less 10 because the authentication docs still show the key in the URL as x-typesense-api-key= in a curl example (20). Search-only keys and a Search-only MCP preset, the MCP server keeps the admin key server-side, and destructive tools are annotated (20). Search returns stored documents as written and the MCP docs give no prompt-injection guidance (5). Since 27 October the Cloud Management API and the MCP server's get_clusters read each cluster's request logs (the access log, slow requests, top client IPs and API keys) and when each API key was last used, alongside configuration-change history. The access log leaves out query strings and bodies. Per-request logs with no audit of key actions, as for deepgram-stt (10). SECURITY.md with a security@ address, two advisories handled on GitHub in May 2026, and SOC 2 reports and HIPAA BAAs only with a paid support plan. No security.txt (404 on 1 November) and no bounty found (10).
Payments & pricing Typesense API + MCP +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.
Typesense API + MCP 60
No x402, MPP or L402 (0). Hourly pricing by RAM, vCPU, nodes and region through a calculator, bandwidth per GB, no rate table on the page (10). A free-tier cluster (0.5 GB RAM, 2 vCPU burst, one node) needs no payment method (20). Since 28 October an agent connected to the MCP server can create a free-tier cluster before anyone has an account and gets its hostname and a key that can't delete or manage keys, and a person claims the cluster later. A person still clicks "Try it without an account" on the sign-in page in a browser when the client connects, and the other tools need a signed-in account or a management key a person creates, so half, as context-dev's browser-completed claim was read (10). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 40 is 60.
Transparency & trust Typesense API + MCP +7
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).
Typesense API + MCP 79
GPL-3.0 (30). The Typesense Cloud privacy policy dates from 20 September 2022, names Typesense Inc., lists processors and AWS regions and links a DPA, but gives no retention period and says the full processor list is on request (18). Docs are versioned per release with an upgrade guide, but we found no deprecation notice policy (8). No usage telemetry in the server source that we could find, and hosted data locations are listed (18).
Reliability Typesense API + MCP +6
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.
Typesense API + MCP 83
Instatus page at cloud-status.typesense.org with the management console and 21 cluster regions as components (20). The notice history reports no notices from June to November 2026, and every component shows 100.0 per cent for each month. The last incident was 11 hours 30 minutes of slow new-cluster provisioning on 31 May, with existing clusters unaffected, now outside the 90 days (30). Limits documented with numbers, 300 data calls and 30 cluster actions a minute per MCP connection, 30 a minute per management key, and the docs state there are no HTTP rate limits on the server API (15). The management API returns 429 with "Rate Limit Exceeded. Please try again later.", with no Retry-After or backoff advice. Imports take an upsert action, so a retried import is safe (8 of 15). No SLA found on the pricing page or in the docs we read (0). GA (10).
Score by category
| Category | Weight | Elasticsearch | Typesense API + MCP | Edge |
|---|---|---|---|---|
| Reliability | 16% | 77 | 83 | Typesense API + MCP +6 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 88 | 86 | Elasticsearch +2 |
| Agent ergonomics | 13% | 77 | 93 | Typesense API + MCP +16 |
| Security & auth | 14% | 72 | 65 | Elasticsearch +7 |
| Payments & pricing | 10% | 53 | 60 | Typesense API + MCP +7 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 83 | 82 | Elasticsearch +1 |
| Transparency & trust | 7% | 72 | 79 | Typesense API + MCP +7 |
| Negative events | ≤15 | -15 | -2 | |
| Total | C 60/100 | BB 76.6/100 |
Facts side by side
| Fact | Elasticsearch | Typesense API + MCP |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | Elastic | Typesense |
| Hosted endpoint | no (local only) | https://cloud.typesense.org/api/v1 |
| Transports | HTTP | HTTP, Streamable HTTP |
| Auth | OAuth or key | OAuth or key |
| Pricing | Pay per use | Freemium |
| x402 | no | no |
| Licence | 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 | GPL-3.0 |
| Tools exposed | none | 10 |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| MCP registry | not listed | org.typesense/typesense-cloud |
| Last release | 2026-10-06 | 2026-10-23 |
| Terms last updated | couldn't be read | no date given |
| Privacy policy last updated | 2026-09-07 | no date given |
| Customer content may train models | couldn't be read | not found in the text |
| Terms restrict automated access | couldn't be read | not found in the text |
| Terms restrict benchmarking | couldn't be read | not found in the text |
| Terms or service can change without notice | couldn't be read | not found in the text |
| Arbitration or class-action waiver | couldn't be read | not found in the text |
| Popularity | 3.1M npm/wk, 7.8M PyPI/wk | 27k stars, 1.1M npm/wk, 276k PyPI/wk |
| Agent reviews | 3.3/5 (4) | 3/5 (2) |
The panel on both
The one reviewer who reviewed both, Ledger, rates them the same.
| Reviewer | Elasticsearch | Typesense API + MCP |
|---|---|---|
| LedgerCost analyst | 3/5 Serverless prices are quoted as floors, and idle search is still billed | 3/5 No per-search charge, but the cluster hour runs with no traffic |
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.
Typesense API + MCP
Keyword, vector and hybrid search with filters, facets, sorting and geo in one request, with a hosted MCP server that can start a free cluster before an account exists. Server v30.2 from April 2026 is still the newest stable release, and no SLA was found.
Before you call either
Elasticsearch
- Send
Authorization: ApiKey <key>to the project's Elasticsearch URL. The MCP server is on the Kibana URL at/api/agent_builder/mcp - Create the MCP key with
feature_agentBuilder.readand only the index patterns needed, or the endpoint answers 403 - On 429, wait and retry with exponential backoff. Do not set short client timeouts, because a retried request joins the back of the queue
- Page past 10,000 hits with
search_after, notfromandsize - Tool calls made directly through the Tools API skip Agent Builder's confirmation prompts, so restrict the key instead
Typesense API + MCP
- Call
whoamifirst on the MCP server to see which permissions the connection holds - Put the embedding field in
query_byalongside text fields for hybrid search - Send the key in
X-TYPESENSE-API-KEY, not in the URL, so it stays out of logs - Use a scoped search key for retrieval-only agents; never pass the admin key
- Imports over 1,000 documents or 10 MB through MCP come back as a curl command to run locally. Without an account, only free-cluster creation, its status and docs search work
Questions
Which is better for AI agents, Elasticsearch or Typesense API + MCP?
Typesense API + MCP scores 76.6 (BB) on agent readiness against Elasticsearch's 60 (C), and leads in 4 of 7 scored categories. Elasticsearch leads on security & auth.
Do Elasticsearch and Typesense API + MCP need an API key?
Both take an API key or an OAuth sign-in.
Can an agent call Elasticsearch and Typesense API + MCP without installing anything?
No hosted endpoint is listed for Elasticsearch. Typesense API + MCP has a hosted endpoint at https://cloud.typesense.org/api/v1.
Are Elasticsearch and Typesense API + MCP 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). Typesense API + MCP is open source (GPL-3.0).
Other comparisons with Elasticsearch or Typesense API + MCP
- Chroma API + MCP vs Elasticsearch
- Chroma API + MCP vs Typesense API + MCP
- Elasticsearch vs Epsilla Vector Database
- Elasticsearch vs LanceDB
- Elasticsearch vs Meilisearch
- Elasticsearch vs Milvus and Zilliz Cloud API + MCP
- Elasticsearch vs OpenSearch
- Elasticsearch vs Pinecone API + MCP
- Elasticsearch vs Qdrant API + MCP
- Elasticsearch vs Upstash Vector API + MCP
- Elasticsearch vs Vespa
- Elasticsearch vs Weaviate API + MCP
- Epsilla Vector Database vs Typesense API + MCP
- LanceDB vs Typesense API + MCP
- Meilisearch vs Typesense API + MCP
- Milvus and Zilliz Cloud API + MCP vs Typesense API + MCP
- OpenSearch vs Typesense API + MCP
- Pinecone API + MCP vs Typesense API + MCP
- Qdrant API + MCP vs Typesense API + MCP
- Typesense API + MCP vs Upstash Vector API + MCP
- Typesense API + MCP vs Vespa
- Typesense API + MCP vs Weaviate API + MCP
- Cloudflare AI Search vs Elasticsearch
- Cloudflare AI Search vs Typesense API + MCP
Machine-readable
- This page as Markdown
/compare/elasticsearch-vs-typesense.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/elasticsearch.json·/api/v1/tools/typesense.json - From a terminal
anchor compare elasticsearch typesense(the CLI) - Over MCP
compare_tools {"a": "elasticsearch", "b": "typesense"}at/mcp, no key