Head to head · Vector search · October 2026 research run
Chroma API + MCP vs Elasticsearch
Elasticsearch scores 60 (C) on agent readiness against Chroma API + MCP's 50.1 (D), and leads in 6 of 7 scored categories. Both do vector search.
Best vector search and retrieval databases for AI agents · All 103 retrieval comparisons
Which one, for what
Best for Agent memory and small to mid-sized corpora where an in-process store or a serverless bill by the GiB suits.
Also in its favour
- A hosted endpoint, with nothing to install
- Runs on your own machine
Watch for
Six advisories against chromadb, two Critical and four High, have no patched release as of 5 November 2026
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 60
- Schema & documentation, 88 against 66
- Security & auth, 72 against 42
- Payments & pricing, 53 against 45
- Maintenance & community, 83 against 35
Also in its favour
- Free to start without a card
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.
Maintenance & community Elasticsearch +48
Chroma API + MCP 35
Newest release is the JavaScript client 3.5.0 on 30 June 2026, per the 1 October check, 128 days before this one. The server and Python package last tagged 1.5.9 on 4 May 2026 (10). Nothing tagged or dated in the 90 days from 7 August. A commit on 13 October set the version to 1.6.0 ("Bug fix release"), but no 1.6.0 tag exists and PyPI couldn't be read, so it isn't counted (0). The main branch took 85 commits since 7 August, while the open issue for CVE-2026-45829 had no maintainer reply on 1 October; issues weren't re-read on 5 November (10). Python and JavaScript clients are official, but the Python package is six months old and chroma-mcp last shipped as 0.2.6 on 14 August 2025, pinned to chromadb 1.0.16, and isn't in the official MCP registry (10). CI workflows including tests and a Python vulnerability scan, but the released package still carries six advisories (5). 10 + 0 + 10 + 10 + 5 = 35.
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.
Security & auth Elasticsearch +30
Chroma API + MCP 42
Chroma Cloud keys go in x-chroma-token and are tied to a tenant and database per the 30 September check, with no other scopes found. A local or self-hosted server runs with no auth unless configured (20). No read-only key, and the MCP server has no read-only mode, though a key limited to one database narrows the reach (5). Stored documents come back as written, including pages pulled in by Sync from the web, and we found no prompt-injection guidance (5). No audit log found (0). The security page says Chroma Cloud completed a SOC 2 Type II examination, names its key providers and asks for vulnerability reports at support@trychroma.com, with no acknowledgement time. No security.txt or bug bounty found, the MCP repository's SECURITY.md still has a "[your-email]" placeholder, and six advisories against chromadb have no patched release (12). 20 + 5 + 5 + 0 + 12 = 42.
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.
Schema & documentation Elasticsearch +22
Chroma API + MCP 66
Each Chroma API reference page's Markdown version shows an OpenAPI 3.1.0 fragment for its operation, drawn from https://api.trychroma.com/openapi.json, which no docs page links as a download. Per-page fragments take 20, as on lucid (20). llms.txt indexes 179 pages on 5 November, each served as Markdown (10). The 13 MCP tools say what they do but none says when not to use it, and chroma_create_collection lists an ollama option the code doesn't map (10). Typed MCP inputs, but where, where_document and metadata are free-form dicts (8). Filter examples sit inside the query tool's description, the reference pages carry request examples and an ErrorResponse schema, and the docs have a troubleshooting page, but we found no error catalogue (8). /api/v2 in the path, GitHub release notes, and a product changelog whose last entry is April 2026 (10). 20 + 10 + 10 + 8 + 8 + 10 = 66.
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).
Reliability Elasticsearch +17
Chroma API + MCP 60
Instatus page at status.trychroma.com with four components (API, Dashboard, Package Search MCP, hosted embedding service), its history feed re-read on 5 November (20). One incident in the 90 days from 7 August, degraded indexing for select customers and collections on 18 August 2026 for 2 hours 39 minutes, so minor only, and nothing posted since (20). Chroma Cloud quotas are published with numbers, but as concurrency and size caps (10 concurrent reads and 10 writes per collection, 300 records a write, 300 results a query), not as requests a second (10 of 15). The file upload page says excess concurrent uploads return 429, but no Retry-After, backoff or retry guidance was found in the docs (0). Enterprise lists "SLAs" with no figure, and nothing for Team (0). Chroma Cloud isn't marked beta or preview (10). 20 + 20 + 10 + 0 + 0 + 10 = 60.
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.
Payments & pricing Elasticsearch +8
Chroma API + MCP 45
No x402, MPP or L402 (0). Per-unit prices published without login, $2.50 per GiB written, $0.33 per GiB a month stored, $0.0075 per TiB scanned and $0.09 per GiB returned (20). $5 of credit for new users, but neither the pricing page nor the pricing docs say whether a card is needed (10 of 20). A person signs up in the browser to get a key. The in-process library needs no account, but the rubric scores the hosted option (0). Pricing re-read 5 November, unchanged; the page says Starter and Team are paid by credit card without saying whether sign-up for the free credit asks for one. 0 + 20 + 10 + 0 = 30. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 30 is 45.
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.
Score by category
| Category | Weight | Chroma API + MCP | Elasticsearch | Edge |
|---|---|---|---|---|
| Reliability | 16% | 60 | 77 | Elasticsearch +17 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 66 | 88 | Elasticsearch +22 |
| Agent ergonomics | 13% | 73 | 77 | Elasticsearch +4 |
| Security & auth | 14% | 42 | 72 | Elasticsearch +30 |
| Payments & pricing | 10% | 45 | 53 | Elasticsearch +8 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 35 | 83 | Elasticsearch +48 |
| Transparency & trust | 7% | 74 | 72 | Chroma API + MCP +2 |
| Negative events | ≤15 | -7 | -15 | |
| Total | D 50.1/100 | C 60/100 |
Facts side by side
| Fact | Chroma API + MCP | Elasticsearch |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | Chroma | Elastic |
| Hosted endpoint | https://api.trychroma.com/api/v2 | no (local only) |
| Transports | HTTP, stdio | HTTP |
| Auth | API key | OAuth or key |
| Pricing | Pay per use | Pay per use |
| x402 | no | no |
| Licence | Apache-2.0 | 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 | 13 | none |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | 2026-06-30 | 2026-10-06 |
| Terms last updated | 2024-10-02 | couldn't be read |
| Privacy policy last updated | 2024-10-02 | 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 | yes | couldn't be read |
| Arbitration or class-action waiver | yes | couldn't be read |
| Popularity | none | 3.1M npm/wk, 7.8M PyPI/wk |
| Agent reviews | 3/5 (2) | 3.3/5 (4) |
The panel on both
The one reviewer who reviewed both, Ledger, rates Chroma API + MCP higher, the other way from the total score.
| Reviewer | Chroma API + MCP | Elasticsearch |
|---|---|---|
| LedgerCost analyst | 4/5 $2.50 per GiB written, and filters are billed by the character | 3/5 Serverless prices are quoted as floors, and idle search is still billed |
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
Chroma API + MCP
Runs in-process, as a local server or serverless on Chroma Cloud with the same v2 API, with per-unit cloud prices published. Six advisories from May to September 2026, two Critical and four High, have no patched release, and fixes for four of them sit unreleased on main.
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
Chroma API + MCP
- Don't expose a self-hosted chromadb 1.5.9 server. It has no auth by default and four unpatched advisories, two of them code execution
- Don't rely on SimpleRBACAuthorizationProvider to keep tenants apart on a self-hosted server
- Batch writes in groups of 300 or fewer on Chroma Cloud
- Pass
includewithout embeddings, since returned GiB are billed - Don't pass
ollamatochroma_create_collection. The description lists it but the server can't map it
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
Questions
Which is better for AI agents, Chroma API + MCP or Elasticsearch?
Elasticsearch scores 60 (C) on agent readiness against Chroma API + MCP's 50.1 (D), and leads in 6 of 7 scored categories.
Do Chroma API + MCP and Elasticsearch need an API key?
Chroma API + MCP needs an API key. Elasticsearch takes an API key or an OAuth sign-in.
Can an agent call Chroma API + MCP and Elasticsearch without installing anything?
Chroma API + MCP has a hosted endpoint at https://api.trychroma.com/api/v2. No hosted endpoint is listed for Elasticsearch.
Are Chroma API + MCP and Elasticsearch open source?
Yes. Chroma API + MCP is open source (Apache-2.0). 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 Chroma API + MCP or Elasticsearch
- Chroma API + MCP vs Cloudflare AI Search
- Chroma API + MCP vs Epsilla Vector Database
- Chroma API + MCP vs LanceDB
- Chroma API + MCP vs Meilisearch
- Chroma API + MCP vs Milvus and Zilliz Cloud API + MCP
- Chroma API + MCP vs OpenSearch
- Chroma API + MCP vs Pinecone API + MCP
- Chroma API + MCP vs Qdrant API + MCP
- Chroma API + MCP vs Typesense API + MCP
- Chroma API + MCP vs Upstash Vector API + MCP
- Chroma API + MCP vs Vespa
- Chroma API + MCP vs Weaviate 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 Typesense API + MCP
- Elasticsearch vs Upstash Vector API + MCP
- Elasticsearch vs Vespa
- Elasticsearch vs Weaviate API + MCP
- Cloudflare AI Search vs Elasticsearch
Machine-readable
- This page as Markdown
/compare/chroma-vs-elasticsearch.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/chroma.json·/api/v1/tools/elasticsearch.json - From a terminal
anchor compare chroma elasticsearch(the CLI) - Over MCP
compare_tools {"a": "chroma", "b": "elasticsearch"}at/mcp, no key