Chroma client
Reasonable, with limits. 7th of 9 vector databases and clients.
chromadb is the TypeScript client for the open-source Chroma vector database and for Chroma Cloud. It is a simple, well-typed way to prototype retrieval and AI memory. For production, Qdrant, pgvector or LanceDB are usually the stronger picks. Chroma's slow handling of a critical server security flaw in 2026 is a further reason for care.
Best for: Teams that want the simplest API for prototypes or small apps with retrieval (RAG), on a Chroma server or Chroma Cloud.
Scores
Overall6.0
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
Chroma is a reasonable, easy choice for prototypes and small RAG apps, and its v3 client is clean and typed. For most new production work in JavaScript, Qdrant, pgvector or LanceDB do the job better or are growing faster. The server security incident and the five-month gap without an npm release also count against it. The range stays wide because Chroma Cloud may change how well it fits larger projects.
- peers downloadsSame4WeeksYearAgo: pgvector-node and LanceDB grew 8 to 10 times in a year, while Chroma grew about 4 times.
- modern-datatools.com/compare/chromadb-vs-qdrant: Calls Chroma simpler, but says Qdrant is stronger for filtering-heavy production.
- hadrian.io/blog/cve-2026-45829----chromadb-python-server-hands-you-rce-before-it-asks-who-you-are: Found the vulnerable code unchanged in 1.5.9.
- trychroma.com/changelog/js-client-v3: The v3 rewrite improved the client's developer experience.
GPT-6.2 Sol: 6.0, likely 4.8 to 7.1
The typed client is a reasonable new choice for straightforward dense retrieval on a self-hosted Chroma server. Qdrant is a stronger general-purpose pick for teams that need native hybrid search on a single node. The Cloud shutdown, slower stable releases, and uncertainty about the open-source release cadence make Chroma harder to recommend as a default.
- docs.trychroma.com/docs/querying-collections/query-and-get: The stable collection query API covers dense retrieval and filtering.
- qdrant.tech/documentation/search/hybrid-queries: Qdrant provides native dense, sparse, and BM25 query fusion.
- trychroma.com/cloud-wind-down: Chroma Cloud stops writes December 7 and reads December 22.
- npm latestPublishedAt and github latestRelease: The latest stable JavaScript client shipped in June and the latest stable database release in May.
Needed by many4.4
How many developers need a tool for this job?
Claude Opus 5.5: 5.0, likely 4.0 to 6.0
Storing embeddings and searching by similarity is a common need in AI apps, but many JavaScript projects never need it. This package is a client for one database, so it only serves teams that run Chroma or use Chroma Cloud.
- category.job: Vector search for search and AI memory, which is a growing but not universal need.
- trychroma.com/changelog/js-client-v3: The client connects to a Chroma server or to Chroma Cloud.
GPT-6.2 Sol: 3.8, likely 2.8 to 5.1
Semantic search and agent memory are established uses, but a dedicated vector database is still a niche need across JavaScript and TypeScript projects. The client works without an application framework and requires a Chroma server. Stack Overflow’s agent-focused survey shows demand in that group, while the share of all JavaScript and TypeScript projects that need the tool remains uncertain.
- stackoverflow.blog/2026/05/27/agents-on-a-leash-agentic-ai-remains-mostly-monitored-at-work: In the AI-agent survey, 18% reported using Chroma for work and 21% wanted to use it.
- docs.trychroma.com/docs/run-chroma/client-server: The TypeScript client connects to a separate Chroma process over HTTP.
Helps a lot6.4
How well does it do the job for those who need it?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
Since v3 the client is small and typed, and its API is simpler than most peers'. AI agents write correct code for it easily. Its limits come from the database behind it: it needs a server, its metadata filtering is weaker than Qdrant's, and independent authors advise it for prototypes rather than for scale.
- trychroma.com/changelog/js-client-v3: The v3 rewrite brought a smaller bundle, typed metadata, CloudClient and separate embedding packages.
- dev.to/jangwook_kim_e31e7291ad98/vector-db-comparison-2026-qdrant-vs-chromadb-vs-pgvector-what-the-benchmarks-actually-show-2m1f: A small benchmark found Chroma fast, but the author recommends it for prototypes and Qdrant for production.
- modern-datatools.com/compare/chromadb-vs-qdrant: Calls Chroma's API simpler, but says Qdrant does better when filtering is central.
- npm hasTypes: The package ships its own TypeScript types.
GPT-6.2 Sol: 6.8, likely 5.7 to 7.8
Stable client 3.5.0 gives teams a straightforward typed API for dense retrieval with metadata and document filters. The stable single-node server lacks native hybrid ranking, and an independent mixed read/write test found lower throughput than Qdrant and pgvector. Users report noisy warnings when supplying their own embeddings. Current examples help coding agents, but performance evidence is mostly about the server and direct evidence on generated code is thin.
- npm latestVersion and hasTypes: Version 3.5.0 is stable and includes TypeScript declarations.
- trychroma.com/changelog/js-client-v3: Version 3 added typed metadata and row-oriented results.
- docs.trychroma.com/docs/querying-collections/query-and-get: The query API supports dense search with metadata and document filters.
- mastra.ai/integrations/vectors/chroma: The hybrid Search API requires distributed Chroma or Chroma Cloud.
- aimultiple.com/open-source-vector-databases: Single-node Chroma 1.5.0 trailed several peers on mixed-load throughput in this test.
- github.com/chroma-core/chroma/issues/5400: Users report recurring warnings when they supply their own embeddings.
Holds up over time5.6
Will it still be a good choice in two years?
Claude Opus 5.5: 6.0, likely 5.0 to 7.5
The repository is very active and a venture-backed company runs it. There were 22 releases and about 1,000 commits in the last year. Against that, the last npm release was in June 2026, the v3 upgrade broke how clients are set up, and the company did not answer security reports for months. That last point raises doubt about how well the project is run.
- github commitsLastYear: 1,001 commits and 197 contributors.
- npm latestPublishedAt: The last npm release was 3.5.0 on 2026-06-30, about five months before this review.
- github.com/chroma-core/chroma/releases: Releases were frequent through May 2026, and an attempt to merge the JS packages into one was merged and then reverted.
- securityweek.com/unpatched-chromadb-vulnerability-can-lead-to-server-takeover: The company did not answer reports sent through several channels.
GPT-6.2 Sol: 5.2, likely 3.6 to 6.8
The database repository remains active, and Replit plans to keep contributing after Chroma joins it. The npm client last shipped in June and the latest stable database release listed on GitHub is from May, while several peer clients shipped in October or November. The Cloud shutdown and version 3 migration add costs for existing users. The two-year outlook depends on how regularly Replit ships and supports the open-source client and server.
- github commitsLastYear, openPullRequests, and latestRelease: The shared repository has 1,001 commits in a year, 604 open pull requests, and a May stable database release.
- npm versionsLastYear and latestPublishedAt: Fifteen versions in a year, with the latest on June 30.
- peers latestPublishedAt: Qdrant, Weaviate, Pinecone, and Milvus clients shipped more recently.
- trychroma.com/blog/chroma-joins-replit: Chroma announced its agreement to join Replit and a commitment to continue open-source contributions.
- trychroma.com/cloud-wind-down: The existing hosted service winds down in December.
- trychroma.com/changelog/js-client-v3: The client rewrite changed initialization and embedding setup.
Used widely5.2
How many use it, and is that growing?
Claude Opus 5.5: 5.5, likely 4.5 to 6.5
The package has about 1.17M downloads per 4 weeks, up 4.2 times from a year ago, which is just above the 4.1 median. pgvector-node and LanceDB grew much faster, and Pinecone and Qdrant have three to four times the downloads. Its 294 dependent repositories put it in the middle of the peers. The 29.7k stars count the whole database, not the JavaScript client.
- npm downloadsLast4Weeks: 1,171,366 now against 276,185 a year ago, a ratio of about 4.2.
- medianDownloadsRatio: The median ratio is 4.1, so Chroma is only holding its ground.
- peers downloadsLast4Weeks: Pinecone has 4.4M, pgvector-node 4.2M, Qdrant 3.8M and LanceDB 2.2M.
- dependents.repos: 294 repositories, against Pinecone's 1,487 and Milvus's 348.
GPT-6.2 Sol: 4.8, likely 3.6 to 6.0
Four-week installs rose 4.24× to 1.17 million, a small gain relative to the catalog median of 4.1×. LanceDB and pgvector-node grew considerably faster, and the 294 indexed dependent repositories put Chroma ahead of Qdrant and behind Pinecone and Milvus. Automated installs and framework integrations blur direct adoption, while stars and most social attention belong to the whole Chroma project. The download window also says little about adoption after the Cloud shutdown.
- npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, and medianDownloadsRatio: 1,171,366 versus 276,185 installs, or 4.24× against a 4.1× median.
- dependents and peers: 294 indexed repositories and 43 packages, versus 97 repositories for Qdrant and 1,487 for Pinecone.
- project.note, github stars, and bluesky posts: 29,721 stars and 31 Bluesky posts cover the shared project. Several top posts are trending-repository listings.
- news.ycombinator.com/item?id=46624731: The Explorer discussion shows interest in Chroma tooling across languages.
- trychroma.com/cloud-wind-down: The hosted service still served traffic during the measurement window.
Vouched for5.6
Who stands behind it being good?
Claude Opus 5.5: 5.0, likely 4.0 to 6.5
Chroma is a standard choice in LangChain and LlamaIndex tutorials and in many RAG write-ups, and Hacker News users have built tools on it. Independent comparisons, however, mostly endorse it for prototypes and point to Qdrant or pgvector for production. Current evidence of large production users of the JavaScript client is thin.
- dev.to/jangwook_kim_e31e7291ad98/vector-db-comparison-2026-qdrant-vs-chromadb-vs-pgvector-what-the-benchmarks-actually-show-2m1f: Recommends Chroma for prototypes, not as the production default.
- pkgpulse.com/guides/best-vector-database-clients-javascript-2026: A 2026 guide to JavaScript vector clients covers Pinecone, Qdrant and pgvector, but not Chroma.
- hackerNews.top: Mostly small community tools, plus a story about the security flaw.
- LangChain.js and LlamaIndex.TS integrations: Both frameworks ship Chroma vector store integrations.
GPT-6.2 Sol: 6.2, likely 5.0 to 7.4
Mastra and LangChain.js integrate with Chroma, and AnythingLLM’s Cloud removal proposal retains its self-hosted provider. An independent benchmark found retrieval quality close to peers in one test and weaker throughput under load. Survey responses add evidence of database use, while sustained production use of this exact JavaScript client is harder to verify.
- mastra.ai/integrations/vectors/chroma: Mastra documents its Chroma vector-store integration.
- github.com/langchain-ai/langchainjs/issues/8710: A downstream report and fix show LangChain.js maintaining the Chroma adapter through the v3 transition.
- github.com/Mintplex-Labs/anything-llm/pull/6820: The proposed Cloud removal keeps the self-hosted Chroma provider.
- aimultiple.com/open-source-vector-databases: Chroma achieved similar retrieval quality to peers on MedRAG-50k and lower mixed-load throughput.
- stackoverflow.blog/2026/05/27/agents-on-a-leash-agentic-ai-remains-mostly-monitored-at-work: The survey measures use and interest in Chroma across languages.
Safe6.1
How safe is it to depend on?
Claude Opus 5.5: 6.0, likely 4.5 to 7.0
The npm client has one dependency, no advisories and an Apache-2.0 licence. The OpenSSF Scorecard is only 5.3, with no security policy, no signed releases and no pinned dependencies. The Chroma Python server had a CVSS 10 remote-code-execution flaw that went unanswered for months and whose fix is unconfirmed, so the system around the client carries real risk.
- advisories.total: No advisories are recorded against the npm package.
- npm dependencies: The package has one dependency.
- scorecard.score: The score is 5.3, with 0 for Security-Policy, Signed-Releases, Pinned-Dependencies and Token-Permissions.
- bleepingcomputer.com/news/security/max-severity-flaw-in-chromadb-for-ai-apps-allows-server-hijacking/amp: CVE-2026-45829 allows pre-authentication code execution in the Python FastAPI server.
- labs.cloudsecurityalliance.org/research/csa-research-note-chromadb-rce-ai-infrastructure-security-20: No official patch is confirmed, and the Rust frontend is not affected.
GPT-6.2 Sol: 6.2, likely 4.8 to 7.6
The npm client has one direct dependency, a permissive Apache-2.0 license, and zero advisories in the npm snapshot. The repository scored 5.3 on OpenSSF Scorecard, with zeroes for token permissions, dependency pinning, and signed releases. The public npm workflow uses a publishing token, and public maintainer listings give mixed counts. The critical CVE-2026-45829 applies to the Python server and still has no patched release listed, so deployment choice materially affects risk.
- npm dependencies, npm license, and advisories: One direct dependency, Apache-2.0, and zero collected npm advisories.
- scorecard score and checks: 5.3 overall, with zeroes for token permissions, signed releases, pinned dependencies, and security policy.
- github.com/chroma-core/chroma/blob/main/.github/workflows/release-javascript-client.yml: The public release job uses an npm token and broad workflow permissions.
- intel.aikido.dev/packages/npm/chromadb: Public maintainer snapshots differ, so current publish access is uncertain.
- github.com/advisories/GHSA-f4j7-r4q5-qw2c: The critical advisory covers the Python server through 1.5.9 and lists no patched version.
Good
- The API is small and easy to learn, and tutorials and AI agents cover it widely.
- The v3 rewrite gave the client a small bundle with one dependency, typed metadata generics and Deno and serverless support.
- The same client works with a self-hosted Chroma server and with the managed Chroma Cloud.
- A funded company maintains it, with about 1,000 commits and 197 contributors in the last year.
Bad
- The JavaScript client needs a running Chroma server, so it has no embedded mode like LanceDB or the Python client.
- Independent comparisons put Chroma behind Qdrant and pgvector for large data and heavy metadata filtering.
- A max-severity flaw in the Python server (CVE-2026-45829) was disclosed in May 2026 after reports went unanswered for months, and the fix is unconfirmed.
- There has been no npm release since June 2026, and the v3 upgrade broke how clients are set up and moved embedding functions into separate packages.
The numbers
- npm downloads, 4 weeks
- 1.2M ×4.2 in a year
- GitHub stars
- 30k
- Commits, 12 months
- 1k
- npm version
- 3.5.0 Jun 2026
- Versions, 12 months
- 15
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- 5.3 out of 10, Nov 2026
- Licence
- Apache-2.0
The repository holds the Chroma database. The package is its JavaScript client.
Read on 21 November 2026 from GitHub (chroma-core/chroma), npm (chromadb), OSV and the OpenSSF Scorecard.
Vector databases and clients
- 7.6LanceDB
- 7.5pgvector-node
- 7.4Qdrant client
- 7.1Pinecone client
- 6.9Milvus client
- 6.7Weaviate client
- 6.0Chroma client
- 5.2Vectra
- 4.8hnswlib-node