Chroma MCP Server
A Model Context Protocol (MCP) server implementation that provides database capabilities for Chroma
Overview
Chroma MCP Server is an implementation of the Model Context Protocol (MCP) that provides database capabilities for Chroma, enabling seamless integration between LLM applications and external data sources.
To use Chroma MCP Server, configure your client type in the claude_desktop_config.json file or set environment variables to connect to Chroma Cloud or a self-hosted instance.
- Flexible client types: ephemeral, persistent, HTTP, and cloud clients. - Collection management: create, modify, delete, and list collections with pagination. - Document operations: add documents, query using semantic search, and perform full text searches.
- Building LLM applications with memory capabilities.
- Managing and retrieving large datasets efficiently.
- Integrating AI models with external data sources for enhanced context.
Add to your AI client
Use these steps to connect Chroma MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"chroma-mcp-chroma-core": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-chroma-mcp-chroma-core"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"chroma-mcp-chroma-core": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-chroma-mcp-chroma-core"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"chroma-mcp-chroma-core": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-chroma-mcp-chroma-core"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"chroma-mcp-chroma-core": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-chroma-mcp-chroma-core"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"chroma-mcp-chroma-core": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-chroma-mcp-chroma-core"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"chroma-mcp-chroma-core": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-chroma-mcp-chroma-core"
]
}
}
}