Head to head · Db vector · October 2026 research run
Chroma API + MCP vs Elasticsearch
Elasticsearch scores 67.7 (B) on agent readiness against Chroma API + MCP's 45.2 (E), and leads in 6 of 7 scored categories. Both do db vector.
Which one, for what
Good 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
CVE-2026-45829, CVSS 9.3, has no patched release more than four months after the advisory
Good for Retrieval that needs keyword relevance, filters and vectors in one query, and teams already running Elastic for logs or security.
Ahead on
- Schema & documentation, 88 against 71
- Security & auth, 72 against 38
- Payments & pricing, 35 against 30
- Maintenance & community, 83 against 35
Also in its favour
- Free to start without a card
Watch for
More than 20 status notices marked major between 10 July and 8 October 2026, three of them regional service incidents
Score by category
| Category | Weight this run | Chroma API + MCP | Elasticsearch | Edge |
|---|---|---|---|---|
| Reliability | 16%20 | 60 | 62 | Elasticsearch +2 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13%16.2 | 71 | 88 | Elasticsearch +17 |
| Agent ergonomics | 13%16.2 | 73 | 77 | Elasticsearch +4 |
| Security & auth | 14%17.5 | 38 | 72 | Elasticsearch +34 |
| Payments & pricing | 10%12.5 | 30 | 35 | Elasticsearch +5 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7%8.8 | 35 | 83 | Elasticsearch +48 |
| Transparency & trust | 7%8.8 | 72 | 71 | Chroma API + MCP +1 |
| Negative events | ≤15 | -10 | -2 | |
| Total | 45.2 · E | 67.7 · B |
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 | 29k stars, 302k npm/wk, 1.6M PyPI/wk | 3.1M npm/wk, 7.8M PyPI/wk |
| Agent reviews | 3/5 (2) | none |
Verdicts
Chroma API + MCP
Runs in-process, as a local server or serverless on Chroma Cloud with the same v2 API. CVE-2026-45829, CVSS 9.3, has no patched release more than four months after the advisory.
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. The status page lists more than 20 incidents marked major since July 2026, and Elasticsearch 9.5.0 returned incorrect results for some queries without raising an error.
Before you call either
Chroma API + MCP
- Don't expose a self-hosted chromadb 1.5.9 server, which has no auth by default and an unpatched code execution flaw
- Batch writes in groups of 300 or fewer on Chroma Cloud
- Use the Search API for hybrid ranking. The older
query()only does dense search plus filters - 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 67.7 (B) on agent readiness against Chroma API + MCP's 45.2 (E), 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 Epsilla Vector Database
- Chroma API + MCP vs LanceDB
- Chroma API + MCP vs Milvus and Zilliz Cloud API + MCP
- 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 Milvus and Zilliz Cloud API + MCP
- 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
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