Chroma MCP Server
MCP Server for ChromaDB integration into Cursor with MCP compatible AI models
djm81
README
Chroma MCP Server
A Model Context Protocol (MCP) server integration for Chroma, the open-source embedding database.
Motivation: AI Development Working Memory
In AI-assisted development workflows, particularly when using tools like Cursor or GitHub Copilot over multiple sessions, maintaining context from previous interactions is crucial but often manual. Developers frequently resort to creating temporary markdown files or other artifacts simply to capture and reload context into a new chat session.
The Chroma MCP Server aims to streamline this process by providing a persistent, searchable "working memory":
- Automated Context Recall: Instead of manual context loading, AI assistants (guided by specific rules or instructions) can query this MCP server to retrieve relevant information from past sessions based on the current development task.
- Developer-Managed Persistence: Developers can actively summarize key decisions, code snippets, or insights from the current session and store them in ChromaDB via the MCP interface. This allows building a rich, task-relevant knowledge base over time.
- Separation of Concerns: This "working memory" is distinct from final user-facing documentation or committed code artifacts, focusing specifically on capturing the transient but valuable context of the development process itself.
By integrating ChromaDB through MCP, this server facilitates more seamless and context-aware AI-assisted development, reducing manual overhead and improving the continuity of complex tasks across multiple sessions.
Overview
The Chroma MCP Server allows you to connect AI applications with Chroma through the Model Context Protocol. This enables AI models to:
- Store and retrieve embeddings
- Perform semantic search on vector data
- Manage collections of embeddings
- Support RAG (Retrieval Augmented Generation) workflows
See the API Reference for a detailed list of available tools and their parameters.
Installation
Choose your preferred installation method:
Standard Installation
# Using pip
pip install chroma-mcp-server
# Using UVX (recommended for Cursor)
uv pip install chroma-mcp-server
Full Installation (with embedding models)
# Using pip
pip install chroma-mcp-server[full]
# Using UVX
uv pip install "chroma-mcp-server[full]"
Usage
Starting the server
# Using the command-line executable
chroma-mcp-server
# Or using the Python module
python -m chroma_mcp.server
Checking the Version
chroma-mcp-server --version
Configuration
The server can be configured with command-line options or environment variables:
Command-line Options
chroma-mcp-server --client-type persistent --data-dir ./my_data --log-dir ./logs
Environment Variables
export CHROMA_CLIENT_TYPE=persistent
export CHROMA_DATA_DIR=./my_data
export CHROMA_LOG_DIR=./logs
chroma-mcp-server
Available Configuration Options
--client-type
: Type of Chroma client (ephemeral
,persistent
,http
,cloud
)--data-dir
: Path to data directory for persistent client--log-dir
: Path to log directory--host
: Host address for HTTP client--port
: Port for HTTP client--ssl
: Whether to use SSL for HTTP client--tenant
: Tenant ID for Cloud client--database
: Database name for Cloud client--api-key
: API key for Cloud client--cpu-execution-provider
: Force CPU execution provider for embedding functions (auto
,true
,false
)
See Getting Started for more setup details.
Cursor Integration
To use with Cursor, add the following to your .cursor/mcp.json
:
{
"mcpServers": {
"chroma": {
"command": "uvx",
"args": [
"chroma-mcp-server"
],
"env": {
"CHROMA_CLIENT_TYPE": "persistent",
"CHROMA_DATA_DIR": "/path/to/data/dir",
"CHROMA_LOG_DIR": "/path/to/logs/dir",
"LOG_LEVEL": "INFO",
"MCP_LOG_LEVEL": "INFO"
}
}
}
}
See Cursor Integration for more details.
Development
For instructions on how to set up the development environment, run tests, build the package, and contribute, please see the Developer Guide.
Testing the Tools
A simulated workflow using the MCP tools is available in the MCP Test Flow document.
License
MIT License (see LICENSE)
Recommended Servers
Crypto Price & Market Analysis MCP Server
A Model Context Protocol (MCP) server that provides comprehensive cryptocurrency analysis using the CoinCap API. This server offers real-time price data, market analysis, and historical trends through an easy-to-use interface.
MCP PubMed Search
Server to search PubMed (PubMed is a free, online database that allows users to search for biomedical and life sciences literature). I have created on a day MCP came out but was on vacation, I saw someone post similar server in your DB, but figured to post mine.
dbt Semantic Layer MCP Server
A server that enables querying the dbt Semantic Layer through natural language conversations with Claude Desktop and other AI assistants, allowing users to discover metrics, create queries, analyze data, and visualize results.
mixpanel
Connect to your Mixpanel data. Query events, retention, and funnel data from Mixpanel analytics.

Sequential Thinking MCP Server
This server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.

Nefino MCP Server
Provides large language models with access to news and information about renewable energy projects in Germany, allowing filtering by location, topic (solar, wind, hydrogen), and date range.
Vectorize
Vectorize MCP server for advanced retrieval, Private Deep Research, Anything-to-Markdown file extraction and text chunking.
Mathematica Documentation MCP server
A server that provides access to Mathematica documentation through FastMCP, enabling users to retrieve function documentation and list package symbols from Wolfram Mathematica.
kb-mcp-server
An MCP server aimed to be portable, local, easy and convenient to support semantic/graph based retrieval of txtai "all in one" embeddings database. Any txtai embeddings db in tar.gz form can be loaded
Research MCP Server
The server functions as an MCP server to interact with Notion for retrieving and creating survey data, integrating with the Claude Desktop Client for conducting and reviewing surveys.