chroma-mcp  by chroma-core

Model Context Protocol server for vector databases

Created 7 months ago
356 stars

Top 78.3% on SourcePulse

GitHubView on GitHub
Project Summary

This project implements the Model Context Protocol (MCP) server, providing database capabilities for Chroma, an open-source embedding database. It enables LLM applications to seamlessly integrate with external data sources and tools, offering LLMs the context they need through vector search, full-text search, and metadata filtering. The target audience includes Python and JavaScript developers building LLM applications requiring persistent or ephemeral data storage and retrieval.

How It Works

The server acts as a bridge, translating LLM requests into Chroma database operations. It supports various client types (ephemeral, persistent, HTTP, cloud) and manages collections, documents, and embedding functions. This approach standardizes context provision, allowing LLMs to efficiently access and utilize external data via vector search and metadata filtering, with embedding function persistence simplifying retrieval.

Quick Start & Requirements

  • Install: uvx chroma-mcp
  • Prerequisites: Environment variables for API keys (e.g., CHROMA_COHERE_API_KEY) are required for specific embedding functions.
  • Configuration: Can be configured via command-line arguments or environment variables (.env file support).
  • Docs: Chroma MCP Docs

Highlighted Details

  • Supports multiple embedding functions (Cohere, OpenAI, Jina, VoyageAI, Roboflow) with persistence.
  • Offers flexible client types: ephemeral, persistent file-based, HTTP self-hosted, and Chroma Cloud.
  • Provides comprehensive document and collection management operations.
  • Integrates with tools like Claude Desktop for context provision.

Maintenance & Community

The project is part of the broader Chroma ecosystem. Further community and roadmap details can be found on the main Chroma project pages.

Licensing & Compatibility

The README does not explicitly state the license for chroma-mcp. The main Chroma project is typically Apache 2.0 licensed, but this specific component's license requires verification.

Limitations & Caveats

Embedding function persistence requires Chroma version 1.0.0 or later; collections created with older versions will not support this feature. API keys for external embedding functions should be managed securely, preferably via environment variables or a .env file.

Health Check
Last Commit

1 day ago

Responsiveness

1 day

Pull Requests (30d)
2
Issues (30d)
2
Star History
59 stars in the last 30 days

Explore Similar Projects

Starred by Eric Zhu Eric Zhu(Coauthor of AutoGen; Research Scientist at Microsoft Research) and Andre Zayarni Andre Zayarni(Cofounder of Qdrant).

kernel-memory by microsoft

0.2%
2k
RAG architecture for indexing and querying data using LLMs
Created 2 years ago
Updated 1 day ago
Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Jeff Hammerbacher Jeff Hammerbacher(Cofounder of Cloudera), and
10 more.

GPTCache by zilliztech

0.2%
8k
Semantic cache for LLM queries, integrated with LangChain and LlamaIndex
Created 2 years ago
Updated 2 months ago
Feedback? Help us improve.